Date: Monday, January 2, 2023 @ 14:24:54
  Author: dvzrv
Revision: 1372930

upgpkg: python-unpaddedbase64 2.1.0-4: Rebuild to add tests.

Run tests using unittest.
Rebuild now also properly uses the correct build dependencies..

Modified:
  python-unpaddedbase64/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-02 14:11:42 UTC (rev 1372929)
+++ PKGBUILD    2023-01-02 14:24:54 UTC (rev 1372930)
@@ -3,7 +3,7 @@
 
 pkgname=python-unpaddedbase64
 pkgver=2.1.0
-pkgrel=3
+pkgrel=4
 
 pkgdesc='Unpadded Base64'
 url='https://pypi.python.org/pypi/unpaddedbase64/'
@@ -22,6 +22,10 @@
        python -m build --wheel --no-isolation
 }
 
+check() {
+       cd $pkgname-$pkgver
+       python -m unittest discover -vs tests/
+}
 package() {
        cd python-unpaddedbase64-$pkgver
        python -m installer --destdir="$pkgdir" dist/*.whl

Reply via email to