python-grako: drop package
This commit is contained in:
parent
3b9d4689c0
commit
e8bcec4a58
4 changed files with 23 additions and 37 deletions
|
@ -1,36 +0,0 @@
|
||||||
# Template file for 'python-grako'
|
|
||||||
pkgname=python-grako
|
|
||||||
version=3.99.9
|
|
||||||
revision=4
|
|
||||||
wrksrc="neogeny-${pkgname/python-/}-275d3c4fe4ac"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="grako"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
|
|
||||||
makedepends="python-devel python3-devel"
|
|
||||||
depends="python-setuptools"
|
|
||||||
short_desc="Grammar compiler, EBNF input, PEG/Packrat parser output (Python2)"
|
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="BSD-2-Clause"
|
|
||||||
homepage="https://bitbucket.org/neogeny/grako"
|
|
||||||
distfiles="https://bitbucket.org/neogeny/grako/get/${version}.tar.bz2"
|
|
||||||
checksum=82cc8d601a272106ed3bbc09f37b04b85f21cbe4c8bbebb41bb9d57ac419696f
|
|
||||||
alternatives="grako:grako:/usr/bin/grako2"
|
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
sed -i '/setup_requires=/d' setup.py
|
|
||||||
}
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-grako_package() {
|
|
||||||
pycompile_module="grako"
|
|
||||||
depends="python3-setuptools"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
alternatives="grako:grako:/usr/bin/grako3"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vmove usr/bin/grako3
|
|
||||||
vlicense LICENSE.txt
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-grako
|
|
23
srcpkgs/python3-grako/template
Normal file
23
srcpkgs/python3-grako/template
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Template file for 'python3-grako'
|
||||||
|
pkgname=python3-grako
|
||||||
|
version=3.99.9
|
||||||
|
revision=5
|
||||||
|
wrksrc="neogeny-${pkgname/python-/}-275d3c4fe4ac"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools python3-Cython"
|
||||||
|
makedepends="python3-devel"
|
||||||
|
depends="python3-setuptools"
|
||||||
|
short_desc="Grammar compiler, EBNF input, PEG/Packrat parser output (Python3)"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="BSD-2-Clause"
|
||||||
|
homepage="https://bitbucket.org/neogeny/grako"
|
||||||
|
distfiles="https://bitbucket.org/neogeny/grako/get/${version}.tar.bz2"
|
||||||
|
checksum=82cc8d601a272106ed3bbc09f37b04b85f21cbe4c8bbebb41bb9d57ac419696f
|
||||||
|
conflicts="python-grako>=0"
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i '/setup_requires=/d' setup.py
|
||||||
|
}
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
Loading…
Reference in a new issue