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

                                         

                        
            





                                                    
                                                      





                                                                                               




                              

                                                               
                                                                                                                                                                  
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-josepy
_pkgname=${pkgname#py3-}
pkgver=1.2.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() {
	python3 setup.py build
}

package() {
	mkdir -p "$pkgdir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="25a360b3893e1c1c524440b02e0af66c6dfefd756cebdad1c27ae8a82461200448a9c8fc835747e160cbcbb63261a4f79d7765eaae5e0b19feea5bf84d5e8896  josepy-1.2.0.tar.gz"