Date: Sunday, April 30, 2023 @ 00:27:07
  Author: grawlinson
Revision: 1454833

archrelease: copy trunk to community-testing-any

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

----------+
 PKGBUILD |  122 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 63 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-30 00:26:15 UTC (rev 1454832)
+++ PKGBUILD    2023-04-30 00:27:07 UTC (rev 1454833)
@@ -1,59 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Felix Yan <[email protected]>
-
-pkgname=certbot-dns-linode
-pkgver=2.3.0
-pkgrel=2
-pkgdesc="Linode DNS Authenticator plugin for Certbot"
-arch=('any')
-license=('Apache')
-url="https://pypi.python.org/pypi/$pkgname";
-depends=(
-  "certbot=$pkgver"
-  "python-acme=$pkgver"
-  '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'
-              '20F201346BF8F3F455A73F9A780CC99432A28621'
-              'F2871B4152AE13C49519111F447BF683AA3B26C3')
-sha512sums=('007414af12f9a22983f53e015f03192d791aa87094f9bad3782b2b2e2aae27f16b6309a7504bf0f9a89ba7a4234b377a6b11351f3d551c4592907ce057c4ff91'
-            'SKIP')
-b2sums=('8b1c4ffff97ac97fa7a941c6ec0ff82a6e9a34e72c8dee7fad99d6a40545ed99e1a006629ffdc96fcda759cb4097c298ec35e43f4d97588c10188e7cf9c9f811'
-        '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
-}

Copied: certbot-dns-linode/repos/community-testing-any/PKGBUILD (from rev 
1454832, certbot-dns-linode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-30 00:27:07 UTC (rev 1454833)
@@ -0,0 +1,63 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Felix Yan <[email protected]>
+
+pkgname=certbot-dns-linode
+pkgver=2.5.0
+pkgrel=1
+pkgdesc='Linode DNS Authenticator plugin for Certbot'
+arch=('any')
+license=('Apache')
+url='https://pypi.python.org/pypi/certbot-dns-linode'
+depends=(
+  "certbot=$pkgver"
+  "python-acme=$pkgver"
+  'dns-lexicon'
+)
+makedepends=(
+  'git'
+  'python-build'
+  'python-wheel'
+  'python-installer'
+)
+checkdepends=('python-pytest')
+# git repository is used because certbot is a huge monorepo and it's easier to
+# share the entire repository across all certbot related packages than a few
+# hundred tarballs.
+_commit='3c667e8fffc2f6f4304f284ea52531bbf750a6c4'
+_repo='github.com-certbot-certbot'
+source=("$_repo::git+https://github.com/certbot/certbot#commit=$_commit";)
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$_repo"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$_repo/$pkgname"
+
+  # nuke setuptools from orbit ^W install_requires
+  sed \
+    -e '/setuptools>=/d' \
+    -i setup.py
+}
+
+build() {
+  cd "$_repo/$pkgname"
+
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd "$_repo/$pkgname"
+
+  # https://github.com/certbot/certbot/issues/9606
+  pytest -v -W ignore::DeprecationWarning
+}
+
+package() {
+  cd "$_repo/$pkgname"
+
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}

Reply via email to