mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
29 lines
1,003 B
Text
29 lines
1,003 B
Text
# 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
|
|
"
|