Commit 89abec42 authored by Francesco Colista's avatar Francesco Colista

community/py3-acme: new aport

acme is no longer a subpackage of certbot but is still a dependency.
parent 84cb68ed
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment