From 24ff3b68fee818f4c73e1ca9f3c5a082a6e59eeb Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Thu, 7 May 2020 11:30:58 +0200 Subject: testing/py3-trustme: new aport --- testing/py3-trustme/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/py3-trustme/APKBUILD diff --git a/testing/py3-trustme/APKBUILD b/testing/py3-trustme/APKBUILD new file mode 100644 index 0000000000..05ae611afc --- /dev/null +++ b/testing/py3-trustme/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Bart Ribberse +# Maintainer: Bart Ribberse +pkgname=py3-trustme +pkgver=0.6.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="python3 py3-cryptography py3-idna py3-openssl py3-service_identity" +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="9fda58320f2055d2c23369d2df213994cafd9af7b7eb3933162bbe09a81abd7a9cd2b2e7cae43b25d40d20311213d8a1c13155b61498b848a2850d22fa1e1418 trustme-0.6.0.tar.gz" -- cgit v1.2.3