mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
36 lines
884 B
Text
36 lines
884 B
Text
# 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
|
|
"
|