python-serpent: split package
New package: python3-serpent-1.30.2 python2 support only up to version 1.28
This commit is contained in:
parent
c74e5d422d
commit
7e3fc5057c
3 changed files with 23 additions and 16 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-serpent'
|
# Template file for 'python-serpent'
|
||||||
pkgname=python-serpent
|
pkgname=python-serpent
|
||||||
version=1.28
|
version=1.28
|
||||||
revision=2
|
revision=3
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="${pkgname#*-}-${version}"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
pycompile_module="serpent.py"
|
hostmakedepends="python-setuptools"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python"
|
depends="python"
|
||||||
short_desc="Serialization library based on ast.literal_eval (Python2)"
|
short_desc="Serialization library based on ast.literal_eval (Python2)"
|
||||||
maintainer="pulux <pulux@pf4sh.de>"
|
maintainer="pulux <pulux@pf4sh.de>"
|
||||||
|
@ -18,14 +17,3 @@ checksum=f306336ca09aa38e526f3b03cab58eb7e45af09981267233167bcf3bfd6436ab
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-serpent_package() {
|
|
||||||
archs=noarch
|
|
||||||
depends="python3"
|
|
||||||
pycompile="serpent.py"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-serpent
|
|
20
srcpkgs/python3-serpent/template
Normal file
20
srcpkgs/python3-serpent/template
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Template file for 'python3-serpent'
|
||||||
|
pkgname=python3-serpent
|
||||||
|
version=1.30.2
|
||||||
|
revision=1
|
||||||
|
archs=noarch
|
||||||
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3"
|
||||||
|
checkdepends="python3-attrs python3-pytz"
|
||||||
|
short_desc="Serialization library based on ast.literal_eval (Python3)"
|
||||||
|
maintainer="pulux <pulux@pf4sh.de>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://pypi.org/project/serpent/"
|
||||||
|
distfiles="${PYPI_SITE}/s/serpent/serpent-${version}.tar.gz"
|
||||||
|
checksum=72753820246a7d8486e8b385353e3bbf769abfceec2e850fa527a288b084ff7a
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue