notests
Some checks failed
/ lint (pull_request) Failing after 27s
/ build-x86_64 (pull_request) Successful in 44s
/ deploy-x86_64 (pull_request) Successful in 26s
/ deploy-aarch64 (pull_request) Successful in 53s
/ build-aarch64 (pull_request) Successful in 1m30s

This commit is contained in:
Antoine Martin 2024-08-26 12:53:39 -04:00
parent 94125acc0e
commit 8b836f6223
Signed by: ayakael
GPG key ID: D62A472A4AA7D541

View file

@ -8,19 +8,32 @@ arch="noarch"
url="https://github.com/obynio/certbot-plugin-gandi" url="https://github.com/obynio/certbot-plugin-gandi"
license="MIT" license="MIT"
depends="certbot" depends="certbot"
makedepends="py3-setuptools" makedepends="
py3-setuptools
py3-gpep517
py3-wheel
"
subpackages="$pkgname-pyc"
options="!check" # No test suite
source=" source="
$pkgname-$pkgver.tar.gz::https://github.com/obynio/certbot-plugin-gandi/archive/refs/tags/$pkgver.tar.gz $pkgname-$pkgver.tar.gz::https://github.com/obynio/certbot-plugin-gandi/archive/refs/tags/$pkgver.tar.gz
gandi.ini gandi.ini
" "
builddir="$srcdir"/certbot-plugin-gandi-$pkgver
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() { package() {
python setup.py install --root="$pkgdir" python3 -m installer -d "$pkgdir" \
.dist/*.whl
mkdir -p "$pkgdir"/etc/letsencrypt mkdir -p "$pkgdir"/etc/letsencrypt
mkdir -p "$pkgdir"/usr/lib/systemd/system
mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
install -m 0600 "$srcdir"/gandi.ini "$pkgdir"/etc/letsencrypt/gandi.ini install -m 0600 "$srcdir"/gandi.ini "$pkgdir"/etc/letsencrypt/gandi.ini
} }
sha512sums=" sha512sums="
0688baec8e6de429eed12f9d85b28f47384a5bd8cd01615d94e55e38fdaf35c01707ee1ef1ec3e9196c1de06df7087798f3f5a19f07bd446f1d3fd2442b2d702 certbot-dns-gandi-1.5.0.tar.gz 0688baec8e6de429eed12f9d85b28f47384a5bd8cd01615d94e55e38fdaf35c01707ee1ef1ec3e9196c1de06df7087798f3f5a19f07bd446f1d3fd2442b2d702 certbot-dns-gandi-1.5.0.tar.gz
7bdfd769c8a7256a8c2d171f1c8fa4c16bea7c1abcd3442603face90834efb5f9c0d9aec54f57fc83421588c0349acbc3554d4987cb7498a7e833481b01dd712 gandi.ini 7bdfd769c8a7256a8c2d171f1c8fa4c16bea7c1abcd3442603face90834efb5f9c0d9aec54f57fc83421588c0349acbc3554d4987cb7498a7e833481b01dd712 gandi.ini