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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 18:56:54 UTC 2020


    Date: Thursday, November 12, 2020 @ 18:56:54
  Author: felixonmars
Revision: 753276

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 753274, python-pandas-datareader/trunk/PKGBUILD)

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

Copied: python-pandas-datareader/repos/community-staging-any/PKGBUILD (from rev 753274, python-pandas-datareader/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 18:56:54 UTC (rev 753276)
@@ -0,0 +1,27 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+# TODO: move optional python-requests-cache
+
+pkgname=python-pandas-datareader
+pkgver=0.9.0
+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')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pydata/pandas-datareader/archive/v${pkgver}.tar.gz")
+sha256sums=('f7de31b193fcf16bf4ec794beba28f371b8423a0edeef4433ec8a29c9eb028ca')
+
+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