mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
python-Unidecode: update to 0.04.16
Switch to setuptools. Add python3.4 subpkg with pycompile support.
This commit is contained in:
parent
76ab2a5cc1
commit
36dbf4a222
2 changed files with 22 additions and 9 deletions
|
@ -1,17 +1,29 @@
|
||||||
# Template file for 'python-Unidecode'
|
# Template file for 'python-Unidecode'
|
||||||
pkgname=python-Unidecode
|
pkgname=python-Unidecode
|
||||||
version=0.04.13
|
version=0.04.16
|
||||||
revision=1
|
revision=1
|
||||||
|
noarch=yes
|
||||||
wrksrc="Unidecode-${version}"
|
wrksrc="Unidecode-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-distribute"
|
python_versions="2.7 3.4"
|
||||||
makedepends="python-devel"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
noarch="yes"
|
makedepends="python-devel python3.4-devel"
|
||||||
pycompile_module="unidecode"
|
|
||||||
depends="python>=2.7"
|
depends="python>=2.7"
|
||||||
short_desc="Python ASCII transliterations of Unicode text"
|
pycompile_module="unidecode"
|
||||||
|
short_desc="Python2 ASCII transliterations of Unicode text"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://pypi.python.org/pypi/Unidecode"
|
homepage="https://pypi.python.org/pypi/Unidecode/"
|
||||||
license="GPL"
|
license="GPL-2"
|
||||||
distfiles="https://pypi.python.org/packages/source/U/Unidecode/Unidecode-${version}.tar.gz"
|
distfiles="https://pypi.python.org/packages/source/U/Unidecode/Unidecode-${version}.tar.gz"
|
||||||
checksum="ca58bf0ce984a20ad3a5d7fdbb7e773d8d1e5fd1570951e47c1908eed8fe0442"
|
checksum=4cd218737d1a807bbaba9a6534fc3c80d129cff76cf7d7fdbd71e744d836657b
|
||||||
|
|
||||||
|
python3.4-Unidecode_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="unidecode"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3.4-Unidecode
Symbolic link
1
srcpkgs/python3.4-Unidecode
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-Unidecode
|
Loading…
Add table
Reference in a new issue