[arch-commits] Commit in letsencrypt/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Tue Mar 1 10:04:40 UTC 2016
Date: Tuesday, March 1, 2016 @ 11:04:40
Author: fyan
Revision: 163863
upgpkg: letsencrypt 0.4.1-1
Modified:
letsencrypt/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-01 10:04:08 UTC (rev 163862)
+++ PKGBUILD 2016-03-01 10:04:40 UTC (rev 163863)
@@ -3,7 +3,7 @@
# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
pkgname=letsencrypt
-pkgver=0.4.0
+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')
@@ -17,27 +17,32 @@
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})
+source=("https://pypi.python.org/packages/source/l/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
validpgpkeys=('148C30F6F7E429337A72D992B00B9CC82D7ADF2C'
'1B41B758F9A78C7F444C20FA3E5B4152E3ADB1FD'
'A2CFB51FA275A7286234E7B24D17C995CD9775F2')
-md5sums=('dfa7c9e9f1d2cb2a1cda6d861a16c7f5'
+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}"
+ cd "$srcdir"/$pkgname-$pkgver
python2 setup.py build
}
check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$srcdir"/$pkgname-$pkgver
python2 setup.py test
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- python2 setup.py install --root="${pkgdir}"
+ 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
+ mkdir -p "$pkgdir"/{etc,var/lib,var/log}/letsencrypt
+ chmod 700 "$pkgdir"/var/log/letsencrypt
}
More information about the arch-commits
mailing list