1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/community/certbot-nginx/APKBUILD
2019-12-15 10:14:23 +00:00

28 lines
832 B
Text

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="certbot-nginx"
pkgver="1.0.0"
pkgrel=0
pkgdesc="Nginx plugin for Certbot client"
url="https://pypi.python.org/pypi/$pkgname"
arch="noarch"
license="Apache"
depends="certbot py3-acme py3-mock py3-openssl py3-parsing
py3-setuptools 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="fd55f981744c5a4bbd54c37e4de7180098717c8a0047f55507c9ad05e86d3c917e5dcd1fe0fa0207935e590d918f922ff645a09fb6e6496c04536d5319672641 certbot-nginx-1.0.0.tar.gz"