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

Jonas Witschel diabonas at archlinux.org
Mon Oct 19 10:52:51 UTC 2020


    Date: Monday, October 19, 2020 @ 10:52:50
  Author: diabonas
Revision: 726980

upgpkg: python-logbook 1.5.3-6: avoid including bytecode for tests

This makes the package reproducible when skipping the test suite for
performance reasons, e.g. using "repro -n".

Modified:
  python-logbook/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-19 10:34:00 UTC (rev 726979)
+++ PKGBUILD	2020-10-19 10:52:50 UTC (rev 726980)
@@ -3,7 +3,7 @@
 
 pkgname=python-logbook
 pkgver=1.5.3
-pkgrel=5
+pkgrel=6
 pkgdesc="Logging sytem for Python that replaces the standard library’s logging module"
 arch=('x86_64')
 url="https://logbook.readthedocs.io/en/stable/"
@@ -33,7 +33,7 @@
 
 check() {
   cd "$srcdir"/logbook-$pkgver
-  LC_CTYPE=en_US.UTF-8 pifpaf run redis py.test tests
+  LC_CTYPE=en_US.UTF-8 PYTHONDONTWRITEBYTECODE=1 pifpaf run redis py.test tests
 }
 
 package() {



More information about the arch-commits mailing list