python-ply: split python3-ply
This commit is contained in:
parent
a9afd6cbf0
commit
22df318845
3 changed files with 20 additions and 12 deletions
|
@ -2,8 +2,8 @@
|
||||||
pkgname=python-ply
|
pkgname=python-ply
|
||||||
version=3.11
|
version=3.11
|
||||||
revision=7
|
revision=7
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="Lex and Yacc for Python2"
|
short_desc="Lex and Yacc for Python2"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
@ -16,12 +16,3 @@ post_install() {
|
||||||
sed -n '/Copyright/,/POSSIBILITY/p' README.md >LICENSE
|
sed -n '/Copyright/,/POSSIBILITY/p' README.md >LICENSE
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-ply_package() {
|
|
||||||
depends="python3"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-ply
|
|
18
srcpkgs/python3-ply/template
Normal file
18
srcpkgs/python3-ply/template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'python3-ply'
|
||||||
|
pkgname=python3-ply
|
||||||
|
version=3.11
|
||||||
|
revision=7
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3"
|
||||||
|
short_desc="Lex and Yacc for Python3"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="BSD-3-Clause"
|
||||||
|
homepage="http://www.dabeaz.com/ply/"
|
||||||
|
distfiles="${PYPI_SITE}/p/ply/ply-${version}.tar.gz"
|
||||||
|
checksum=00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
sed -n '/Copyright/,/POSSIBILITY/p' README.md >LICENSE
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue