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

Jonas Witschel diabonas at archlinux.org
Wed Jul 22 13:06:14 UTC 2020


    Date: Wednesday, July 22, 2020 @ 13:06:13
  Author: diabonas
Revision: 664834

upgpkg: python-yaml 5.3.1-2: improve reproducibility by not writing bytecode in check()

Tests recompile the bytecode generated in build() and embed a different build
path. Avoid writing any bytecode in check() at all so that it doesn't matter
whether the test suite is run or not.

Modified:
  python-yaml/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-22 12:34:05 UTC (rev 664833)
+++ PKGBUILD	2020-07-22 13:06:13 UTC (rev 664834)
@@ -5,7 +5,7 @@
 pkgbase=python-yaml
 pkgname=(python-yaml python2-yaml)
 pkgver=5.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Python bindings for YAML, using fast libYAML library'
 url='https://pyyaml.org/wiki/PyYAML'
 arch=('x86_64')
@@ -35,11 +35,11 @@
 check() {
   (
     cd PyYAML-$pkgver
-    python setup.py test
+    python -B setup.py test
   )
   (
     cd PyYAML-$pkgver-py2
-    python2 setup.py test
+    python2 -B setup.py test
   )
 }
 



More information about the arch-commits mailing list