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

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


    Date: Wednesday, March 23, 2022 @ 06:13:16
  Author: grawlinson
Revision: 1171224

archrelease: copy trunk to community-testing-any

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

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

Copied: certbot-dns-linode/repos/community-testing-any/PKGBUILD (from rev 1171223, certbot-dns-linode/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2022-03-23 06:13:16 UTC (rev 1171224)
@@ -0,0 +1,57 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=certbot-dns-linode
+pkgver=1.25.0
+pkgrel=1
+pkgdesc="Linode 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=('9535a31f478feb481dbc72b25fcfe449341698807a0f54a6a0dfab6e4101e5af0aa6fd8a4a59359c81a697e4022ba37df7a55ef6f10b659b5c7eb6fc9612322d'
+            'SKIP')
+b2sums=('98ffb48ae6c1169dec7e234c7780d7a66b2c323633d42a9ee7408f4aa314107e024c865444547d778143470b84743816223425e3f512cc807cf30f1f4b6ce8aa'
+        '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