mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
# Contributor: Sam Whited <sam@samwhited.com>
|
|
# Maintainer: Sam Whited <sam@samwhited.com>
|
|
pkgname=py3-aioopenssl
|
|
_pkgname=aioopenssl
|
|
pkgver=0.6.0
|
|
pkgrel=4
|
|
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 py3-gpep517"
|
|
subpackages="$pkgname-pyc"
|
|
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() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
|
|
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
|
|
"
|