summaryrefslogblamecommitdiff
path: root/user/py3-josepy/APKBUILD
blob: 511139b5b1639cdca11f782a2c9bbd3f1416dac4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                           
                                                      















                                                                                                                                                                  
# 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="python3 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"