[arch-commits] Commit in python-cherrypy/trunk (PKGBUILD)
Thore Bödecker
foxxx0 at archlinux.org
Thu Apr 8 14:42:48 UTC 2021
Date: Thursday, April 8, 2021 @ 14:42:48
Author: foxxx0
Revision: 914031
upgpkg: python-cherrypy 18.6.0-5
add PYTHONHASHSEED=0 for reproducible builds
Modified:
python-cherrypy/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-08 14:39:03 UTC (rev 914030)
+++ PKGBUILD 2021-04-08 14:42:48 UTC (rev 914031)
@@ -9,7 +9,7 @@
pkgname='python-cherrypy'
_pkgname="${pkgname#python-}"
pkgver=18.6.0
-pkgrel=4
+pkgrel=5
pkgdesc='A pythonic, object-oriented web development framework'
arch=('any')
url='https://cherrypy.org'
@@ -48,6 +48,7 @@
build() {
# setuptools wont find version from git tag
export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
+
cd "${srcdir}/${_pkgname}-${pkgver}"
python ./setup.py build
}
@@ -62,6 +63,9 @@
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
+ # for reproducible builds
+ export PYTHONHASHSEED=0
+
python ./setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE.md \
More information about the arch-commits
mailing list