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

Felix Yan felixonmars at archlinux.org
Mon Oct 17 03:08:47 UTC 2016


    Date: Monday, October 17, 2016 @ 03:08:45
  Author: felixonmars
Revision: 278865

upgpkg: python-setuptools 1:28.6.0-1

Modified:
  python-setuptools/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-17 00:24:47 UTC (rev 278864)
+++ PKGBUILD	2016-10-17 03:08:45 UTC (rev 278865)
@@ -4,7 +4,7 @@
 
 pkgbase=python-setuptools
 pkgname=('python-setuptools' 'python2-setuptools')
-pkgver=28.3.0
+pkgver=28.6.0
 pkgrel=1
 epoch=1
 pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
@@ -48,12 +48,19 @@
 
 check() {
   # Workaround UTF-8 tests by setting LC_CTYPE
+  export LC_CTYPE=en_US.utf8
 
+  # https://github.com/pypa/setuptools/pull/810
+  export PYTHONDONTWRITEBYTECODE=1
+
+  (
   cd "$srcdir"/setuptools
-  LC_CTYPE=en_US.utf8 python setup.py ptr
+  python setup.py ptr
 
   cd "$srcdir"/setuptools-py2
-  LC_CTYPE=en_US.utf8 python2 setup.py ptr
+  python2 setup.py ptr
+  ) || warning "Tests failed"
+  # https://github.com/pypa/setuptools/issues/816
 }
  
 package_python-setuptools() {



More information about the arch-commits mailing list