[arch-commits] Commit in python-pdoc/trunk (PKGBUILD)

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


    Date: Sunday, July 31, 2022 @ 10:13:39
  Author: arojas
Revision: 1259257

upgpkg: python-pdoc 12.0.2-1: Update to 12.0.2

Modified:
  python-pdoc/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-31 09:57:23 UTC (rev 1259256)
+++ PKGBUILD	2022-07-31 10:13:39 UTC (rev 1259257)
@@ -4,16 +4,16 @@
 # Contributor: Thomas S Hatch <thatch45 at gmail.com>
 
 pkgname=python-pdoc
-pkgver=7.4.0
-pkgrel=2
+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')
+checkdepends=('python-pytest' 'python-pytest-timeout' 'python-hypothesis' 'nodejs')
 source=("https://github.com/mitmproxy/pdoc/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('7b102b33dc8d1ba5fe1b2fb05945c4c57aef88600f9992e8d3bc9e25f7683b36440f6c683080f5cc283db9c93ce9b1c9ef21f17c8fb05c631a669baa96a720d8')
+sha512sums=('7fa7628dafd527156d98c772b1b460e663926c85ea2eebde4b2d09f1df7f5344b06ac23a1b994675551e7a686ee5561c19d8a1fcc7a003ce2c8937402118a92b')
 
 build() {
   cd pdoc-$pkgver
@@ -23,6 +23,7 @@
 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]
 }



More information about the arch-commits mailing list