blob: 48e5ae1ca14c5558484ffec5c254090a8ec5cea3 (
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
32
33
34
35
36
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-trustme
pkgver=0.9.0
pkgrel=2
pkgdesc="#1 quality TLS certs while you wait, for the discerning tester"
url="https://github.com/python-trio/trustme"
arch="noarch"
license="Apache-2.0 OR MIT"
depends="
py3-cryptography
py3-idna
py3-openssl
py3-service_identity
python3
"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/t/trustme/trustme-$pkgver.tar.gz"
builddir="$srcdir/trustme-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD/build/lib" pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
f0d983a4c52374f178c0bf96f758fdb5f132e7f7c4bac187c84fbc8dc82dc36d6c801c340bf8871e872178f7b2ac66d6159b5462d073beec9a13a086f64b58b7 trustme-0.9.0.tar.gz
"
|