[arch-commits] Commit in certbot-apache/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu May 18 05:17:57 UTC 2017
Date: Thursday, May 18, 2017 @ 05:17:56
Author: felixonmars
Revision: 228424
archrelease: copy trunk to community-staging-any
Added:
certbot-apache/repos/community-staging-any/
certbot-apache/repos/community-staging-any/PKGBUILD
(from rev 228423, certbot-apache/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: certbot-apache/repos/community-staging-any/PKGBUILD (from rev 228423, certbot-apache/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-05-18 05:17:56 UTC (rev 228424)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de>
+
+pkgname=certbot-apache
+pkgver=0.14.1
+pkgrel=1
+pkgdesc="Apache plugin for Let’s Encrypt client"
+arch=('any')
+license=('Apache')
+url="https://pypi.python.org/pypi/$pkgname"
+replaces=("letsencrypt-apache")
+depends=("certbot=$pkgver" "python-acme=$pkgver" 'python-augeas' 'python-mock' 'python-setuptools'
+ 'python-zope-component' 'python-zope-interface')
+source=("https://pypi.io/packages/source/c/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('148C30F6F7E429337A72D992B00B9CC82D7ADF2C'
+ '1B41B758F9A78C7F444C20FA3E5B4152E3ADB1FD'
+ 'A2CFB51FA275A7286234E7B24D17C995CD9775F2')
+sha512sums=('3bd85dd787139183e6fbc4add15a25cc39db045db2aa9e2f0dce650b6d24c60a3e1191c5d5f96630b63121914c3490fa2dd62f8ce633e7d8044b0db9294b58fe'
+ 'SKIP')
+
+prepare() {
+ sed -i "s/'python-augeas<=0.5.0',/'python-augeas',/" $pkgname-$pkgver/setup.py
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $pkgname-$pkgver
+ python setup.py test || warning "Tests failed"
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python setup.py install -O1 --root="$pkgdir"
+}
More information about the arch-commits
mailing list