[arch-commits] Commit in letsencrypt/repos (community-any community-any/PKGBUILD)

Felix Yan fyan at archlinux.org
Sat Nov 14 06:08:52 UTC 2015


    Date: Saturday, November 14, 2015 @ 07:08:52
  Author: fyan
Revision: 146772

archrelease: copy trunk to community-any

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

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

Copied: letsencrypt/repos/community-any/PKGBUILD (from rev 146771, letsencrypt/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-11-14 06:08:52 UTC (rev 146772)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=letsencrypt
+pkgver=0.0.0.dev20151108
+pkgrel=3
+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' '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')
+# To be precise: This package, letsencrypt-nginx, letsencrypt-apache and python2-acme shell all be at
+# the same version, though for easier package management, it is omitted in this PKGBUILD
+conflicts=("${pkgname}-git")
+source=("https://pypi.python.org/packages/source/l/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc})
+validpgpkeys=('148C30F6F7E429337A72D992B00B9CC82D7ADF2C')
+md5sums=('0f7ab3da27f96c637a94092a431c571f'
+         'SKIP')
+
+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