[arch-commits] Commit in certbot-dns-rfc2136/repos (2 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Wed Mar 23 06:15:56 UTC 2022
Date: Wednesday, March 23, 2022 @ 06:15:56
Author: grawlinson
Revision: 1171232
archrelease: copy trunk to community-testing-any
Added:
certbot-dns-rfc2136/repos/community-testing-any/
certbot-dns-rfc2136/repos/community-testing-any/PKGBUILD
(from rev 1171231, certbot-dns-rfc2136/trunk/PKGBUILD)
----------+
PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
Copied: certbot-dns-rfc2136/repos/community-testing-any/PKGBUILD (from rev 1171231, certbot-dns-rfc2136/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2022-03-23 06:15:56 UTC (rev 1171232)
@@ -0,0 +1,57 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=certbot-dns-rfc2136
+pkgver=1.25.0
+pkgrel=1
+pkgdesc="RFC2136 DNS Authenticator plugin for Certbot"
+arch=('any')
+license=('Apache')
+url="https://pypi.python.org/pypi/$pkgname"
+depends=(
+ 'certbot'
+ 'python-acme'
+ 'python-dnspython'
+)
+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=('231c5bf88f56b6296e362a0306310b1aaa035eee653519a2f7ffe6ec2ebc238e7d546dd6a2150e634eb2e902c620ca0a49b84016ddb16e61e3c7d0d75dc7b43a'
+ 'SKIP')
+b2sums=('317c44e77a7364cbbd0c5e3853587b13cc22476d50bc8512b5c8485716f260dcac2cda931128cc1590cf91f90bd0a987e79d811ac9c678f5bac271115919c49c'
+ '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