aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-acme/APKBUILD
blob: 04f2163f8298227462ce3a9d92acff2a59fd5816 (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
29
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="py3-acme"
pkgver="1.0.0"
pkgrel=0
pkgdesc="ACME protocol implementation in Python"
url="https://github.com/certbot/certbot"
arch="noarch"
license="Apache"
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-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="ef10d518938530f8a5f970d35a0d39129c2cc10edbe4aacb89e98e58a297b6961ea965ba7cfcd0242f56b722b67b91b5b94c7e50ddf36dfc70f46e106c24fea8  acme-1.0.0.tar.gz"