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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 04:06:40 UTC 2020


    Date: Tuesday, November 10, 2020 @ 04:06:39
  Author: foutrelis
Revision: 748489

archrelease: copy trunk to community-staging-any

Added:
  python-numpydoc/repos/community-staging-any/
  python-numpydoc/repos/community-staging-any/PKGBUILD
    (from rev 748488, python-numpydoc/trunk/PKGBUILD)

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

Copied: python-numpydoc/repos/community-staging-any/PKGBUILD (from rev 748488, python-numpydoc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 04:06:39 UTC (rev 748489)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-numpydoc
+pkgver=1.1.0
+pkgrel=2
+pkgdesc="Numpy's Sphinx extensions"
+url="https://github.com/numpy/numpydoc"
+license=('Apache')
+arch=('any')
+depends=('python-sphinx' 'python-jinja')
+makedepends=('python-setuptools')
+checkdepends=('python-matplotlib' 'python-numpy' 'python-pytest-cov')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpydoc/archive/v$pkgver.tar.gz")
+sha512sums=('596757521b627fe415978234d87d4f0b603ff2b488b5ecf590d00a1e1682059f02190a84d188fe122f821f54ea8ab6117bd9410f449e78d52580a0c4ff7b9e54')
+
+build() {
+  cd numpydoc-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd numpydoc-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd numpydoc-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list