[arch-commits] Commit in certbot-nginx/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 19:40:44 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:40:44
  Author: felixonmars
Revision: 753571

archrelease: copy trunk to community-staging-any

Added:
  certbot-nginx/repos/community-staging-any/
  certbot-nginx/repos/community-staging-any/PKGBUILD
    (from rev 753569, certbot-nginx/trunk/PKGBUILD)

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

Copied: certbot-nginx/repos/community-staging-any/PKGBUILD (from rev 753569, certbot-nginx/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:40:44 UTC (rev 753571)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=certbot-nginx
+pkgver=1.9.0
+pkgrel=2
+pkgdesc="Nginx plugin for Let’s Encrypt client"
+arch=('any')
+license=('Apache')
+url="https://pypi.python.org/pypi/$pkgname"
+depends=('certbot' 'python-acme' 'python-mock' 'python-pyopenssl' 'python-pyparsing'
+         'python-setuptools' 'python-zope-interface')
+checkdepends=('python-pytest')
+replaces=("letsencrypt-nginx")
+source=("https://pypi.io/packages/source/c/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('148C30F6F7E429337A72D992B00B9CC82D7ADF2C'
+              '1B41B758F9A78C7F444C20FA3E5B4152E3ADB1FD'
+              'A2CFB51FA275A7286234E7B24D17C995CD9775F2')
+sha512sums=('a718dab7cd157823eb07ce7bf3f341d5f2898341612e5f85b8daadcd85529d6fa4e230b6aab391369792f87cdff40367ab958a39a0847c20656e9435aa0a1cfe'
+            'SKIP')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/$pkgname-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  python setup.py install --root="$pkgdir"
+}


More information about the arch-commits mailing list