mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py3-rfc6555: new aport
This commit is contained in:
parent
dcfe95fbc2
commit
74995cb356
42
testing/py3-rfc6555/APKBUILD
Normal file
42
testing/py3-rfc6555/APKBUILD
Normal file
@ -0,0 +1,42 @@
|
||||
# Contributor: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
|
||||
# Maintainer: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
|
||||
pkgname=py3-rfc6555
|
||||
_pyname=rfc6555
|
||||
pkgver=0.1.0
|
||||
pkgrel=0
|
||||
pkgdesc="Happy Eyeballs Algorithm described in RFC 6555"
|
||||
url="https://github.com/sethmlarson/rfc6555/"
|
||||
arch="noarch"
|
||||
license="Apache-2.0"
|
||||
depends="
|
||||
python3
|
||||
"
|
||||
makedepends="
|
||||
py3-gpep517
|
||||
py3-setuptools
|
||||
py3-wheel
|
||||
"
|
||||
checkdepends="
|
||||
py3-pytest
|
||||
"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/sethmlarson/rfc6555/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pyname-$pkgver"
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
PYTHONPATH=. pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" .dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
7f818047c1915aaa524a7c1599c6e34e66d822627c8fe37eba3b3a5730549db2c3e0df12ac1c6c2b26aebc5ff28ebbe683a7630db4c1c8a3b45fa43e2a04883c py3-rfc6555-0.1.0.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user