aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRejah Rehim <rejah@beaglesecuruty.com>2021-09-11 13:57:34 +0530
committerLeo <thinkabit.ukim@gmail.com>2021-09-14 02:23:23 +0000
commit43c02247ec33852f5fdb7dae2011070ded901386 (patch)
tree99420677a738598af25f07e5d818fbdc9d7f4c62
parent6dddadd0b4e1074bbc27587795ab340dd0873d77 (diff)
downloadaports-43c02247ec33852f5fdb7dae2011070ded901386.tar.gz
aports-43c02247ec33852f5fdb7dae2011070ded901386.tar.bz2
aports-43c02247ec33852f5fdb7dae2011070ded901386.tar.xz
testing/py3-python-jwt: new aport
https://github.com/davedoesdev/python-jwt Module for generating and verifying JSON Web Tokens
-rw-r--r--testing/py3-python-jwt/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/py3-python-jwt/APKBUILD b/testing/py3-python-jwt/APKBUILD
new file mode 100644
index 0000000000..1cd09f7281
--- /dev/null
+++ b/testing/py3-python-jwt/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Rejah Rehim <rejah@beaglesecurity.com>
+# Maintainer: Rejah Rehim <rejah@beaglesecurity.com>
+pkgname=py3-python-jwt
+_pkgname=python_jwt
+pkgver=3.3.0
+pkgrel=0
+pkgdesc="Module for generating and verifying JSON Web Tokens"
+options="!check" # no test suite
+url="https://github.com/davedoesdev/python-jwt"
+arch="noarch"
+license="MIT"
+depends="python3 py3-jwcrypto"
+makedepends="py3-setuptools"
+subpackages="$pkgname-doc"
+source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+ install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+ install -Dm644 README.md "$pkgdir"/usr/share/licenses/$pkgname/README.md
+}
+
+
+sha512sums="
+dfc5963eb3d374d44711ac42bb983c4cc44ad2e2231792991207d2ef15192bb8b686f0b76e3a324e19e1669f4c4bc06f27871e5072a22046169c54f6916e6fc1 python_jwt-3.3.0.tar.gz
+"