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

Jonas Witschel diabonas at gemini.archlinux.org
Mon Feb 28 18:51:52 UTC 2022


    Date: Monday, February 28, 2022 @ 18:51:52
  Author: diabonas
Revision: 438245

upgpkg: archinstall 2.3.2-2: improve reproducibility of Python bytecode

Running Sphinx to generate the documentation appears to regenerate the bytecode
for lib/installer.py in an unreproducible way. Avoid writing any bytecode in
this step at all to fix this.

Modified:
  archinstall/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-28 15:01:08 UTC (rev 438244)
+++ PKGBUILD	2022-02-28 18:51:52 UTC (rev 438245)
@@ -4,7 +4,7 @@
 
 pkgname=archinstall
 pkgver=2.3.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Just another guided/automated Arch Linux installer with a twist"
 arch=('any')
 url="https://github.com/archlinux/archinstall"
@@ -26,7 +26,7 @@
 build() {
   cd "$pkgname-$pkgver"
   python setup.py build
-  make man -C docs
+  PYTHONDONTWRITEBYTECODE=1 make man -C docs
 }
 
 package() {



More information about the arch-commits mailing list