void-packages/srcpkgs/python-itsdangerous/template
2020-01-19 10:26:47 +01:00

30 lines
852 B
Bash

# Template file for 'python-itsdangerous'
pkgname=python-itsdangerous
version=1.1.0
revision=1
archs=noarch
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
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.de>"
license="BSD-3-Clause"
homepage="http://github.com/mitsuhiko/itsdangerous"
distfiles="${PYPI_SITE}/i/itsdangerous/itsdangerous-${version}.tar.gz"
checksum=321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19
post_install() {
vlicense LICENSE.rst
}
python3-itsdangerous_package() {
archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.rst
}
}