summaryrefslogblamecommitdiff
path: root/user/py3-josepy/APKBUILD
blob: 2fc91d689f40d8d59e04715a1276facd9f98e1fd (plain) (tree)



























                                                                                                                                                                  
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-josepy
_pkgname=${pkgname#py3-}
pkgver=1.1.0
pkgrel=0
pkgdesc="JOSE protocol implementation in Python"
url="https://github.com/jezdez/josepy"
arch="noarch"
options="!check" # needs flake8, another rabbit hole
license="Apache-2.0"
depends="py3-six py3-cryptography py3-openssl"
makedepends="python3-dev libffi-dev"
subpackages=""
source="$_pkgname-$pkgver.tar.gz::https://github.com/certbot/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

package() {
	mkdir -p "$pkgdir"
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="86533e896c7ca35f035ebb9e3667e36511c6ba693c7e056a0fdc28bec282643ade2eb5223271a7a6a4110b70b82ee5b788cfded8946f0c1133ecb050ca457b77  josepy-1.1.0.tar.gz"