Date: Wednesday, July 22, 2020 @ 14:10:35
  Author: diabonas
Revision: 664838

upgpkg: python-webcolors 1.11.1-2: improve reproducibility by not writing 
bytecode in check()

Running the test suite adds pyc files to the package that would otherwise not
be there. Avoid creating these so that it doesn't matter whether the test suite
is run or not.

Modified:
  python-webcolors/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-07-22 13:56:11 UTC (rev 664837)
+++ PKGBUILD    2020-07-22 14:10:35 UTC (rev 664838)
@@ -2,7 +2,7 @@
 
 pkgname=python-webcolors
 pkgver=1.11.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A library for working with color names and color value formats 
defined by the HTML and CSS specifications for use in documents on the Web"
 url="https://github.com/ubernostrum/webcolors";
 license=('BSD')
@@ -20,7 +20,7 @@
 
 check() {
   cd webcolors-$pkgver
-  python setup.py pytest
+  python -B setup.py pytest
 }
 
 package() {

Reply via email to