python-setuptools: Update to 12.0.5

This commit is contained in:
Alexpux
2015-02-09 19:49:31 +03:00
parent fc3ddc7e75
commit fa70bdb7ea

View File

@@ -2,7 +2,7 @@
pkgbase=python-setuptools
pkgname=('python3-setuptools' 'python2-setuptools')
pkgver=9.1
pkgver=12.0.5
pkgrel=1
pkgdesc="Easily download, build, install, upgrade, and uninstall Python packages"
arch=('any')
@@ -10,7 +10,7 @@ license=('PSF')
url="http://pypi.python.org/pypi/setuptools"
makedepends=('python' 'python2')
source=("http://pypi.python.org/packages/source/s/setuptools/setuptools-${pkgver}.tar.gz")
md5sums=('0db0d6ab3911594cb83834cc087c0729')
md5sums=('066e16290f8edcbc8b4b67808b2cbdb2')
prepare() {
cd "${srcdir}"
@@ -21,11 +21,11 @@ prepare() {
cp -a setuptools-${pkgver}{,-python2}
cd "${srcdir}"/setuptools-${pkgver}
sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python3|" setuptools/tests/test_resources.py
sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python3|" tests/manual_test.py
sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python3|" setuptools/command/easy_install.py
cd ../setuptools-${pkgver}-python2
sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python2|" setuptools/tests/test_resources.py
sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python2|" tests/manual_test.py
sed -i -e "s|^#\!.*/usr/bin/env python|#!/usr/bin/env python2|" setuptools/command/easy_install.py
}