2015-06-16 04:12:11 +00:00
|
|
|
# Template file for 'python-serpent'
|
|
|
|
pkgname=python-serpent
|
|
|
|
version=1.11
|
2015-07-02 10:35:03 +00:00
|
|
|
revision=2
|
2015-06-16 04:12:11 +00:00
|
|
|
wrksrc="${pkgname#*-}-${version}"
|
2015-07-02 10:35:03 +00:00
|
|
|
noarch=yes
|
2015-06-16 04:12:11 +00:00
|
|
|
build_style=python-module
|
|
|
|
python_versions="2.7 3.4"
|
2015-07-02 10:35:03 +00:00
|
|
|
pycompile_module="serpent.py"
|
2015-06-16 04:12:11 +00:00
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
depends="python"
|
2015-07-02 10:35:03 +00:00
|
|
|
short_desc="Serialization library based on ast.literal_eval (Python2)"
|
2015-06-16 04:12:11 +00:00
|
|
|
maintainer="pulux <pulux@pf4sh.de>"
|
|
|
|
license="MIT"
|
2015-07-02 10:35:03 +00:00
|
|
|
homepage="https://pypi.python.org/pypi/serpent"
|
2015-06-16 04:12:11 +00:00
|
|
|
distfiles="${PYPI_SITE}/s/serpent/serpent-${version}.tar.gz"
|
|
|
|
checksum=ab5df8f28574552bdbaf8d3774e6d0faff62f0aa6d5e6bb33b6b0c46937001ad
|
|
|
|
|
|
|
|
python3.4-serpent_package() {
|
2015-07-02 10:35:03 +00:00
|
|
|
noarch=yes
|
2015-06-16 04:12:11 +00:00
|
|
|
depends="python3.4"
|
|
|
|
pycompile_version="3.4"
|
2015-07-02 10:35:03 +00:00
|
|
|
pycompile="serpent.py"
|
2015-06-16 04:12:11 +00:00
|
|
|
short_desc="${short_desc/Python2/Python3.4}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
}
|
|
|
|
}
|