Date: Thursday, March 8, 2018 @ 01:58:12
  Author: felixonmars
Revision: 304169

archrelease: copy trunk to community-staging-any

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

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

Copied: certbot/repos/community-staging-any/PKGBUILD (from rev 304168, 
certbot/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2018-03-08 01:58:12 UTC (rev 304169)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=certbot
+pkgver=0.22.0
+pkgrel=1
+pkgdesc="A tool to automatically receive and install X.509 certificates to 
enable TLS on servers. The client will interoperate with the Let’s Encrypt CA 
which will be issuing browser-trusted certificates for free."
+arch=('any')
+license=('Apache')
+url="https://certbot.eff.org";
+depends=('ca-certificates' "python-acme=$pkgver" 'python-configargparse' 
'python-configobj'
+         'python-cryptography' 'python-mock' 'python-parsedatetime' 
'python-pyrfc3339'
+         'python-pytz' 'python-setuptools' 'python-zope-component' 
'python-zope-interface')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+optdepends=("certbot-apache: Apache plugin for Let’s Encrypt client"
+            "certbot-nginx: Nginx plugin for Let’s Encrypt client")
+replaces=("letsencrypt")
+source=("https://pypi.io/packages/source/c/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('148C30F6F7E429337A72D992B00B9CC82D7ADF2C'
+              '1B41B758F9A78C7F444C20FA3E5B4152E3ADB1FD'
+              'A2CFB51FA275A7286234E7B24D17C995CD9775F2')
+sha512sums=('e6c724b277a9343e08b309c15d9023dc5959845197974a08c1642c4c24e40900cf273686e7aaf411407af68962faf5f08ea42aa5f3a3628c01683a159b089a62'
+            'SKIP')
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/$pkgname-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  python setup.py install --root="$pkgdir"
+
+  mkdir -p "$pkgdir"/{etc,var/lib,var/log}/letsencrypt
+  chmod 700 "$pkgdir"/var/log/letsencrypt
+}

Reply via email to