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

David Runge dvzrv at archlinux.org
Wed Jul 15 19:50:23 UTC 2020


    Date: Wednesday, July 15, 2020 @ 19:50:23
  Author: dvzrv
Revision: 663989

upgpkg: nikola 8.1.1-2: Rebuilding for reproducibility.

Exporting PYTHONHASHSEED so .pyc files stay reproducible.

Modified:
  nikola/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-15 19:38:56 UTC (rev 663988)
+++ PKGBUILD	2020-07-15 19:50:23 UTC (rev 663989)
@@ -3,7 +3,7 @@
 _name=Nikola
 pkgname=nikola
 pkgver=8.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A static site and blog generator"
 arch=('any')
 url="https://getnikola.com/"
@@ -69,10 +69,10 @@
 
 package() {
   cd "$pkgname-$pkgver"
+  export PYTHONHASHSEED=0
   python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
+                          --optimize=1 \
+                          --root="${pkgdir}"
   install -vDm 644 LICENSE.txt \
     -t "${pkgdir}/usr/share/licenses/${pkgname}"
   install -vDm 644 {AUTHORS,CHANGES}.txt {CONTRIBUTING,README}.rst \



More information about the arch-commits mailing list