summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRiccardo Berto2018-10-19 19:09:15 +0200
committerRiccardo Berto2018-10-19 19:09:15 +0200
commitadde519a38c156870d5e9f4aaf9d55064a847cc9 (patch)
tree16f54d13bfffa57f34a30c8e37ebecc0e808bb96
downloadaur-adde519a38c156870d5e9f4aaf9d55064a847cc9.tar.gz
First commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..76d0eacdb85
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = python-authlib
+ pkgdesc = The ultimate Python library in building OAuth and OpenID Connect servers.
+ pkgver = 0.10
+ pkgrel = 1
+ url = https://authlib.org/
+ arch = any
+ license = AGPL
+ makedepends = python-setuptools
+ depends = python
+ source = https://files.pythonhosted.org/packages/source/a/authlib/Authlib-0.10.tar.gz
+ md5sums = 59e09d688d9d6b01ca68e5deb8f29f7e
+
+pkgname = python-authlib
+ depends = python
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..efa4a2707bb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+pkgbase=('python-authlib')
+pkgname=('python-authlib')
+_module='Authlib'
+pkgver='0.10'
+pkgrel=1
+pkgdesc="The ultimate Python library in building OAuth and OpenID Connect servers."
+url="https://authlib.org/"
+depends=('python')
+makedepends=('python-setuptools')
+license=('AGPL')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/a/authlib/Authlib-${pkgver}.tar.gz")
+md5sums=('59e09d688d9d6b01ca68e5deb8f29f7e')
+
+build() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ depends+=()
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}