aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-acme/APKBUILD
blob: fb41c65da0a67a001b90e51480a9c1120b85fd82 (plain) (blame)
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
29
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-acme
pkgver=1.11.0
pkgrel=0
pkgdesc="ACME protocol implementation in Python"
url="https://github.com/certbot/certbot"
arch="noarch"
license="Apache-2.0"
depends="py3-setuptools py3-cryptography py3-josepy
	py3-mock py3-openssl py3-pyrfc3339 py3-tz py3-requests
	py3-requests-toolbelt py3-six"
checkdepends="py3-pytest py3-pytest-runner"
source="https://pypi.io/packages/source/a/acme/acme-$pkgver.tar.gz"
builddir="$srcdir/${pkgname/py3-/}-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e92ed082a5f7fff6e94b8e30fefeb12dbad44de823ba553b8f34ad2a6d50fdbe5ec3e36522ff451ddd9aae5f0f86701abf65aeb3b146e03b5dfbf7d887109c4f  acme-1.11.0.tar.gz"