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

Daniel Bermond dbermond at archlinux.org
Thu Dec 24 15:54:01 UTC 2020


    Date: Thursday, December 24, 2020 @ 15:54:01
  Author: dbermond
Revision: 788312

upgpkg: python-lhafile 0.2.2-5: add reproducible bytecode

Modified:
  python-lhafile/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-24 15:53:57 UTC (rev 788311)
+++ PKGBUILD	2020-12-24 15:54:01 UTC (rev 788312)
@@ -3,13 +3,13 @@
 
 pkgname=python-lhafile
 pkgver=0.2.2
-pkgrel=4
+pkgrel=5
 pkgdesc='LHA archive support for Python'
 arch=('x86_64')
 url='https://fengestad.no/python-lhafile/'
 license=('BSD')
 depends=('python')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/FrodeSolheim/${pkgname}/archive/v${pkgver}.tar.gz"
+source=("https://github.com/FrodeSolheim/python-lhafile/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
         '010-python-lhafile-fix-version.patch'::'https://github.com/FrodeSolheim/python-lhafile/commit/f1e8a9dc7b80eaf1e06eff242fb1bbae5d722ad9.patch')
 sha256sums=('18396276b77d8c7e094f169d3b2471e60de3d412a2454a0f73c452a54817ee68'
             '39b63fdbc51b72989175faeeb26a44aaca93612e7847b596bcb4af34d9d348c9')
@@ -20,14 +20,11 @@
 
 build() {
     cd "${pkgname}-${pkgver}"
-    
     python setup.py build
 }
 
 package() {
     cd "${pkgname}-${pkgver}"
-    
-    python setup.py install --root="$pkgdir" --skip-build --optimize='1'
-    
+    PYTHONHASHSEED='0' python setup.py install --root="$pkgdir" --skip-build --optimize='1'
     install -D -m644 COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }



More information about the arch-commits mailing list