python-distutils-extra: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
3ab78a3028
commit
051ffca5f0
2 changed files with 14 additions and 8 deletions
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'python-distutils-extra'
|
||||
pkgname=python-distutils-extra
|
||||
version=2.39
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
pycompile_module="DistUtilsExtra"
|
||||
hostmakedepends="intltool python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="intltool python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
short_desc="Enhancements to the Python2 build system"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -15,13 +14,19 @@ license="GPL-2"
|
|||
distfiles="http://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.gz"
|
||||
checksum=723f24f4d65fc8d99b33a002fbbb3771d4cc9d664c97085bf37f3997ae8063af
|
||||
|
||||
python3.4-distutils-extra_package() {
|
||||
python3-distutils-extra_package() {
|
||||
noarch=yes
|
||||
depends="python3.4"
|
||||
pycompile_version="3.4"
|
||||
depends="python3"
|
||||
pycompile_module="DistUtilsExtra"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
replaces="python3.4-distutils-extra>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-distutils-extra_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-distutils-extra>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-distutils-extra
Symbolic link
1
srcpkgs/python3-distutils-extra
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-distutils-extra
|
Loading…
Reference in a new issue