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

Caleb Maclennan alerque at gemini.archlinux.org
Wed Aug 18 12:58:02 UTC 2021


    Date: Wednesday, August 18, 2021 @ 12:58:02
  Author: alerque
Revision: 1003632

Move Python reproducilibity fix to minimum viable location

Modified:
  python-fonttools/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-18 12:49:25 UTC (rev 1003631)
+++ PKGBUILD	2021-08-18 12:58:02 UTC (rev 1003632)
@@ -5,7 +5,7 @@
 
 pkgname=python-fonttools
 pkgver=4.26.2
-pkgrel=1
+pkgrel=2
 pkgdesc='A library to manipulate font files from Python'
 url='https://github.com/fonttools/fonttools'
 license=('MIT')
@@ -29,7 +29,6 @@
 
 build() {
 	cd "fonttools-$pkgver"
-	export PYTHONHASHSEED=0
 	python setup.py build_ext --inplace
 	python setup.py build
 }
@@ -36,6 +35,7 @@
 
 package() {
 	cd "fonttools-$pkgver"
+	local PYTHONHASHSEED=0
 	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 	install -Dm0755 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
 }



More information about the arch-commits mailing list