summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFran├žois Boulogne2015-06-09 21:38:58 -0400
committerFran├žois Boulogne2015-06-09 21:38:58 -0400
commit8a312eb7b02b053dcd9c5a6363fda6024b7b60cc (patch)
treef2a6b3b5815f702f71570b6267800707410ad624 /PKGBUILD
downloadaur-python-pandas-git.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cf70f77d719
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Francois Boulogne <fboulogne@april.org>
+# Contributor: Francois Boulogne <fboulogne@april.org>
+
+pkgname="python-pandas-git"
+pkgver=v0.13.0.r80.gd75c29d
+pkgrel=1
+pkgdesc="R-like data analyis library for Python."
+url="http://pandas.pydata.org"
+depends=('python' 'python-numpy' 'python-dateutil' 'python-pytz')
+makedepends=('git' 'cython')
+optdepends=('python-scipy: miscellaneous statistical functions'
+ 'python-matplotlib-git: for plotting')
+provides=('python-pandas-git')
+conflicts=('python-pandas')
+arch=('any')
+license=('BSD')
+source=("git://github.com/pydata/pandas.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/pandas"
+ git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "$srcdir/pandas"
+ python setup.py install --root=${pkgdir} --optimize=1
+}
+# vim:ts=2:sw=2:et: