summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2021-03-06 16:56:55 +0000
committerDaniel Bermond2021-03-06 16:56:55 +0000
commit8df7a31289dcc4e59c6b651b3b29a554dcc50b4e (patch)
treedc8eefe2fe7951d01e246710c44bcd05fcb91145
parent76333ca4f0c4228959e3668d64a28e546c4b4d51 (diff)
downloadaur-8df7a31289dcc4e59c6b651b3b29a554dcc50b4e.tar.gz
Add reproducible bytecode
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c2514873e91a..3a019f4a0384 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-torf
pkgdesc = Python module to create, parse and edit torrent files and magnet links
pkgver = 3.1.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/rndusr/torf/
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index dbc27dd51aab..a90d494bc867 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=python-torf
pkgver=3.1.3
-pkgrel=1
+pkgrel=2
pkgdesc='Python module to create, parse and edit torrent files and magnet links'
arch=('any')
url='https://github.com/rndusr/torf/'
@@ -25,5 +25,5 @@ check() {
package() {
cd "torf-${pkgver}"
- python setup.py install --root="$pkgdir" --skip-build --optimize='1'
+ PYTHONHASHSEED='0' python setup.py install --root="$pkgdir" --skip-build --optimize='1'
}