New package python-itsdangerous

This commit is contained in:
pulux 2015-01-06 08:40:06 +01:00
parent ff382438c1
commit dc9393b485
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,31 @@
# Template file for 'python-itsdangerous
pkgname=python-itsdangerous
version=0.24
revision=1
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="itsdangerous"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python"
replaces="python-itsdangerous>=0"
short_desc="Various helpers to pass trusted data to untrusted enviroments and back"
maintainer="Markus Berger <pulux@pf4sh>"
homepage="http://github.com/mitsuhiko/itsdangerous"
license="BSD"
distfiles="${PYPI_SITE}/i/itsdangerous/itsdangerous-${version}.tar.gz"
checksum=cbb3fcf8d3e33df861709ecaf89d9e6629cff0a217bc2848f1b41cd30d360519
python3.4-itsdangerous_package() {
noarch=yes
depends="python3.4"
replaces="python3.4-itsdangerous>=0"
pycompile_version="3.4"
pycompile_module="itsdangerous"
short_descr="${short_descr/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}

View file

@ -0,0 +1 @@
python-itsdangerous