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

Jonas Witschel diabonas at archlinux.org
Sun Apr 18 11:55:20 UTC 2021


    Date: Sunday, April 18, 2021 @ 11:55:20
  Author: diabonas
Revision: 919907

upgpkg: py3status 3.36-2: improve reproducibility

Make the generated Python bytecode files reproducible by ensuring that the
ordering of elements in sets and dictionaries is deterministic.

Modified:
  py3status/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-18 10:24:54 UTC (rev 919906)
+++ PKGBUILD	2021-04-18 11:55:20 UTC (rev 919907)
@@ -6,7 +6,7 @@
 
 pkgname=py3status
 pkgver=3.36
-pkgrel=1
+pkgrel=2
 pkgdesc="An extensible i3status replacement/wrapper written in python"
 url="https://www.ultrabug.fr/tag/py3status/"
 arch=('any')
@@ -34,7 +34,7 @@
 
 package() {
     cd "$pkgname-$pkgver"
-    python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+    PYTHONHASHSEED=0 python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
     install -d "$pkgdir/usr/share/doc/$pkgname"
     install -m644 doc/* README.rst CHANGELOG "$pkgdir/usr/share/doc/$pkgname"
     install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"



More information about the arch-commits mailing list