diff options
-rw-r--r-- | community/certbot-nginx/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community/certbot-nginx/APKBUILD b/community/certbot-nginx/APKBUILD new file mode 100644 index 00000000000..f0038092f4d --- /dev/null +++ b/community/certbot-nginx/APKBUILD @@ -0,0 +1,28 @@ +# 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" |