Date: Sunday, April 9, 2023 @ 18:17:57
  Author: felixonmars
Revision: 1443408

archrelease: copy trunk to community-staging-any

Added:
  certbot-apache/repos/community-staging-any/
  certbot-apache/repos/community-staging-any/PKGBUILD
    (from rev 1443407, certbot-apache/trunk/PKGBUILD)
  certbot-apache/repos/community-staging-any/keys/

----------+
 PKGBUILD |   62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

Copied: certbot-apache/repos/community-staging-any/PKGBUILD (from rev 1443407, 
certbot-apache/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-09 18:17:57 UTC (rev 1443408)
@@ -0,0 +1,62 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Felix Yan <[email protected]>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=certbot-apache
+pkgver=2.3.0
+pkgrel=2
+pkgdesc='Apache plugin for Certbot'
+arch=('any')
+license=('Apache')
+url='https://pypi.python.org/pypi/certbot-apache'
+replaces=('letsencrypt-apache')
+depends=(
+  "certbot=$pkgver"
+  "python-acme=$pkgver"
+  'python-augeas'
+  'python-setuptools'
+)
+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=('e18d7d0c879ae4894e683feffbe0d2b2c0baeaec1b0afcfbafe0e32bbf7ede842e706e08033af49653b537cffce4bd9119eae03b73b6dd9026d0698aaa3d0690'
+            'SKIP')
+b2sums=('7ea6466222444555222f50373419f455c73d57c44432740643e0e33f7f9f1c863d456cc107e28dda283c9145770333f79a2277a13f8052499b9e7823d8d4549b'
+        '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
+}

Reply via email to