void-packages/srcpkgs/python-itsdangerous/template
2019-03-01 12:04:45 -03:00

33 lines
911 B
Bash

# Template file for 'python-itsdangerous'
pkgname=python-itsdangerous
version=0.24
revision=4
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
pycompile_module="itsdangerous.py"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
depends="python"
short_desc="Various helpers to pass trusted data to untrusted enviroments and back"
maintainer="Markus Berger <pulux@pf4sh>"
license="BSD-3-Clause"
homepage="http://github.com/mitsuhiko/itsdangerous"
distfiles="${PYPI_SITE}/i/itsdangerous/itsdangerous-${version}.tar.gz"
checksum=cbb3fcf8d3e33df861709ecaf89d9e6629cff0a217bc2848f1b41cd30d360519
post_install() {
vlicense LICENSE
}
python3-itsdangerous_package() {
archs=noarch
depends="python3"
pycompile_module="itsdangerous.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}