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

Jelle van der Waa jelle at archlinux.org
Sun Dec 13 14:13:34 UTC 2020


    Date: Sunday, December 13, 2020 @ 14:13:34
  Author: jelle
Revision: 774321

Make package reproducible by setting PYTHONHASHSEED

Modified:
  python-pytz/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-13 14:12:26 UTC (rev 774320)
+++ PKGBUILD	2020-12-13 14:13:34 UTC (rev 774321)
@@ -5,7 +5,7 @@
 
 pkgname=('python-pytz' 'python2-pytz')
 pkgver=2020.4
-pkgrel=3
+pkgrel=4
 arch=('any')
 url="https://pypi.python.org/pypi/pytz"
 license=("MIT")
@@ -40,7 +40,7 @@
 
     cd pytz-$pkgver
 
-    python3 setup.py install --root="$pkgdir"/
+    PYTHONHASHSEED=1 python3 setup.py install --root="$pkgdir"/
 
     install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list