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

Felix Yan felixonmars at archlinux.org
Fri May 26 02:11:28 UTC 2017


    Date: Friday, May 26, 2017 @ 02:11:27
  Author: felixonmars
Revision: 230390

archrelease: copy trunk to community-staging-any

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

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

Copied: certbot/repos/community-staging-any/PKGBUILD (from rev 230389, certbot/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-05-26 02:11:27 UTC (rev 230390)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=certbot
+pkgver=0.14.2
+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://letsencrypt.org/"
+depends=('ca-certificates' "python-acme=$pkgver" 'python-configargparse' 'python-configobj'
+         'python-cryptography' 'python-pyopenssl' 'python-mock' 'python-parsedatetime'
+         'python-pytz' 'python-setuptools' 'python-six' 'python-zope-component'
+         'python-zope-interface')
+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=('971977e60a544c0836876a6ee0509f581519a6edc9a0358ef6d80e079ffa0f29cf58cb9be1913787f6728edaf1aaafd8459a7728964919f1584cfc86ac8b5ae2'
+            'SKIP')
+
+prepare() {
+  sed -i "/'argparse',/d" $pkgname-$pkgver/setup.py
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/$pkgname-$pkgver
+  python setup.py test
+}
+
+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