pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www Provides views to redirect incoming request to ano...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a4e4cdeb535
branches:  trunk
changeset: 363298:2a4e4cdeb535
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jun 05 15:23:01 2017 +0000

description:
Provides views to redirect incoming request to another API server.

Features:
* Masquerade paths
* HTTP Basic Auth (between your API and backend API)
* Token Auth
* Supported methods: GET/POST/PUT/PATCH
* File uploads

diffstat:

 www/Makefile                                |   3 ++-
 www/py-django-rest-framework-proxy/DESCR    |   8 ++++++++
 www/py-django-rest-framework-proxy/Makefile |  18 ++++++++++++++++++
 www/py-django-rest-framework-proxy/PLIST    |  24 ++++++++++++++++++++++++
 www/py-django-rest-framework-proxy/distinfo |   6 ++++++
 5 files changed, 58 insertions(+), 1 deletions(-)

diffs (89 lines):

diff -r bee117856444 -r 2a4e4cdeb535 www/Makefile
--- a/www/Makefile      Mon Jun 05 15:22:56 2017 +0000
+++ b/www/Makefile      Mon Jun 05 15:23:01 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1245 2017/06/04 15:27:21 taca Exp $
+# $NetBSD: Makefile,v 1.1246 2017/06/05 15:23:01 adam Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -629,6 +629,7 @@
 SUBDIR+=       py-django-photologue
 SUBDIR+=       py-django-polymorphic
 SUBDIR+=       py-django-registration
+SUBDIR+=       py-django-rest-framework-proxy
 SUBDIR+=       py-django-reversion
 SUBDIR+=       py-django-sekizai
 SUBDIR+=       py-django-south
diff -r bee117856444 -r 2a4e4cdeb535 www/py-django-rest-framework-proxy/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-rest-framework-proxy/DESCR  Mon Jun 05 15:23:01 2017 +0000
@@ -0,0 +1,8 @@
+Provides views to redirect incoming request to another API server.
+
+Features:
+* Masquerade paths
+* HTTP Basic Auth (between your API and backend API)
+* Token Auth
+* Supported methods: GET/POST/PUT/PATCH
+* File uploads
diff -r bee117856444 -r 2a4e4cdeb535 www/py-django-rest-framework-proxy/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-rest-framework-proxy/Makefile       Mon Jun 05 15:23:01 2017 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/06/05 15:23:01 adam Exp $
+
+DISTNAME=      django-rest-framework-proxy-1.6.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    www python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-rest-framework-proxy/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://github.com/eofs/django-rest-framework-proxy/
+COMMENT=       Easy proxying of incoming REST requests
+LICENSE=       modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-djangorestframework-[0-9]*:../../www/py-django
+
+USE_LANGUAGES=         # empty
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bee117856444 -r 2a4e4cdeb535 www/py-django-rest-framework-proxy/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-rest-framework-proxy/PLIST  Mon Jun 05 15:23:01 2017 +0000
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/05 15:23:01 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/rest_framework_proxy/__init__.py
+${PYSITELIB}/rest_framework_proxy/__init__.pyc
+${PYSITELIB}/rest_framework_proxy/__init__.pyo
+${PYSITELIB}/rest_framework_proxy/adapters.py
+${PYSITELIB}/rest_framework_proxy/adapters.pyc
+${PYSITELIB}/rest_framework_proxy/adapters.pyo
+${PYSITELIB}/rest_framework_proxy/models.py
+${PYSITELIB}/rest_framework_proxy/models.pyc
+${PYSITELIB}/rest_framework_proxy/models.pyo
+${PYSITELIB}/rest_framework_proxy/settings.py
+${PYSITELIB}/rest_framework_proxy/settings.pyc
+${PYSITELIB}/rest_framework_proxy/settings.pyo
+${PYSITELIB}/rest_framework_proxy/utils.py
+${PYSITELIB}/rest_framework_proxy/utils.pyc
+${PYSITELIB}/rest_framework_proxy/utils.pyo
+${PYSITELIB}/rest_framework_proxy/views.py
+${PYSITELIB}/rest_framework_proxy/views.pyc
+${PYSITELIB}/rest_framework_proxy/views.pyo
diff -r bee117856444 -r 2a4e4cdeb535 www/py-django-rest-framework-proxy/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-rest-framework-proxy/distinfo       Mon Jun 05 15:23:01 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/06/05 15:23:01 adam Exp $
+
+SHA1 (django-rest-framework-proxy-1.6.0.tar.gz) = 467b76deedc780ad98e4f04717032f5b46f288b2
+RMD160 (django-rest-framework-proxy-1.6.0.tar.gz) = f99136514aa74af41d987045029797d863db9334
+SHA512 (django-rest-framework-proxy-1.6.0.tar.gz) = 9ab5d95dc3e6693c948b11ea19e83ac95afeed519a7e9ed6916339e5065daf44c62c3766ec8c68855bc8abd172c0589c2bc13ac24f6eabdb8333370599603db3
+Size (django-rest-framework-proxy-1.6.0.tar.gz) = 5292 bytes



Home | Main Index | Thread Index | Old Index