diff options
author | Spyros Stathopoulos | 2015-06-13 14:51:13 +0300 |
---|---|---|
committer | Spyros Stathopoulos | 2015-06-13 14:51:13 +0300 |
commit | ef47d59a9de55fb618d4e15315a37401bcb3fea8 (patch) | |
tree | 7621c0ab9a2e521ad7189caa1d4e1fc11f76837f | |
download | aur-python2-pandas-git.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 33 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 48 |
3 files changed, 89 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5bc77ba1bd74 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,33 @@ +pkgbase = python2-pandas-git + pkgdesc = R-like data analysis library for Python. + pkgver = 8848.7e2f7bc + pkgrel = 1 + url = http://pandas.pydata.org + arch = i686 + arch = x86_64 + license = BSD + makedepends = git + makedepends = cython2 + depends = python2 + depends = python2-numpy + depends = python2-dateutil + optdepends = python2-numexpr: for accelerating certain numerical operations (recommended) + optdepends = python2-bottleneck: for accelerating certain types of nan evaluations (recommended) + optdepends = python2-scipy: for miscellaneous statistical functions + optdepends = python2-pytables: for HDF5-based storage + optdepends = python2-matplotlib: for plotting + optdepends = scikits-statsmodels: for parts of pandas.stats + optdepends = python2-openpyxl>=1.6.1: for Excel I/O + optdepends = python2-xlrd: for Excel I/O + optdepends = python2-xlwt: for Excel I/O + optdepends = python2-boto: for Amazon S3 access + optdepends = python2-beautifulsoup4: for read_html function + optdepends = python2-html5lib: for read_html function + optdepends = python2-lxml: for read_html function + provides = python2-pandas + conflicts = python2-pandas + source = pandas::git+git://github.com/pydata/pandas + md5sums = SKIP + +pkgname = python2-pandas-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..aeab517edbfc --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +pandas/* +pkg/* +src/* +*.tar.gz +*.tar.xz +*.tar.bz2 +*.zip +*.swp diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2c012798f6d3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Contributor: Spyros Stathopoulos <foucault.online@gmail.com> +pkgname="python2-pandas-git" +pkgver=11964.e1ee171 +pkgrel=1 +pkgdesc="R-like data analysis library for Python." +url="http://pandas.pydata.org" +depends=('python2' 'python2-numpy' 'python2-dateutil') +optdepends=('python2-numexpr: for accelerating certain numerical operations (recommended)' + 'python2-bottleneck: for accelerating certain types of nan evaluations (recommended)' + 'python2-scipy: for miscellaneous statistical functions' + 'python2-pytables: for HDF5-based storage' + 'python2-matplotlib: for plotting' + 'scikits-statsmodels: for parts of pandas.stats' + 'python2-openpyxl>=1.6.1: for Excel I/O' + 'python2-xlrd: for Excel I/O' + 'python2-xlwt: for Excel I/O' + 'python2-boto: for Amazon S3 access' + 'python2-beautifulsoup4: for read_html function' + 'python2-html5lib: for read_html function' + 'python2-lxml: for read_html function') +makedepends=('git' 'cython2') +provides=('python2-pandas') +conflicts=('python2-pandas') +arch=('i686' 'x86_64') +license=('BSD') +md5sums=('SKIP') + +_gitname="pandas" +source=("${_gitname}::git+git://github.com/pydata/pandas") + +pkgver() { + cd "${srcdir}"/"${_gitname}" + echo $(git rev-list --count master).$(git rev-parse --short master) +} + +build() { + cd "$srcdir/${_gitname}" + + python2 setup.py build_ext --inplace + python2 setup.py build +} + +package() { + cd "${srcdir}/${_gitname}" + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/python2-pandas/LICENSE + python2 setup.py install --root=${pkgdir} --optimize=1 +} + |