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

Thore Bödecker foxxx0 at archlinux.org
Thu Apr 8 14:38:25 UTC 2021


    Date: Thursday, April 8, 2021 @ 14:38:25
  Author: foxxx0
Revision: 914027

upgpkg: python-cheroot 8.5.2-2

add PYTHONHASHSEED=0 for reproducible builds

Modified:
  python-cheroot/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-08 14:36:55 UTC (rev 914026)
+++ PKGBUILD	2021-04-08 14:38:25 UTC (rev 914027)
@@ -6,7 +6,7 @@
 pkgname=('python-cheroot' 'python2-cheroot')
 pkgdesc="Highly-optimized, pure-python HTTP server"
 pkgver=8.5.2
-pkgrel=1
+pkgrel=2
 arch=('any')
 url="https://github.com/cherrypy/cheroot"
 license=('MIT')
@@ -61,6 +61,9 @@
 package_python-cheroot() {
   depends=('python-six' 'python-jaraco')
 
+  # for reproducible builds
+  export PYTHONHASHSEED=0
+
   cd "${srcdir}/${_pkgbase}-${pkgver}"
   python setup.py install --root="$pkgdir/" --optimize=1
 
@@ -76,6 +79,9 @@
            'python2-backports.unittest_mock' 'python2-selectors2'
            'python2-jaraco')
 
+  # for reproducible builds
+  export PYTHONHASHSEED=0
+
   cd "${srcdir}/${_pkgbase}-${pkgver}-py2"
   python2 setup.py install --root="$pkgdir/" --optimize=1
 



More information about the arch-commits mailing list