testing/py3-unidns: upgrade to 0.0.2

Also move to pypi because the latest version was not added as tag to the git repo.
This commit is contained in:
Jonas 2025-07-28 20:36:35 +02:00 committed by achill (fossdd)
parent c4ca15bce4
commit 74ffedb3b0

View File

@ -1,9 +1,10 @@
# Contributor: Jonas <spameier+alpine@proton.me>
# Maintainer: Jonas <spameier+alpine@proton.me>
pkgname=py3-unidns
_pyname="unidns"
pkgver=0.0.1
pkgrel=3
# _pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal="unidns"
pkgver=0.0.2
pkgrel=0
pkgdesc="Rudimentary async DNS client in Python"
url="https://github.com/skelsec/unidns"
arch="noarch"
@ -17,9 +18,12 @@ makedepends="
py3-wheel
py3-setuptools
"
subpackages="$pkgname-pyc $pkgname-examples"
source="$pkgname-$pkgver.tar.gz::https://github.com/skelsec/unidns/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
subpackages="
$pkgname-pyc
$pkgname-examples
"
source="https://files.pythonhosted.org/packages/source/u/unidns/unidns-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
options="!check" # no tests provided
build() {
@ -41,5 +45,5 @@ examples() {
}
sha512sums="
5251f740dcb34d78cd8dea2cfd87e1c5ffa5776745ca2d8e080f8a002c3441a96806ec1b244b81cc0e38d5b152a36614da9a3161eeeebf01c28c2c99de046d4c py3-unidns-0.0.1.tar.gz
7dcf0993693ba8fd56bf2c243a13f40029e2dd8cd11a1a0611aa0ef14ce0dd070f860660fb21ba1f7b95cb204918a43cc9e90b34103ed9733f25c3f05e052d5f unidns-0.0.2.tar.gz
"