aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-jwcrypto/APKBUILD
blob: a0adc9848ee4318cd3cccbf665c1804aa5db7345 (plain)
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
28
29
30
31
# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-jwcrypto
_pkgname=jwcrypto
pkgver=0.6.0
pkgrel=1
pkgdesc="Python module implementing JOSE Web standards"
url="https://github.com/latchset/jwcrypto"
arch="noarch"
license="LGPL-3.0-only"
depends="py3-cryptography"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	cd "$builddir"/$_pkgname
	py.test-3
}

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

sha512sums="ed72f4be0f19afe448048e4124d5cbdd227b66b2b0af375cb1ab6c631c6e0d638f40cc1d756eb052176934eb919fa16b40bf51b5380b9227b162cfb6d3f5256e  jwcrypto-0.6.0.tar.gz"