[arch-commits] Commit in python-sphinx-autoapi/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Tue Sep 1 20:02:38 UTC 2020


    Date: Tuesday, September 1, 2020 @ 20:02:38
  Author: polyzen
Revision: 695914

archrelease: copy trunk to community-any

Added:
  python-sphinx-autoapi/repos/community-any/PKGBUILD
    (from rev 695913, python-sphinx-autoapi/trunk/PKGBUILD)
Deleted:
  python-sphinx-autoapi/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-01 20:02:17 UTC (rev 695913)
+++ PKGBUILD	2020-09-01 20:02:38 UTC (rev 695914)
@@ -1,45 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=sphinx-autoapi
-pkgname=python-sphinx-autoapi
-pkgver=1.4.0
-pkgrel=1
-pkgdesc=" A new approach to API documentation in Sphinx."
-arch=('any')
-url="https://github.com/readthedocs/sphinx-autoapi"
-license=('MIT')
-depends=('python-astroid' 'python-jinja' 'python-sphinx' 'python-unidecode'
-'python-yaml')
-makedepends=('python-setuptools')
-checkdepends=('python-mock' 'python-pytest')
-# TODO: package python-go and python-dotnet
-# optdepends=('python-go' 'python-dotnet')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('4cd1e6ee56d35d9c954c458c19cff73054de5eee60848329b7bff5b8ba2fc585d0079210bce7727c2c492dc1eef25f5b6d00e10bfb0e7bf01fa56ba935f85591')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  # disable failing test
-  # https://github.com/readthedocs/sphinx-autoapi/issues/215
-  pytest -v -k 'not test_order_members'
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 {CHANGELOG,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-sphinx-autoapi/repos/community-any/PKGBUILD (from rev 695913, python-sphinx-autoapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-01 20:02:38 UTC (rev 695914)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=sphinx-autoapi
+pkgname=python-sphinx-autoapi
+pkgver=1.5.0
+pkgrel=1
+pkgdesc="A new approach to API documentation in Sphinx."
+arch=('any')
+url="https://github.com/readthedocs/sphinx-autoapi"
+license=('MIT')
+depends=('python-astroid' 'python-jinja' 'python-sphinx' 'python-unidecode'
+'python-yaml')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-pytest')
+# TODO: package python-go and python-dotnet
+# optdepends=('python-go' 'python-dotnet')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('95ffb69e7618284d84d4947a1cd386c1829e43e0648e80d6fc669737813609c3')
+b2sums=('cbe6ce277824370f23493cd0948104ff36937943f141ab88937567ce7dac6147ecb23d17d94306cafedbc199df17777384c4a34717ebed6c3d7e765a7e9a5cdf')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 {CHANGELOG,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}


More information about the arch-commits mailing list