python-parse: drop package
This commit is contained in:
parent
8b32787e47
commit
63efd09b06
3 changed files with 23 additions and 38 deletions
|
@ -1,37 +0,0 @@
|
|||
# Template file for 'python-parse'
|
||||
pkgname=python-parse
|
||||
version=1.12.0
|
||||
revision=2
|
||||
archs=noarch
|
||||
wrksrc="parse-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="parse.py"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
short_desc="Parse strings using the format() syntax (Python2)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/r1chardj0n3s/parse"
|
||||
distfiles="${PYPI_SITE}/p/parse/parse-${version}.tar.gz"
|
||||
checksum=1b68657434d371e5156048ca4a0c5aea5afc6ca59a2fea4dd1a575354f617142
|
||||
|
||||
do_check() {
|
||||
python2 setup.py test
|
||||
python3 setup.py test
|
||||
}
|
||||
|
||||
post_install() {
|
||||
sed -n '/Copyright/,/SOFTWARE\./p' parse.py >LICENSE
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-parse_package() {
|
||||
archs=noarch
|
||||
depends="python3"
|
||||
pycompile_module="parse.py"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-parse
|
23
srcpkgs/python3-parse/template
Normal file
23
srcpkgs/python3-parse/template
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'python3-parse'
|
||||
pkgname=python3-parse
|
||||
version=1.12.0
|
||||
revision=3
|
||||
wrksrc="parse-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
short_desc="Parse strings using the format() syntax (Python3)"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/r1chardj0n3s/parse"
|
||||
distfiles="${PYPI_SITE}/p/parse/parse-${version}.tar.gz"
|
||||
checksum=1b68657434d371e5156048ca4a0c5aea5afc6ca59a2fea4dd1a575354f617142
|
||||
|
||||
do_check() {
|
||||
python3 setup.py test
|
||||
}
|
||||
|
||||
post_install() {
|
||||
sed -n '/Copyright/,/SOFTWARE\./p' parse.py >LICENSE
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in a new issue