Date: Sunday, January 15, 2017 @ 15:14:17 Author: felixonmars Revision: 207458
archrelease: copy trunk to community-staging-any Added: certbot-nginx/repos/community-staging-any/ certbot-nginx/repos/community-staging-any/PKGBUILD (from rev 207457, certbot-nginx/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: certbot-nginx/repos/community-staging-any/PKGBUILD (from rev 207457, certbot-nginx/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2017-01-15 15:14:17 UTC (rev 207458) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Gordian Edenhofer <gordian.edenhofer[at]yahoo[dot]de> + +pkgname=certbot-nginx +pkgver=0.10.1 +pkgrel=1 +pkgdesc="Nginx plugin for Let’s Encrypt client" +arch=('any') +license=('Apache') +url="https://pypi.python.org/pypi/$pkgname" +depends=("certbot=$pkgver" "python2-acme=$pkgver" 'python2-pyopenssl' 'python2-pyparsing' + 'python2-setuptools' 'python2-mock' 'python2-zope-interface') +checkdepends=('python2-nose') +replaces=("letsencrypt-nginx") +source=("https://pypi.io/packages/source/c/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc}) +validpgpkeys=('148C30F6F7E429337A72D992B00B9CC82D7ADF2C' + '1B41B758F9A78C7F444C20FA3E5B4152E3ADB1FD' + 'A2CFB51FA275A7286234E7B24D17C995CD9775F2') +md5sums=('f70ad5596c46997fc541d76f8c22cfc6' + 'SKIP') + +build() { + cd "$srcdir"/$pkgname-$pkgver + python2 setup.py build +} + +check() { + cd "$srcdir"/$pkgname-$pkgver + nosetests2 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + python2 setup.py install --root="$pkgdir" +}