[arch-commits] Commit in nvchecker/trunk (PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Fri May 22 03:30:29 UTC 2020
Date: Friday, May 22, 2020 @ 03:30:28
Author: yan12125
Revision: 631519
nvchecker: attempt to make *.pyc reproducible
Modified:
nvchecker/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-22 02:51:05 UTC (rev 631518)
+++ PKGBUILD 2020-05-22 03:30:28 UTC (rev 631519)
@@ -5,7 +5,7 @@
pkgver=1.6.post1
# The commit bumps version in setup.py, and it's not tagged
_commit=bc2fcd148d460ec9c0f0c12bc77e0326adad5546
-pkgrel=1
+pkgrel=2
pkgdesc="New version checker for software releases"
arch=('any')
url="https://github.com/lilydjwg/nvchecker"
@@ -34,7 +34,8 @@
package() {
cd nvchecker-$_commit
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ # use PYTHONHASHSEED=0 work around https://bugs.python.org/issue34722
+ PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
}
More information about the arch-commits
mailing list