python-Unidecode: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
55337e1dc9
commit
d6ee8c6bef
2 changed files with 17 additions and 11 deletions
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'python-Unidecode'
|
||||
pkgname=python-Unidecode
|
||||
version=0.04.19
|
||||
revision=2
|
||||
revision=3
|
||||
noarch=yes
|
||||
wrksrc="Unidecode-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-setuptools"
|
||||
pycompile_module="unidecode"
|
||||
short_desc="Python2 ASCII transliterations of Unicode text"
|
||||
|
@ -15,17 +14,23 @@ homepage="https://pypi.python.org/pypi/Unidecode/"
|
|||
license="GPL-2"
|
||||
distfiles="${PYPI_SITE}/U/Unidecode/Unidecode-${version}.tar.gz"
|
||||
checksum=51477646a9169469e37e791b13ae65fcc75b7f7f570d0d3e514d077805c02e1e
|
||||
alternatives="unidecode:unidecode:/usr/bin/unidecode2.7"
|
||||
alternatives="unidecode:unidecode:/usr/bin/unidecode2"
|
||||
|
||||
python3.4-Unidecode_package() {
|
||||
python3-Unidecode_package() {
|
||||
noarch=yes
|
||||
depends="python3.4-setuptools"
|
||||
pycompile_version="3.4"
|
||||
depends="python3-setuptools"
|
||||
pycompile_module="unidecode"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
alternatives="unidecode:unidecode:/usr/bin/unidecode3.4"
|
||||
replaces="python3.4-Unicode>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
alternatives="unidecode:unidecode:/usr/bin/unidecode3"
|
||||
pkg_install() {
|
||||
vmove usr/bin/unidecode3.4
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/bin/unidecode3
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
||||
python3.4-Unidecode_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-Unidecode>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-Unidecode
Symbolic link
1
srcpkgs/python3-Unidecode
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-Unidecode
|
Loading…
Reference in a new issue