python-setuptools: update to 14.0
This commit is contained in:
parent
719b356a8b
commit
59bdde9774
1 changed files with 13 additions and 16 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'python-setuptools'
|
||||
pkgname=python-setuptools
|
||||
version=12.3
|
||||
version=14.0
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="setuptools-${version}"
|
||||
|
@ -15,31 +15,28 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|||
homepage="https://bitbucket.org/pypa/setuptools"
|
||||
license="PSF"
|
||||
distfiles="${PYPI_SITE}/s/setuptools/setuptools-${version}.tar.gz"
|
||||
checksum=acd94720cb66fccc728d61b5db93a04cfc7eb20b5252440cccfc20f71d22162c
|
||||
checksum=5672efb5bf17423531d05035cb0ae38e7fb94720901acffd70bcd200fd7aaf18
|
||||
|
||||
post_extract() {
|
||||
pre_build() {
|
||||
cp -a ${wrksrc} /tmp/setuptools-2.7
|
||||
cp -a ${wrksrc} /tmp/setuptools-3.4
|
||||
mv /tmp/setuptools-{2.7,3.4} ${wrksrc}
|
||||
}
|
||||
pre_build() {
|
||||
cd ${wrksrc}/setuptools-3.4
|
||||
|
||||
cd setuptools-3.4
|
||||
sed -i 's,\(easy_install\) =,\13 =,' setup.py
|
||||
sed -i 's,#!/usr/bin/env python,&3.4,' setuptools/command/easy_install.py
|
||||
}
|
||||
do_build() {
|
||||
cd ${wrksrc}/setuptools-2.7
|
||||
python setup.py build
|
||||
|
||||
cd ${wrksrc}/setuptools-3.4
|
||||
python3.4 setup.py build
|
||||
for pyver in $python_versions; do
|
||||
cd ${wrksrc}/setuptools-${pyver}
|
||||
python${pyver} setup.py build
|
||||
done
|
||||
}
|
||||
do_install() {
|
||||
cd ${wrksrc}/setuptools-2.7
|
||||
python setup.py install --root=${DESTDIR}
|
||||
|
||||
cd ${wrksrc}/setuptools-3.4
|
||||
python3.4 setup.py install --root=${DESTDIR}
|
||||
for pyver in $python_versions; do
|
||||
cd ${wrksrc}/setuptools-${pyver}
|
||||
python${pyver} setup.py install --root=${DESTDIR}
|
||||
done
|
||||
}
|
||||
|
||||
python3.4-setuptools_package() {
|
||||
|
|
Loading…
Reference in a new issue