summaryrefslogtreecommitdiff
path: root/user/py3-josepy
diff options
context:
space:
mode:
Diffstat (limited to 'user/py3-josepy')
-rw-r--r--user/py3-josepy/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/py3-josepy/APKBUILD b/user/py3-josepy/APKBUILD
new file mode 100644
index 000000000..2fc91d689
--- /dev/null
+++ b/user/py3-josepy/APKBUILD
@@ -0,0 +1,28 @@
+# 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"