community/certbot-apache: new aport

This commit is contained in:
Francesco Colista 2019-12-15 10:14:34 +00:00
parent 86f3d2bec7
commit f334d8cecf

View File

@ -0,0 +1,28 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="certbot-apache"
pkgver="1.0.0"
pkgrel=0
pkgdesc="Apache plugin for Certbot client"
url="https://pypi.python.org/pypi/$pkgname"
arch="noarch"
license="Apache"
depends="certbot py3-acme py3-mock py3-augeas
py3-setuptools py3-zope-component py3-zope-interface"
checkdepends="py3-pytest"
source="https://pypi.io/packages/source/c/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="25cfaf8d58f52c502cf7a0cc70f279ccc7eb44f16dc509b32cd15310fff52c5b92c2cf0ecbc55abab830659219cf4c458363dfd4b8391d23f098d5afce3f636d certbot-apache-1.0.0.tar.gz"