summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2015-02-10 11:19:55 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2015-02-10 11:19:55 +0000
commitdfa78e4567c94491f2510a5c041ea838ac3d5b1d (patch)
tree3b3f39b5c159e2a2df7f4160e51362cbe7ae346c
parentSimple framework for creating REST APIs. (diff)
Flask-OAuthlib is an extension to Flask that allows you to interact
with remote OAuth enabled applications. On the client site, it is a replacement for Flask-OAuth. But it does more than that, it also helps you to create OAuth providers. WWW: https://github.com/lepture/flask-oauthlib/
-rw-r--r--www/Makefile1
-rw-r--r--www/py-flask-oauthlib/Makefile22
-rw-r--r--www/py-flask-oauthlib/distinfo2
-rw-r--r--www/py-flask-oauthlib/pkg-descr6
4 files changed, 31 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 9956cb663329..05688b7dbc2b 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1542,6 +1542,7 @@
SUBDIR += py-flask-admin
SUBDIR += py-flask-cache
SUBDIR += py-flask-flatpages
+ SUBDIR += py-flask-oauthlib
SUBDIR += py-flask-restful
SUBDIR += py-flask-sockets
SUBDIR += py-flask-uploads
diff --git a/www/py-flask-oauthlib/Makefile b/www/py-flask-oauthlib/Makefile
new file mode 100644
index 000000000000..863d4eeb58bb
--- /dev/null
+++ b/www/py-flask-oauthlib/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= Flask-OAuthlib
+PORTVERSION= 0.9.0
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= rm@FreeBSD.org
+COMMENT= OAuthlib for Flask
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>0:${PORTSDIR}/www/py-flask \
+ ${PYTHON_PKGNAMEPREFIX}oauthlib>0:${PORTSDIR}/security/py-oauthlib \
+ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>0:${PORTSDIR}/www/py-requests-oauthlib
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/www/py-flask-oauthlib/distinfo b/www/py-flask-oauthlib/distinfo
new file mode 100644
index 000000000000..3c270e0b7271
--- /dev/null
+++ b/www/py-flask-oauthlib/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Flask-OAuthlib-0.9.0.tar.gz) = 719a63e04f163602b75183625dc5c604888034c5ade339c5fa80c0eb964690d5
+SIZE (Flask-OAuthlib-0.9.0.tar.gz) = 33339
diff --git a/www/py-flask-oauthlib/pkg-descr b/www/py-flask-oauthlib/pkg-descr
new file mode 100644
index 000000000000..49debc42dea7
--- /dev/null
+++ b/www/py-flask-oauthlib/pkg-descr
@@ -0,0 +1,6 @@
+Flask-OAuthlib is an extension to Flask that allows you to interact
+with remote OAuth enabled applications. On the client site, it is a
+replacement for Flask-OAuth. But it does more than that, it also
+helps you to create OAuth providers.
+
+WWW: https://github.com/lepture/flask-oauthlib/