python-Unidecode: drop package
This commit is contained in:
parent
db369ba449
commit
328f44ccf6
3 changed files with 19 additions and 34 deletions
|
@ -1,33 +0,0 @@
|
||||||
# Template file for 'python-Unidecode'
|
|
||||||
pkgname=python-Unidecode
|
|
||||||
version=1.1.1
|
|
||||||
revision=2
|
|
||||||
archs=noarch
|
|
||||||
wrksrc="Unidecode-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="unidecode"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python-setuptools"
|
|
||||||
short_desc="Python2 ASCII transliterations of Unicode text"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="GPL-2.0-or-later"
|
|
||||||
homepage="https://pypi.org/project/Unidecode/"
|
|
||||||
distfiles="${PYPI_SITE}/U/Unidecode/Unidecode-${version}.tar.gz"
|
|
||||||
checksum=2b6aab710c2a1647e928e36d69c21e76b453cd455f4e2621000e54b2a9b8cce8
|
|
||||||
alternatives="unidecode:unidecode:/usr/bin/unidecode2"
|
|
||||||
|
|
||||||
do_check() {
|
|
||||||
python3 setup.py test
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-Unidecode_package() {
|
|
||||||
archs=noarch
|
|
||||||
depends="python3-setuptools"
|
|
||||||
pycompile_module="unidecode"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
alternatives="unidecode:unidecode:/usr/bin/unidecode3"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/bin/unidecode3
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-Unidecode
|
|
19
srcpkgs/python3-Unidecode/template
Normal file
19
srcpkgs/python3-Unidecode/template
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'python3-Unidecode'
|
||||||
|
pkgname=python3-Unidecode
|
||||||
|
version=1.1.1
|
||||||
|
revision=3
|
||||||
|
wrksrc="Unidecode-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-setuptools"
|
||||||
|
short_desc="Python3 ASCII transliterations of Unicode text"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="GPL-2.0-or-later"
|
||||||
|
homepage="https://pypi.org/project/Unidecode/"
|
||||||
|
distfiles="${PYPI_SITE}/U/Unidecode/Unidecode-${version}.tar.gz"
|
||||||
|
checksum=2b6aab710c2a1647e928e36d69c21e76b453cd455f4e2621000e54b2a9b8cce8
|
||||||
|
conflicts="python-Unidecode>=0"
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python3 setup.py test
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue