[arch-commits] Commit in python-setuptools/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Aug 2 16:46:07 UTC 2017
Date: Wednesday, August 2, 2017 @ 16:46:06
Author: felixonmars
Revision: 301538
upgpkg: python-setuptools 1:36.2.7-1
Modified:
python-setuptools/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-02 15:28:56 UTC (rev 301537)
+++ PKGBUILD 2017-08-02 16:46:06 UTC (rev 301538)
@@ -4,7 +4,7 @@
pkgbase=python-setuptools
pkgname=('python-setuptools' 'python2-setuptools')
-pkgver=36.2.4
+pkgver=36.2.7
pkgrel=1
epoch=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
@@ -18,7 +18,7 @@
'python2-pytest-fixture-config' 'python-pytest-virtualenv' 'python2-pytest-virtualenv'
'git')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz")
-sha512sums=('a490fec116debce541e2b5a9449b8a3522638d0c257a462f6e2a8ed48603f274418ed1263eb9eb9ccd6ea2e59f7862e91f92138962a23f222f41517f391d163d')
+sha512sums=('e8f5e1d2421c3a23fdcc98666b40d277b22f95340051847eaaf77af0ce7cfde8f949a2afb54e71b32525244af8d3eeb53c0d6c82de4b9878eb76cf5c34b99ad9')
prepare() {
# Don't download and install deps
@@ -34,10 +34,12 @@
# 'Clean' installation is expected to fail since we removed bundled packages
sed -i '/^def test_clean_env_install/i import pytest\n\n at pytest.mark.xfail' setuptools-$pkgver/setuptools/tests/test_virtualenv.py
- # Test failed. Importing an unbundled new setuptools in a virtualenv does not work, but this won't
+ # Tests failed. Importing an unbundled new setuptools in a virtualenv does not work, but this won't
# affect normal virtualenv usage (which don't have to import the unbundled setuptools in *current*
# dir.
- sed -i '/^def test_pip_upgrade_from_source/i @pytest.mark.xfail' setuptools-$pkgver/setuptools/tests/test_virtualenv.py
+ sed -e '/^def test_pip_upgrade_from_source/i @pytest.mark.xfail' \
+ -e '/^def test_test_command_install_requirements/i @pytest.mark.xfail' \
+ -i setuptools-$pkgver/setuptools/tests/test_virtualenv.py
cp -a setuptools-$pkgver{,-py2}
More information about the arch-commits
mailing list