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

George Rawlinson grawlinson at gemini.archlinux.org
Wed Mar 23 06:13:57 UTC 2022


    Date: Wednesday, March 23, 2022 @ 06:13:56
  Author: grawlinson
Revision: 1171226

archrelease: copy trunk to community-testing-any

Added:
  certbot-dns-luadns/repos/community-testing-any/
  certbot-dns-luadns/repos/community-testing-any/PKGBUILD
    (from rev 1171225, certbot-dns-luadns/trunk/PKGBUILD)

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

Copied: certbot-dns-luadns/repos/community-testing-any/PKGBUILD (from rev 1171225, certbot-dns-luadns/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-03-23 06:13:56 UTC (rev 1171226)
@@ -0,0 +1,57 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=certbot-dns-luadns
+pkgver=1.25.0
+pkgrel=1
+pkgdesc="LuaDNS DNS Authenticator plugin for Certbot"
+arch=('any')
+license=('Apache')
+url="https://pypi.python.org/pypi/$pkgname"
+depends=(
+  'certbot'
+  'python-acme'
+  'dns-lexicon'
+)
+makedepends=(
+  'python-build'
+  'python-wheel'
+  'python-installer'
+)
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('148C30F6F7E429337A72D992B00B9CC82D7ADF2C'
+              '1B41B758F9A78C7F444C20FA3E5B4152E3ADB1FD'
+              'A2CFB51FA275A7286234E7B24D17C995CD9775F2'
+              '86379B4F0AF371B50CD9E5FF3402831161D1D280')
+sha512sums=('18b2a058fbcd9e78e33843363194433deeae4248a5a7530264064b1158ac1f0f033ae890ddb994589cbf02b5046060b8e7795538d42c1afbdeb556baa4355563'
+            'SKIP')
+b2sums=('a04804e53cb08ccf6e1565ed97203e97fd89fccaa2fd8ee8154bab70bf5622245172f66af150baa89b3fa4b2d3b1bac798e68244f7367df3b805daba811688d5'
+        'SKIP')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # nuke setuptools from orbit ^W install_requires
+  sed \
+    -e '/setuptools>=/d' \
+    -i setup.py
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+
+  python -m pytest
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list