aboutsummaryrefslogtreecommitdiffstats
path: root/community/certbot-apache/APKBUILD
blob: ef86770bf0bbe019d65c4245fb521d56a4b912bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"