diff options
| author | Bart Ribbers <bribbers@disroot.org> | 2020-05-07 11:30:58 +0200 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-05-07 10:09:38 +0000 |
| commit | 24ff3b68fee818f4c73e1ca9f3c5a082a6e59eeb (patch) | |
| tree | f94b78779f7dbb8382df13365e3f19545f2716c8 | |
| parent | 4e5669ebdddc1df82477a414db5410348d480412 (diff) | |
| download | aports-24ff3b68fee818f4c73e1ca9f3c5a082a6e59eeb.tar.bz2 aports-24ff3b68fee818f4c73e1ca9f3c5a082a6e59eeb.tar.xz | |
testing/py3-trustme: new aport
| -rw-r--r-- | testing/py3-trustme/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
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 <bribbers@disroot.org> +# Maintainer: Bart Ribberse <bribbers@disroot.org> +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" |
