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

Felix Yan fyan at archlinux.org
Tue Mar 1 10:04:57 UTC 2016


    Date: Tuesday, March 1, 2016 @ 11:04:57
  Author: fyan
Revision: 163864

archrelease: copy trunk to community-staging-any

Added:
  letsencrypt/repos/community-staging-any/
  letsencrypt/repos/community-staging-any/PKGBUILD
    (from rev 163863, letsencrypt/trunk/PKGBUILD)

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

Copied: letsencrypt/repos/community-staging-any/PKGBUILD (from rev 163863, letsencrypt/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-03-01 10:04:57 UTC (rev 163864)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=letsencrypt
+pkgver=0.4.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://letsencrypt.org/"
+depends=('ca-certificates' "python2-acme=$pkgver" 'python2-configargparse' 'python2-configobj'
+         'python2-cryptography' 'python2-pyopenssl' 'python2-mock' 'python2-parsedatetime'
+         'python2-psutil' 'python2-pyrfc3339' 'python2-pythondialog' 'python2-pytz'
+         'python2-requests' 'python2-setuptools' 'python2-six' 'python2-zope-component'
+         'python2-zope-interface')
+optdepends=("letsencrypt-apache: Apache plugin for Let’s Encrypt client"
+            "letsencrypt-nginx: Nginx plugin for Let’s Encrypt client")
+checkdepends=('python2-nose')
+source=("https://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('148C30F6F7E429337A72D992B00B9CC82D7ADF2C'
+              '1B41B758F9A78C7F444C20FA3E5B4152E3ADB1FD'
+              'A2CFB51FA275A7286234E7B24D17C995CD9775F2')
+md5sums=('bc6054f28e0251e8b68828e8991a8bbf'
+         'SKIP')
+
+prepare() {
+  # We don't care Python 2.6
+  sed -i 's/parsedatetime<2.0/parsedatetime/' $pkgname-$pkgver/setup.py
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/$pkgname-$pkgver
+  python2 setup.py test
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  python2 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