mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +02:00
35 lines
1,005 B
Text
35 lines
1,005 B
Text
# Contributor: lauren n. liberda <lauren@selfisekai.rocks>
|
|
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
|
|
pkgname=certbot-dns-pdns
|
|
pkgver=0.1.1
|
|
pkgrel=0
|
|
pkgdesc="Certbot DNS Authenticator for PowerDNS"
|
|
url="https://github.com/kaechele/certbot-dns-pdns"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="certbot"
|
|
makedepends="py3-gpep517 py3-poetry-core"
|
|
options="!check" # no tests
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/kaechele/certbot-dns-pdns/archive/v$pkgver/certbot-dns-pdns-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
python3 -m venv --clear --without-pip --system-site-packages .testenv
|
|
.testenv/bin/python3 -m installer .dist/*.whl
|
|
.testenv/bin/python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
0d1822a46b46c76f312197823d65c1b62a00c0811c16c384029b012e63403c11133d9fbc7581174217d6278063490e33d610dd412ee0edbe046653e3e577f2eb certbot-dns-pdns-0.1.1.tar.gz
|
|
"
|