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

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 00:27:17 UTC 2021


    Date: Friday, December 3, 2021 @ 00:27:16
  Author: felixonmars
Revision: 1063768

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

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

Copied: python-pandas-datareader/repos/community-staging-any/PKGBUILD (from rev 1063764, python-pandas-datareader/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:27:16 UTC (rev 1063768)
@@ -0,0 +1,27 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+# TODO: move optional python-requests-cache
+
+pkgname=python-pandas-datareader
+pkgver=0.10.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=('73385b23d42599c6f6f34966f0f22287acd8b775917d5694ae6df4adaf0d0add')
+
+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