# Contributor: Fabian Affolter # Maintainer: pkgname=py3-itsdangerous _pkgname=itsdangerous pkgver=0.24 pkgrel=5 pkgdesc="Python3 helper to pass trusted data to untrusted environments" url="https://github.com/mitsuhiko/itsdangerous" arch="noarch" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-itsdangerous" # Backwards compatibility provides="py-itsdangerous=$pkgver-r$pkgrel" # Backwards compatibility build() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="2863b6e5fda178db59bd214c6d24d04422c1021bb41bf11598aba1cbc43053aff3bb1e0539940b5769de04b68c03e8bd01d728dcbfc4bd0ba05867688574a297 itsdangerous-0.24.tar.gz"