aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-itsdangerous/APKBUILD
blob: 316e26fd2259b098d63e072fd3b167816e538902 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer:
pkgname=py3-itsdangerous
_pkgname=itsdangerous
pkgver=0.24
pkgrel=6
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() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2863b6e5fda178db59bd214c6d24d04422c1021bb41bf11598aba1cbc43053aff3bb1e0539940b5769de04b68c03e8bd01d728dcbfc4bd0ba05867688574a297  itsdangerous-0.24.tar.gz"