mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-15 18:51:48 +02:00
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-dnspython
|
|
_pyname=dnspython
|
|
pkgver=2.6.1
|
|
pkgrel=1
|
|
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
|
|
pyproject-set-license-to-table.patch
|
|
"
|
|
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="
|
|
77e9c69ac70e9e31a11188b968d28b8f2890b053b2cce0e608eefad7fd2c2b0f30c074222b2e5e85c0b4b8705f2e45acfa8b016a7808cc421df1d77f2561d978 dnspython-2.6.1.tar.gz
|
|
38830a1f23146d3f2f38dd0030334e630142514c913be388af29c680d023e13fbce0944cef6744f43ce0e9680e1e3850f530de26ed3f9f170f84876707c3a8be pyproject-set-license-to-table.patch
|
|
"
|