[arch-commits] Commit in python-bleach/trunk (PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Sat Jan 23 00:32:28 UTC 2021
Date: Saturday, January 23, 2021 @ 00:32:28
Author: demize
Revision: 825469
python-bleach: Make reproducible
Modified:
python-bleach/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-23 00:32:23 UTC (rev 825468)
+++ PKGBUILD 2021-01-23 00:32:28 UTC (rev 825469)
@@ -2,7 +2,7 @@
pkgname=python-bleach
pkgver=3.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="An easy whitelist-based HTML-sanitizing tool"
url="https://pypi.org/project/bleach/"
@@ -40,5 +40,6 @@
package() {
cd "$srcdir"/bleach-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
+ export PYTHONHASHSEED=0
+ python setup.py install --skip-build --optimize=1 --root="$pkgdir"
}
More information about the arch-commits
mailing list