[arch-commits] Commit in certbot-dns-route53/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Wed Mar 23 06:16:09 UTC 2022
Date: Wednesday, March 23, 2022 @ 06:16:08
Author: grawlinson
Revision: 1171233
upgpkg: certbot-dns-route53 1.25.0-1
Modified:
certbot-dns-route53/trunk/PKGBUILD
----------+
PKGBUILD | 50 +++++++++++++++++++++++++++++++++++++-------------
1 file changed, 37 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-23 06:15:56 UTC (rev 1171232)
+++ PKGBUILD 2022-03-23 06:16:08 UTC (rev 1171233)
@@ -1,33 +1,57 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
pkgname=certbot-dns-route53
-pkgver=1.19.0
-pkgrel=2
+pkgver=1.25.0
+pkgrel=1
pkgdesc="Route53 DNS Authenticator plugin for Certbot"
arch=('any')
license=('Apache')
url="https://pypi.python.org/pypi/$pkgname"
-depends=('certbot' 'python-acme' 'python-boto3' 'python-mock' 'python-setuptools'
- 'python-zope-interface')
+depends=(
+ 'certbot'
+ 'python-acme'
+ 'python-boto3'
+)
+makedepends=(
+ 'python-build'
+ 'python-wheel'
+ 'python-installer'
+)
checkdepends=('python-pytest')
-source=("https://pypi.io/packages/source/c/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
validpgpkeys=('148C30F6F7E429337A72D992B00B9CC82D7ADF2C'
'1B41B758F9A78C7F444C20FA3E5B4152E3ADB1FD'
- 'A2CFB51FA275A7286234E7B24D17C995CD9775F2')
-sha512sums=('91e70e1c35d10ae41bb82b0ee6b4eb1b44fff21d6cbcfed7994de7ce9e6f33b559b51e0802b85877f0a4520864ff6f0e5da85f19a0c8578bafddd6c5cca561ce'
+ 'A2CFB51FA275A7286234E7B24D17C995CD9775F2'
+ '86379B4F0AF371B50CD9E5FF3402831161D1D280')
+sha512sums=('8c420b74e4406adfb022df4d72f01427143b951f9875487104d8bbab6f4bccc8f5d0cd2d1a18b742c73aa112485bf8c59b9b794dd6d826a0f6cee77c419dbf6e'
'SKIP')
+b2sums=('3dcd7f35b9a770a6ee107ab5d397ee75d8e49e225f8b9cf9ac129257a5d69cbd68213f3c496068d1dc894459c0f960cf0ece83eb895f511381fb79f5ba75ef95'
+ 'SKIP')
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # nuke setuptools from orbit ^W install_requires
+ sed \
+ -e '/setuptools>=/d' \
+ -i setup.py
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
- python setup.py build
+ cd "$pkgname-$pkgver"
+
+ python -m build --wheel --no-isolation
}
check() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$pkgname-$pkgver"
+
python -m pytest
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- python setup.py install --root="$pkgdir"
+ cd "$pkgname-$pkgver"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
More information about the arch-commits
mailing list