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

Antonio Rojas arojas at gemini.archlinux.org
Sun Jul 31 10:13:48 UTC 2022


    Date: Sunday, July 31, 2022 @ 10:13:48
  Author: arojas
Revision: 1259258

archrelease: copy trunk to community-any

Added:
  python-pdoc/repos/community-any/PKGBUILD
    (from rev 1259257, python-pdoc/trunk/PKGBUILD)
Deleted:
  python-pdoc/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   67 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 34 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-31 10:13:39 UTC (rev 1259257)
+++ PKGBUILD	2022-07-31 10:13:48 UTC (rev 1259258)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-
-pkgname=python-pdoc
-pkgver=7.4.0
-pkgrel=2
-pkgdesc='A simple program and library to auto generate API documentation for Python modules.'
-arch=('any')
-url='https://pdoc.dev/'
-license=('Unlicense')
-depends=('python-jinja' 'python-pygments' 'python-markupsafe')
-checkdepends=('python-pytest' 'python-pytest-timeout' 'python-hypothesis')
-source=("https://github.com/mitmproxy/pdoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('7b102b33dc8d1ba5fe1b2fb05945c4c57aef88600f9992e8d3bc9e25f7683b36440f6c683080f5cc283db9c93ce9b1c9ef21f17c8fb05c631a669baa96a720d8')
-
-build() {
-  cd pdoc-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pdoc-$pkgver
-
-  # test #10 of test_snapshot.py currently fails
-  pytest --deselect test/test_snapshot.py::test_snapshots[html-snapshot10]
-}
-
-package() {
-  cd pdoc-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-pdoc/repos/community-any/PKGBUILD (from rev 1259257, python-pdoc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-31 10:13:48 UTC (rev 1259258)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgname=python-pdoc
+pkgver=12.0.2
+pkgrel=1
+pkgdesc='A simple program and library to auto generate API documentation for Python modules.'
+arch=('any')
+url='https://pdoc.dev/'
+license=('Unlicense')
+depends=('python-jinja' 'python-pygments' 'python-markupsafe')
+checkdepends=('python-pytest' 'python-pytest-timeout' 'python-hypothesis' 'nodejs')
+source=("https://github.com/mitmproxy/pdoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('7fa7628dafd527156d98c772b1b460e663926c85ea2eebde4b2d09f1df7f5344b06ac23a1b994675551e7a686ee5561c19d8a1fcc7a003ce2c8937402118a92b')
+
+build() {
+  cd pdoc-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pdoc-$pkgver
+
+  PYTHONPATH="$PWD" python test/test_snapshot.py
+  # test #10 of test_snapshot.py currently fails
+  pytest --deselect test/test_snapshot.py::test_snapshots[html-snapshot10]
+}
+
+package() {
+  cd pdoc-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list