[arch-commits] Commit in python-pandas-datareader/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 09:54:41 UTC 2019


    Date: Monday, November 4, 2019 @ 09:54:41
  Author: felixonmars
Revision: 523981

archrelease: copy trunk to community-staging-any

Added:
  python-pandas-datareader/repos/community-staging-any/
  python-pandas-datareader/repos/community-staging-any/PKGBUILD
    (from rev 523980, python-pandas-datareader/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-pandas-datareader/repos/community-staging-any/PKGBUILD (from rev 523980, python-pandas-datareader/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 09:54:41 UTC (rev 523981)
@@ -0,0 +1,28 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+# TODO: move optional python-requests-cache
+
+pkgname='python-pandas-datareader'
+pkgver=0.8.1
+pkgrel=2
+pkgdesc="Data readers extracted from the pandas codebase"
+arch=('any')
+url="https://github.com/pydata/pandas-datareader"
+license=('BSD')
+depends=('python-pandas' 'python-lxml' 'python-requests' 'python-wrapt')
+makedepends=('python-setuptools')
+source=("https://github.com/pydata/pandas-datareader/archive/v${pkgver}.tar.gz")
+sha256sums=('a7d8343c69d1fb76f80e3bc6d1280cb0525ead41f54da53746ad0205bfd6bd31')
+
+build() {
+  cd "$srcdir"/pandas-datareader-${pkgver}
+  python setup.py build_ext --inplace
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/pandas-datareader-${pkgver}
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list