New package: python-serpent

This commit is contained in:
pulux 2015-06-16 06:12:11 +02:00
parent 94b81864f1
commit 47e2ff5e66
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,27 @@
# Template file for 'python-serpent'
pkgname=python-serpent
version=1.11
revision=1
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="serpent"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python"
short_desc="Serialization based on ast.literal_eva"
maintainer="pulux <pulux@pf4sh.de>"
license="MIT"
homepage="https://github.com/irmen/Serpent"
distfiles="${PYPI_SITE}/s/serpent/serpent-${version}.tar.gz"
checksum=ab5df8f28574552bdbaf8d3774e6d0faff62f0aa6d5e6bb33b6b0c46937001ad
python3.4-serpent_package() {
depends="python3.4"
pycompile_version="3.4"
pycompile="serpent"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

1
srcpkgs/python3.4-serpent Symbolic link
View file

@ -0,0 +1 @@
python-serpent