Date: Sunday, April 9, 2023 @ 18:11:00
Author: felixonmars
Revision: 1443375
archrelease: copy trunk to community-staging-any
Added:
certbot-dns-sakuracloud/repos/community-staging-any/
certbot-dns-sakuracloud/repos/community-staging-any/PKGBUILD
(from rev 1443374, certbot-dns-sakuracloud/trunk/PKGBUILD)
certbot-dns-sakuracloud/repos/community-staging-any/keys/
----------+
PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
Copied: certbot-dns-sakuracloud/repos/community-staging-any/PKGBUILD (from rev
1443374, certbot-dns-sakuracloud/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-09 18:11:00 UTC (rev 1443375)
@@ -0,0 +1,59 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Felix Yan <[email protected]>
+
+pkgname=certbot-dns-sakuracloud
+pkgver=2.3.0
+pkgrel=2
+pkgdesc="Sakura Cloud 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=('06a7c118095f5fb0466d66f69244ff084a7bb17786bd93caff63e5907d0423411b58831a0c947750cf4f9b9c820aea0d07ef00c9d45ee1d3690d624f252078be'
+ 'SKIP')
+b2sums=('4d59741e6d9cbd304a9029f14406190be627a54dec4c25a3416b2c44d6b7fc3bf4acfc642201019a5da44a27f657f839eed8332ef22d5f48acaad62a2e5962e3'
+ '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
+}