aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-acme/APKBUILD
blob: e7758f2be95ea8f663d1df0639b7c2e1e780b95e (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.10.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="1461a616d6e0c16f535e23d7cb6fbb66abdca3343d63c9bec21ecf2a46d6a46c6288436e9cbf5f921237ff65f9b896fe86f9cc6229827fde0daf010bc06e1ce5  acme-1.10.0.tar.gz"