summaryrefslogtreecommitdiff
path: root/user/py3-josepy/APKBUILD
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-11-21 03:19:55 -0800
committerzlg <zlg@zlg.space>2018-11-21 03:35:29 -0800
commit6d6595d6c6e3084e2155e75a2bd7806bfeb3d230 (patch)
treeb00ed86687d491b2f3b7b7a90930670a8d836a30 /user/py3-josepy/APKBUILD
parente3eb275c58d2891088ad8e028cdb81aa24bfc53a (diff)
downloadpackages-6d6595d6c6e3084e2155e75a2bd7806bfeb3d230.tar.gz
packages-6d6595d6c6e3084e2155e75a2bd7806bfeb3d230.tar.bz2
packages-6d6595d6c6e3084e2155e75a2bd7806bfeb3d230.tar.xz
packages-6d6595d6c6e3084e2155e75a2bd7806bfeb3d230.zip
user/py3-josepy: new package
Diffstat (limited to 'user/py3-josepy/APKBUILD')
-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"