python-virtualenv: update to 15.0.0
Upstream removed versioned entry-point.
This commit is contained in:
parent
ae109e972d
commit
551859bb20
1 changed files with 5 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'python-virtualenv'
|
# Template file for 'python-virtualenv'
|
||||||
pkgname=python-virtualenv
|
pkgname=python-virtualenv
|
||||||
version=14.0.6
|
version=15.0.0
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="virtualenv-${version}"
|
wrksrc="virtualenv-${version}"
|
||||||
|
@ -14,15 +14,14 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="https://virtualenv.pypa.io/"
|
homepage="https://virtualenv.pypa.io/"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="${PYPI_SITE}/v/virtualenv/virtualenv-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/v/virtualenv/virtualenv-${version}.tar.gz"
|
||||||
checksum=1ffb6a02d8999e9c97ad8f04b1d2ba44421dfb8f8a98b54aea5c6fdfb53bc526
|
checksum=70d63fb7e949d07aeb37f6ecc94e8b60671edb15b890aa86dba5dfaf2225dc19
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i '/^#!/d' virtualenv.py
|
sed -i '/^#!/d' virtualenv.py
|
||||||
}
|
}
|
||||||
post_install() {
|
post_install() {
|
||||||
rm -f ${DESTDIR}/usr/bin/virtualenv
|
cp -f ${DESTDIR}/usr/bin/virtualenv{,3.4}
|
||||||
ln -sf virtualenv-2.7 ${DESTDIR}/usr/bin/virtualenv
|
replace_interpreter python ${DESTDIR}/usr/bin/virtualenv
|
||||||
ln -sf virtualenv-3.4 ${DESTDIR}/usr/bin/virtualenv3
|
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,8 +32,7 @@ python3.4-virtualenv_package() {
|
||||||
pycompile_module="virtualenv.py"
|
pycompile_module="virtualenv.py"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/virtualenv-3.4
|
vmove usr/bin/virtualenv3.4
|
||||||
vmove usr/bin/virtualenv3
|
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue