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

Felix Yan felixonmars at archlinux.org
Sat Sep 9 06:13:30 UTC 2017


    Date: Saturday, September 9, 2017 @ 06:13:30
  Author: felixonmars
Revision: 256510

archrelease: copy trunk to community-staging-any

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

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

Copied: certbot-apache/repos/community-staging-any/PKGBUILD (from rev 256509, certbot-apache/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-09-09 06:13:30 UTC (rev 256510)
@@ -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.18.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=('e246ef7509f6dedd809019741f2cf827e0db152c4f390b5227e9c71dac1f7d5fc10255698c32697cadb9aa3a452b6ddc54050fd5a0e0f6d8fedd8ab4657b1afa'
+            '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
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+}



More information about the arch-commits mailing list