mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 04:56:55 +02:00
40 lines
1,015 B
Text
40 lines
1,015 B
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-dnspython
|
|
_pyname=dnspython
|
|
pkgver=2.7.0
|
|
pkgrel=0
|
|
pkgdesc="DNS toolkit for Python3"
|
|
url="https://www.dnspython.org/"
|
|
arch="all"
|
|
license="ISC"
|
|
makedepends="
|
|
cython
|
|
py3-gpep517
|
|
py3-hatchling
|
|
py3-wheel
|
|
python3-dev
|
|
"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/rthalley/dnspython/archive/v$pkgver/dnspython-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
options="!check" # network tests are failing on CI
|
|
|
|
replaces="py-dnspython" # Backwards compatibility
|
|
provides="py-dnspython=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
d73b90a06fa4c731393f719a79ec1339c3f8010b0ef4e58d8aa1aa5e0f2804dff8a79e20d9c9175b41b66bc9cf1712c33f4e2ed14820afc74d988096a42488b5 dnspython-2.7.0.tar.gz
|
|
"
|