[arch-commits] Commit in certbot/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Jan 27 09:15:08 UTC 2018
Date: Saturday, January 27, 2018 @ 09:15:06
Author: felixonmars
Revision: 287387
archrelease: copy trunk to community-staging-any
Added:
certbot/repos/community-staging-any/
certbot/repos/community-staging-any/PKGBUILD
(from rev 287386, certbot/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: certbot/repos/community-staging-any/PKGBUILD (from rev 287386, certbot/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-01-27 09:15:06 UTC (rev 287387)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=certbot
+pkgver=0.21.1
+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=('5ba07e8576aaeafe8e1cb1c62f1695a80f21e0ef0db0753ee8fde1513e5d520f36103dd842ab1a5ce9df9166cf4755ca3bd9f46fe37a8e0c08a5f4a72b7008ef'
+ '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
+}
More information about the arch-commits
mailing list