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

Allan McRae allan at archlinux.org
Sun May 31 11:15:12 UTC 2020


    Date: Sunday, May 31, 2020 @ 11:15:11
  Author: allan
Revision: 387960

upgpkg: python-hyperlink 19.0.0-6: fix reproducibility of .pyc files - attempt #2

Modified:
  python-hyperlink/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-31 09:56:03 UTC (rev 387959)
+++ PKGBUILD	2020-05-31 11:15:11 UTC (rev 387960)
@@ -3,7 +3,7 @@
 pkgbase=python-hyperlink
 pkgname=('python-hyperlink' 'python2-hyperlink')
 pkgver=19.0.0
-pkgrel=5
+pkgrel=6
 pkgdesc='A featureful, correct URL for Python'
 arch=('any')
 license=('BSD')
@@ -29,6 +29,9 @@
   cd "$srcdir"/hyperlink-$pkgver
   python setup.py pytest
 
+  # clean-up non-reproducible files generated during test
+  rm -rf hyperlink/test/__pycache__/
+
   cd "$srcdir"/hyperlink-$pkgver-py2
   python2 setup.py pytest
 }



More information about the arch-commits mailing list