mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
36 lines
885 B
Text
36 lines
885 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-trustme
|
|
pkgver=0.8.0
|
|
pkgrel=0
|
|
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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
93b1007319f7d625410eddf92910607c8190533f9bb02a71ecc4c424e44ecea70749f6bceb917297241e179b0d50ce1ed330c208cf3de77d4d3a619f5436af9d trustme-0.8.0.tar.gz
|
|
"
|