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

Evangelos Foutras foutrelis at archlinux.org
Sat Oct 26 04:37:05 UTC 2019


    Date: Saturday, October 26, 2019 @ 04:37:04
  Author: foutrelis
Revision: 520060

archrelease: copy trunk to community-staging-any

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

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

Copied: python-numpydoc/repos/community-staging-any/PKGBUILD (from rev 520059, python-numpydoc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 04:37:04 UTC (rev 520060)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-numpydoc
+pkgver=0.9.1
+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-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/numpy/numpydoc/archive/v$pkgver.tar.gz")
+sha512sums=('30be62f1d874553d0f05e1f96cf5f22d1c48ed869945cfeffd4a446072446a52f29a4b510bcc6e64c5d36184f0748a47269f96abc3c561179979199fb4f4e46d')
+
+build() {
+  cd numpydoc-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd numpydoc-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd numpydoc-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list