[arch-commits] Commit in python-setuptools/trunk (PKGBUILD)
Felix Yan
fyan at nymeria.archlinux.org
Mon Jun 2 03:23:17 UTC 2014
Date: Monday, June 2, 2014 @ 05:23:17
Author: fyan
Revision: 214034
upgpkg: python-setuptools 4.0-1
- upstream new major release
Modified:
python-setuptools/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-06-02 02:32:12 UTC (rev 214033)
+++ PKGBUILD 2014-06-02 03:23:17 UTC (rev 214034)
@@ -4,7 +4,7 @@
pkgbase=python-setuptools
pkgname=('python-setuptools' 'python2-setuptools')
-pkgver=3.6
+pkgver=4.0
pkgrel=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
arch=('any')
@@ -13,19 +13,18 @@
makedepends=('python' 'python2')
checkdepends=('python-pytest' 'python2-pytest')
source=("http://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz")
-sha512sums=('8233a25229ebb97a2cd78b884d6ae41b441022a0ff28495832183b90a86abdc3216c9f7f514639c4a9a77848c8f94cfb072d676c2e382496162a52732e7e3f58')
+sha512sums=('a8236ecaa875d05c5c4b55ac8e39e864d0436f6c186405ab479afb38b4e6cc0b4fb142a8d071f236fdd5d4a363a7bc6bb0d8c9ceae48b8666c0feec5d4f5bf24')
check() {
- # Disabled python 3.x tests for >= 3.4.1:
- # https://bitbucket.org/pypa/setuptools/issue/180/34-release-fails-tests
+ # Workaround UTF-8 tests by setting LC_CTYPE
# Check python3 module
cd "${srcdir}"/setuptools-${pkgver}
- python3 setup.py test || :
+ LC_CTYPE=en_US.utf8 python3 setup.py test
# Check python2 module
cd "${srcdir}"/setuptools-${pkgver}-python2
- python2 setup.py test
+ LC_CTYPE=en_US.utf8 python2 setup.py test
}
prepare() {
More information about the arch-commits
mailing list