[arch-commits] Commit in certbot-dns-hetzner/repos (2 files)

Justin Kromlinger hashworks at archlinux.org
Sun Aug 30 08:32:38 UTC 2020


    Date: Sunday, August 30, 2020 @ 08:32:38
  Author: hashworks
Revision: 692502

archrelease: copy trunk to community-any

Added:
  certbot-dns-hetzner/repos/community-any/
  certbot-dns-hetzner/repos/community-any/PKGBUILD
    (from rev 692501, certbot-dns-hetzner/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: certbot-dns-hetzner/repos/community-any/PKGBUILD (from rev 692501, certbot-dns-hetzner/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2020-08-30 08:32:38 UTC (rev 692502)
@@ -0,0 +1,30 @@
+# Maintainer: hashworks <mail at hashworks.net>
+pkgname=certbot-dns-hetzner
+pkgdesc="Certbot plugin enabling dns-01 challenge on the Hetzner DNS API"
+pkgver=1.0.3
+pkgrel=3
+arch=("any")
+url="https://github.com/ctrlaltcoop/certbot-dns-hetzner"
+license=("APACHE")
+depends=("certbot" "python-requests" "python-zope-interface")
+makedepends=("python-setuptools")
+checkdepends=("python-pytest" "python-requests-mock")
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=("86795cdfad16f7b1125dc1680041551c04a2f2d74439d1debd875dbbd8d78bda")
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	python setup.py build
+}
+
+check() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	PYTHONPATH=. pytest
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+	install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+	python setup.py install --root="${pkgdir}" -O1 --skip-build
+}



More information about the arch-commits mailing list