[arch-commits] Commit in python-setuptools/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jan 24 03:20:33 UTC 2017
Date: Tuesday, January 24, 2017 @ 03:20:32
Author: felixonmars
Revision: 287245
upgpkg: python-setuptools 1:34.0.1-1
Modified:
python-setuptools/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-24 00:19:06 UTC (rev 287244)
+++ PKGBUILD 2017-01-24 03:20:32 UTC (rev 287245)
@@ -4,7 +4,7 @@
pkgbase=python-setuptools
pkgname=('python-setuptools' 'python2-setuptools')
-pkgver=33.1.1
+pkgver=34.0.1
pkgrel=1
epoch=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
@@ -11,16 +11,16 @@
arch=('any')
license=('PSF')
url="http://pypi.python.org/pypi/setuptools"
-makedepends=('python-packaging' 'python2-packaging' 'python-mock' 'python2-mock' 'python-appdirs'
- 'python2-appdirs' 'git')
+makedepends=('python-packaging' 'python2-packaging' 'python-appdirs' 'python2-appdirs' 'python-pip'
+ 'python2-pip' 'git')
checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-flake8'
- 'python2-pytest-flake8' 'python-pip' 'git')
+ 'python2-pytest-flake8' 'python-mock' 'python2-mock' 'git')
source=("git+https://github.com/pypa/setuptools.git#tag=v$pkgver")
sha512sums=('SKIP')
prepare() {
- # Remove vendored packages
- rm -rv setuptools/pkg_resources/_vendor
+ # Don't download and install deps
+ sed -i '/pip.main(args)/d' setuptools/bootstrap.py
# Remove post-release tag since we are using stable tags
sed -e '/tag_build = .post/d' \
@@ -34,10 +34,11 @@
cd "$srcdir"/setuptools-py2
sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python2|" setuptools/command/easy_install.py
+ sed -i -e "s|'pip'|'pip2'|" setuptools/tests/{test_develop.py,test_namespaces.py}
export SETUPTOOLS_INSTALL_WINDOWS_SPECIFIC_FILES=0
}
-
+
build() {
cd "$srcdir"/setuptools
python bootstrap.py
More information about the arch-commits
mailing list