python-configobj: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
d7380c421d
commit
3ab78a3028
2 changed files with 18 additions and 12 deletions
|
@ -1,13 +1,12 @@
|
||||||
pkgname="python-configobj"
|
# Template file for 'python-configobj'
|
||||||
|
pkgname=python-configobj
|
||||||
version=5.0.6
|
version=5.0.6
|
||||||
revision=1
|
revision=2
|
||||||
|
noarch=yes
|
||||||
wrksrc="configobj-${version}"
|
wrksrc="configobj-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-devel python3-devel"
|
||||||
noarch=yes
|
depends="python-six"
|
||||||
hostmakedepends="python-devel python3.4-devel"
|
|
||||||
makedepends="${hostmakedepends} python-six python3.4-six"
|
|
||||||
depends="python python-six"
|
|
||||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
maintainer="Dominik Honnef <dominik@honnef.co>"
|
||||||
license="New BSD"
|
license="New BSD"
|
||||||
homepage="https://github.com/DiffSK/configobj"
|
homepage="https://github.com/DiffSK/configobj"
|
||||||
|
@ -15,12 +14,18 @@ short_desc="Simple but powerful config file reader and writer (Python2)"
|
||||||
distfiles="https://github.com/DiffSK/configobj/archive/v${version}.tar.gz"
|
distfiles="https://github.com/DiffSK/configobj/archive/v${version}.tar.gz"
|
||||||
checksum=2e140354efcca6f558ff9ee941b435ae09a617bc071797bef62c8d6ed2033d5e
|
checksum=2e140354efcca6f558ff9ee941b435ae09a617bc071797bef62c8d6ed2033d5e
|
||||||
|
|
||||||
|
python3-configobj_package() {
|
||||||
|
noarch=yes
|
||||||
|
replaces="python3.4-configobj>=0"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
depends="python3-six"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
}
|
||||||
|
}
|
||||||
python3.4-configobj_package() {
|
python3.4-configobj_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
short_desc="${short_desc/Python2/Python3.4/}"
|
build_style=meta
|
||||||
depends="python3.4 python3.4-six"
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
pycompile_version="3.4"
|
depends="python3-configobj>=${version}_${revision}"
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3.4
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
1
srcpkgs/python3-configobj
Symbolic link
1
srcpkgs/python3-configobj
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-configobj
|
Loading…
Add table
Add a link
Reference in a new issue