blob: 664da72522a0681ea702aa279cc56614ebb4e177 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Sam Whited <sam@samwhited.com>
# Maintainer: Sam Whited <sam@samwhited.com>
pkgname=py3-aioopenssl
_pkgname=aioopenssl
pkgver=0.6.0
pkgrel=1
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 --skip-build --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
"
|