[arch-commits] Commit in python-setuptools/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Feb 10 12:30:52 UTC 2020
Date: Monday, February 10, 2020 @ 12:30:51
Author: felixonmars
Revision: 375245
upgpkg: python-setuptools 1:45.2.0-1
Modified:
python-setuptools/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-10 07:52:31 UTC (rev 375244)
+++ PKGBUILD 2020-02-10 12:30:51 UTC (rev 375245)
@@ -3,7 +3,7 @@
# Contributor: Eli Schwartz <eschwartz at archlinux.org>
pkgname=python-setuptools
-pkgver=45.1.0
+pkgver=45.2.0
pkgrel=1
epoch=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
@@ -17,7 +17,7 @@
provides=('python-distribute')
replaces=('python-distribute')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pypa/setuptools/archive/v$pkgver.tar.gz")
-sha512sums=('231c142aaa59ef0a63b9f3a42d4f8343d1aae07b4b9e8f0e48df7e6b2be3708a2d2205fff47d4f32bd36de80243fac9781d09db18f85dc0270afa9621735ed6e')
+sha512sums=('68a2b600e67dfd1ba25efadd852ed99fff3073ee73959b183ffd8b5c44935628a9eff2f56ac921f4d8d903a389f167ddc2295f031b9b0f7fa9f91970516e4658')
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
@@ -39,6 +39,9 @@
{} +
done
+ # Fix for flake8
+ sed -i 's/import six, ordered_set/import six\nimport ordered_set/' setuptools-$pkgver/setuptools/command/sdist.py
+
# Remove post-release tag since we are using stable tags
sed -e '/tag_build = .post/d' \
-e '/tag_date = 1/d' \
@@ -45,7 +48,7 @@
-i setuptools-$pkgver/setup.cfg
# '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
+ sed -i '/^def test_clean_env_install/i @pytest.mark.xfail' setuptools-$pkgver/setuptools/tests/test_virtualenv.py
# 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*
More information about the arch-commits
mailing list