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

Jelle van der Waa jelle at archlinux.org
Tue Jul 14 12:35:07 UTC 2020


    Date: Tuesday, July 14, 2020 @ 12:35:07
  Author: jelle
Revision: 663741

Make httpie reproducible by not generating bytecode for tests

As tests are not run when reproducing no pyc files are generated.

Modified:
  httpie/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-14 12:33:06 UTC (rev 663740)
+++ PKGBUILD	2020-07-14 12:35:07 UTC (rev 663741)
@@ -4,7 +4,7 @@
 
 pkgname=httpie
 pkgver=2.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="cURL for humans"
 url="https://github.com/jakubroztocil/httpie"
 depends=('python-requests' 'python-pygments' 'python-setuptools')
@@ -34,5 +34,5 @@
 
 check() {
   cd $pkgname-$pkgver
-  python3 setup.py test
+  PYTHONDONTWRITEBYTECODE=1 python3 setup.py test
 }


More information about the arch-commits mailing list