[arch-commits] Commit in certbot-nginx/repos (2 files)
George Rawlinson
grawlinson at gemini.archlinux.org
Wed Mar 23 06:17:59 UTC 2022
Date: Wednesday, March 23, 2022 @ 06:17:59
Author: grawlinson
Revision: 1171238
archrelease: copy trunk to community-testing-any
Added:
certbot-nginx/repos/community-testing-any/
certbot-nginx/repos/community-testing-any/PKGBUILD
(from rev 1171237, certbot-nginx/trunk/PKGBUILD)
----------+
PKGBUILD | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
Copied: certbot-nginx/repos/community-testing-any/PKGBUILD (from rev 1171237, certbot-nginx/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2022-03-23 06:17:59 UTC (rev 1171238)
@@ -0,0 +1,59 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=certbot-nginx
+pkgver=1.25.0
+pkgrel=1
+pkgdesc="Nginx plugin for Certbot"
+arch=('any')
+license=('Apache')
+url="https://pypi.python.org/pypi/$pkgname"
+depends=(
+ 'certbot'
+ 'python-acme'
+ 'python-pyopenssl'
+ 'python-pyparsing'
+)
+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=('c095864060e1cd7799dc4a81c8cef7b978553f8ed6be4ef48affead294f6f28dc2cb15ec7bcba1f1b90b5fc50fe8a24463d7eb68e16c12e4579ddcea812594e4'
+ 'SKIP')
+b2sums=('fb670fbfebea795987885c966141202c97e633df7d3b36be581153feed3ece2d6a28b6510aa1fba016e88591fb25b3209c95c885b46a2b5dc016fa6d8c303ea8'
+ '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