python-polib: drop package
This commit is contained in:
parent
2b812dcbdd
commit
b721facb36
4 changed files with 22 additions and 36 deletions
|
@ -1,35 +0,0 @@
|
|||
# Template file for 'python-polib'
|
||||
pkgname=python-polib
|
||||
version=1.1.0
|
||||
revision=2
|
||||
archs=noarch
|
||||
wrksrc="polib-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
pycompile_module="polib.py"
|
||||
short_desc="Python2 library to manipulate gettext files"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
homepage="http://bitbucket.org/izi/polib/"
|
||||
license="MIT"
|
||||
distfiles="${PYPI_SITE}/p/polib/polib-${version}.tar.gz"
|
||||
checksum=fad87d13696127ffb27ea0882d6182f1a9cf8a5e2b37a587751166c51e5a332a
|
||||
|
||||
do_check() {
|
||||
./runtests.sh
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-polib_package() {
|
||||
archs=noarch
|
||||
depends="python3"
|
||||
pycompile_module="polib.py"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-polib
|
22
srcpkgs/python3-polib/template
Normal file
22
srcpkgs/python3-polib/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'python3-polib'
|
||||
pkgname=python3-polib
|
||||
version=1.1.0
|
||||
revision=3
|
||||
wrksrc="polib-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
short_desc="Python3 library to manipulate gettext files"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="http://bitbucket.org/izi/polib/"
|
||||
distfiles="${PYPI_SITE}/p/polib/polib-${version}.tar.gz"
|
||||
checksum=fad87d13696127ffb27ea0882d6182f1a9cf8a5e2b37a587751166c51e5a332a
|
||||
|
||||
do_check() {
|
||||
./runtests.sh
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in a new issue