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

Chih-Hsuan Yen yan12125 at archlinux.org
Tue Feb 2 12:26:34 UTC 2021


    Date: Tuesday, February 2, 2021 @ 12:26:34
  Author: yan12125
Revision: 841028

upgpkg: python-sshpubkeys 3.3.0-2; make it reproducible again

Modified:
  python-sshpubkeys/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-02 11:04:38 UTC (rev 841027)
+++ PKGBUILD	2021-02-02 12:26:34 UTC (rev 841028)
@@ -4,7 +4,7 @@
 _pkgname=sshpubkeys
 pkgname=python-sshpubkeys
 pkgver=3.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc='OpenSSH public key parser for Python'
 arch=(any)
 url='https://github.com/ojarva/python-sshpubkeys'
@@ -21,7 +21,8 @@
 
 check() {
     cd $_pkgname-$pkgver
-    python -m unittest tests
+    # Upstream MANIFEST.in uses `graft tests`, so pyc files in tests will be listed in SOURCES.txt
+    PYTHONDONTWRITEBYTECODE=1 python -m unittest tests
 }
 
 package() {



More information about the arch-commits mailing list