aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-12-15 10:14:23 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-12-15 10:14:23 +0000
commit86f3d2bec7e1bdb041c29534bbe7235dcb74eb93 (patch)
tree85efd7614502f5c908cded407b7a5f90215a429b
parentf123c0b5edb213245ffe8084407de6b0633d6df5 (diff)
downloadaports-86f3d2bec7e1bdb041c29534bbe7235dcb74eb93.tar.gz
aports-86f3d2bec7e1bdb041c29534bbe7235dcb74eb93.tar.bz2
aports-86f3d2bec7e1bdb041c29534bbe7235dcb74eb93.tar.xz
community/certbot-nginx: new aport
-rw-r--r--community/certbot-nginx/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/certbot-nginx/APKBUILD b/community/certbot-nginx/APKBUILD
new file mode 100644
index 0000000000..f0038092f4
--- /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"