[arch-commits] Commit in certbot-dns-hetzner/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 18:59:58 UTC 2020
Date: Thursday, November 12, 2020 @ 18:59:58
Author: felixonmars
Revision: 753301
archrelease: copy trunk to community-staging-any
Added:
certbot-dns-hetzner/repos/community-staging-any/
certbot-dns-hetzner/repos/community-staging-any/PKGBUILD
(from rev 753299, certbot-dns-hetzner/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: certbot-dns-hetzner/repos/community-staging-any/PKGBUILD (from rev 753299, certbot-dns-hetzner/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 18:59:58 UTC (rev 753301)
@@ -0,0 +1,30 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+pkgname=certbot-dns-hetzner
+pkgdesc="Certbot plugin enabling dns-01 challenge on the Hetzner DNS API"
+pkgver=1.0.4
+pkgrel=2
+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/${pkgver}.tar.gz")
+sha256sums=('6a7a09e6388991444c42b717a464ad63c50368e6895b7b208c1a494ca03edd6d')
+
+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