aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2022-07-06 11:14:52 -0400
committeralice <alice@ayaya.dev>2022-07-07 02:48:03 +0000
commit7ee02ce86d320135161bb8aa8143324b449e0a58 (patch)
tree724b33b827bdc3fdfe8c91b6c482902785744b0d
parentfbec166a30094643177e7e4781f8348beb28247a (diff)
downloadaports-7ee02ce86d320135161bb8aa8143324b449e0a58.tar.gz
aports-7ee02ce86d320135161bb8aa8143324b449e0a58.tar.bz2
aports-7ee02ce86d320135161bb8aa8143324b449e0a58.tar.xz
testing/py3-aioopenssl: new aport
https://pypi.org/project/aioopenssl/ An asyncio Transport which uses PyOpenSSL instead of the built-in ssl module. Signed-off-by: Sam Whited <sam@samwhited.com>
-rw-r--r--testing/py3-aioopenssl/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py3-aioopenssl/APKBUILD b/testing/py3-aioopenssl/APKBUILD
new file mode 100644
index 0000000000..d5946adc4d
--- /dev/null
+++ b/testing/py3-aioopenssl/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Sam Whited <sam@samwhited.com>
+# Maintainer: Sam Whited <sam@samwhited.com>
+pkgname=py3-aioopenssl
+_pkgname=aioopenssl
+pkgver=0.6.0
+pkgrel=0
+pkgdesc="An asyncio Transport which uses PyOpenSSL instead of the built-in ssl module."
+url="https://pypi.org/project/aioopenssl/"
+arch="all"
+license="Apache-2.0"
+depends="python3 py3-openssl"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+options="!check" # tests not included in source package.
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+ install -Dm644 README.rst "$pkgdir"/usr/share/licenses/$pkgname/README.rst
+}
+
+sha512sums="
+fee9fa34dd79a40b06bdbfa87dd7feba100c7a9e906f06e46fde63faa1e73fbe0f3085c5b05bd308cf73f73155eb1db07f3250f159c9fb0b9142a26a1ce747b3 aioopenssl-0.6.0.tar.gz
+"