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

David Runge dvzrv at gemini.archlinux.org
Wed Jul 14 07:57:34 UTC 2021


    Date: Wednesday, July 14, 2021 @ 07:57:34
  Author: dvzrv
Revision: 419713

upgpkg: scons 4.1.0-2: Rebuild to make package reproducible.

Fix the reproducibility of the bytecode by exporting PYTHONHASHSEED.

Modified:
  scons/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-14 07:47:33 UTC (rev 419712)
+++ PKGBUILD	2021-07-14 07:57:34 UTC (rev 419713)
@@ -6,7 +6,7 @@
 
 pkgname=scons
 pkgver=4.1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Extensible Python-based build utility"
 arch=('any')
 url="https://scons.org"
@@ -21,7 +21,7 @@
 
 prepare() {
   cd "${pkgname}-${pkgver}"
-  # fixing ancient target in SConstruct
+  # fix wrong build target
   sed -e 's/bdist_wheel/bdist/g' -i SConstruct
 }
 
@@ -37,6 +37,7 @@
 
 package() {
   cd "${pkgname}-${pkgver}"
+  export PYTHONHASHSEED=0
   python setup.py install --prefix=/usr \
                           --skip-build \
                           --optimize=1 \




More information about the arch-commits mailing list