summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/py-djangorestframework/DESCR15
-rw-r--r--www/py-djangorestframework/Makefile23
-rw-r--r--www/py-djangorestframework/PLIST145
-rw-r--r--www/py-djangorestframework/distinfo5
4 files changed, 188 insertions, 0 deletions
diff --git a/www/py-djangorestframework/DESCR b/www/py-djangorestframework/DESCR
new file mode 100644
index 00000000000..f029dfcd2bd
--- /dev/null
+++ b/www/py-djangorestframework/DESCR
@@ -0,0 +1,15 @@
+Django REST framework is a lightweight REST framework for Django, that aims to
+make it easy to build well-connected, self-describing RESTful Web APIs.
+
+Features:
+* Automatically provides an awesome Django admin style browse-able
+ self-documenting API.
+* Clean, simple, views for Resources, using Django's new class based views.
+* Support for ModelResources with out-of-the-box default implementations and
+ input validation.
+* Pluggable parsers, renderers, authentication and permissions - Easy to
+ customise.
+* Content type negotiation using HTTP Accept headers.
+* Optional support for forms as input validation.
+* Modular architecture - MixIn classes can be used without requiring the
+ Resource or ModelResource classes.
diff --git a/www/py-djangorestframework/Makefile b/www/py-djangorestframework/Makefile
new file mode 100644
index 00000000000..25ae7559be9
--- /dev/null
+++ b/www/py-djangorestframework/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/09/12 08:21:29 adam Exp $
+
+DISTNAME= djangorestframework-0.2.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= http://pypi.python.org/packages/source/d/djangorestframework/
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://django-rest-framework.org/
+COMMENT= Lightweight REST framework for Django
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+PYTHON_VERSIONS_ACCEPTED= 27 26 25
+
+EGG_NAME= ${DISTNAME}
+USE_LANGUAGES= # empty
+
+DEPENDS+= ${PYPKGPREFIX}-django-[0-9]*:../../www/py-django
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-djangorestframework/PLIST b/www/py-djangorestframework/PLIST
new file mode 100644
index 00000000000..db2308c082e
--- /dev/null
+++ b/www/py-djangorestframework/PLIST
@@ -0,0 +1,145 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/09/12 08:21:29 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/djangorestframework/__init__.py
+${PYSITELIB}/djangorestframework/__init__.pyc
+${PYSITELIB}/djangorestframework/__init__.pyo
+${PYSITELIB}/djangorestframework/authentication.py
+${PYSITELIB}/djangorestframework/authentication.pyc
+${PYSITELIB}/djangorestframework/authentication.pyo
+${PYSITELIB}/djangorestframework/compat.py
+${PYSITELIB}/djangorestframework/compat.pyc
+${PYSITELIB}/djangorestframework/compat.pyo
+${PYSITELIB}/djangorestframework/mixins.py
+${PYSITELIB}/djangorestframework/mixins.pyc
+${PYSITELIB}/djangorestframework/mixins.pyo
+${PYSITELIB}/djangorestframework/models.py
+${PYSITELIB}/djangorestframework/models.pyc
+${PYSITELIB}/djangorestframework/models.pyo
+${PYSITELIB}/djangorestframework/parsers.py
+${PYSITELIB}/djangorestframework/parsers.pyc
+${PYSITELIB}/djangorestframework/parsers.pyo
+${PYSITELIB}/djangorestframework/permissions.py
+${PYSITELIB}/djangorestframework/permissions.pyc
+${PYSITELIB}/djangorestframework/permissions.pyo
+${PYSITELIB}/djangorestframework/renderers.py
+${PYSITELIB}/djangorestframework/renderers.pyc
+${PYSITELIB}/djangorestframework/renderers.pyo
+${PYSITELIB}/djangorestframework/resources.py
+${PYSITELIB}/djangorestframework/resources.pyc
+${PYSITELIB}/djangorestframework/resources.pyo
+${PYSITELIB}/djangorestframework/response.py
+${PYSITELIB}/djangorestframework/response.pyc
+${PYSITELIB}/djangorestframework/response.pyo
+${PYSITELIB}/djangorestframework/runtests/__init__.py
+${PYSITELIB}/djangorestframework/runtests/__init__.pyc
+${PYSITELIB}/djangorestframework/runtests/__init__.pyo
+${PYSITELIB}/djangorestframework/runtests/runcoverage.py
+${PYSITELIB}/djangorestframework/runtests/runcoverage.pyc
+${PYSITELIB}/djangorestframework/runtests/runcoverage.pyo
+${PYSITELIB}/djangorestframework/runtests/runtests.py
+${PYSITELIB}/djangorestframework/runtests/runtests.pyc
+${PYSITELIB}/djangorestframework/runtests/runtests.pyo
+${PYSITELIB}/djangorestframework/runtests/settings.py
+${PYSITELIB}/djangorestframework/runtests/settings.pyc
+${PYSITELIB}/djangorestframework/runtests/settings.pyo
+${PYSITELIB}/djangorestframework/runtests/urls.py
+${PYSITELIB}/djangorestframework/runtests/urls.pyc
+${PYSITELIB}/djangorestframework/runtests/urls.pyo
+${PYSITELIB}/djangorestframework/serializer.py
+${PYSITELIB}/djangorestframework/serializer.pyc
+${PYSITELIB}/djangorestframework/serializer.pyo
+${PYSITELIB}/djangorestframework/static/favicon.ico
+${PYSITELIB}/djangorestframework/static/robots.txt
+${PYSITELIB}/djangorestframework/status.py
+${PYSITELIB}/djangorestframework/status.pyc
+${PYSITELIB}/djangorestframework/status.pyo
+${PYSITELIB}/djangorestframework/templates/api_login.html
+${PYSITELIB}/djangorestframework/templates/renderer.html
+${PYSITELIB}/djangorestframework/templates/renderer.txt
+${PYSITELIB}/djangorestframework/templatetags/__init__.py
+${PYSITELIB}/djangorestframework/templatetags/__init__.pyc
+${PYSITELIB}/djangorestframework/templatetags/__init__.pyo
+${PYSITELIB}/djangorestframework/templatetags/add_query_param.py
+${PYSITELIB}/djangorestframework/templatetags/add_query_param.pyc
+${PYSITELIB}/djangorestframework/templatetags/add_query_param.pyo
+${PYSITELIB}/djangorestframework/templatetags/urlize_quoted_links.py
+${PYSITELIB}/djangorestframework/templatetags/urlize_quoted_links.pyc
+${PYSITELIB}/djangorestframework/templatetags/urlize_quoted_links.pyo
+${PYSITELIB}/djangorestframework/tests/__init__.py
+${PYSITELIB}/djangorestframework/tests/__init__.pyc
+${PYSITELIB}/djangorestframework/tests/__init__.pyo
+${PYSITELIB}/djangorestframework/tests/accept.py
+${PYSITELIB}/djangorestframework/tests/accept.pyc
+${PYSITELIB}/djangorestframework/tests/accept.pyo
+${PYSITELIB}/djangorestframework/tests/authentication.py
+${PYSITELIB}/djangorestframework/tests/authentication.pyc
+${PYSITELIB}/djangorestframework/tests/authentication.pyo
+${PYSITELIB}/djangorestframework/tests/breadcrumbs.py
+${PYSITELIB}/djangorestframework/tests/breadcrumbs.pyc
+${PYSITELIB}/djangorestframework/tests/breadcrumbs.pyo
+${PYSITELIB}/djangorestframework/tests/content.py
+${PYSITELIB}/djangorestframework/tests/content.pyc
+${PYSITELIB}/djangorestframework/tests/content.pyo
+${PYSITELIB}/djangorestframework/tests/description.py
+${PYSITELIB}/djangorestframework/tests/description.pyc
+${PYSITELIB}/djangorestframework/tests/description.pyo
+${PYSITELIB}/djangorestframework/tests/files.py
+${PYSITELIB}/djangorestframework/tests/files.pyc
+${PYSITELIB}/djangorestframework/tests/files.pyo
+${PYSITELIB}/djangorestframework/tests/methods.py
+${PYSITELIB}/djangorestframework/tests/methods.pyc
+${PYSITELIB}/djangorestframework/tests/methods.pyo
+${PYSITELIB}/djangorestframework/tests/package.py
+${PYSITELIB}/djangorestframework/tests/package.pyc
+${PYSITELIB}/djangorestframework/tests/package.pyo
+${PYSITELIB}/djangorestframework/tests/parsers.py
+${PYSITELIB}/djangorestframework/tests/parsers.pyc
+${PYSITELIB}/djangorestframework/tests/parsers.pyo
+${PYSITELIB}/djangorestframework/tests/renderers.py
+${PYSITELIB}/djangorestframework/tests/renderers.pyc
+${PYSITELIB}/djangorestframework/tests/renderers.pyo
+${PYSITELIB}/djangorestframework/tests/response.py
+${PYSITELIB}/djangorestframework/tests/response.pyc
+${PYSITELIB}/djangorestframework/tests/response.pyo
+${PYSITELIB}/djangorestframework/tests/reverse.py
+${PYSITELIB}/djangorestframework/tests/reverse.pyc
+${PYSITELIB}/djangorestframework/tests/reverse.pyo
+${PYSITELIB}/djangorestframework/tests/serializer.py
+${PYSITELIB}/djangorestframework/tests/serializer.pyc
+${PYSITELIB}/djangorestframework/tests/serializer.pyo
+${PYSITELIB}/djangorestframework/tests/status.py
+${PYSITELIB}/djangorestframework/tests/status.pyc
+${PYSITELIB}/djangorestframework/tests/status.pyo
+${PYSITELIB}/djangorestframework/tests/throttling.py
+${PYSITELIB}/djangorestframework/tests/throttling.pyc
+${PYSITELIB}/djangorestframework/tests/throttling.pyo
+${PYSITELIB}/djangorestframework/tests/validators.py
+${PYSITELIB}/djangorestframework/tests/validators.pyc
+${PYSITELIB}/djangorestframework/tests/validators.pyo
+${PYSITELIB}/djangorestframework/tests/views.py
+${PYSITELIB}/djangorestframework/tests/views.pyc
+${PYSITELIB}/djangorestframework/tests/views.pyo
+${PYSITELIB}/djangorestframework/urls.py
+${PYSITELIB}/djangorestframework/urls.pyc
+${PYSITELIB}/djangorestframework/urls.pyo
+${PYSITELIB}/djangorestframework/utils/__init__.py
+${PYSITELIB}/djangorestframework/utils/__init__.pyc
+${PYSITELIB}/djangorestframework/utils/__init__.pyo
+${PYSITELIB}/djangorestframework/utils/breadcrumbs.py
+${PYSITELIB}/djangorestframework/utils/breadcrumbs.pyc
+${PYSITELIB}/djangorestframework/utils/breadcrumbs.pyo
+${PYSITELIB}/djangorestframework/utils/description.py
+${PYSITELIB}/djangorestframework/utils/description.pyc
+${PYSITELIB}/djangorestframework/utils/description.pyo
+${PYSITELIB}/djangorestframework/utils/mediatypes.py
+${PYSITELIB}/djangorestframework/utils/mediatypes.pyc
+${PYSITELIB}/djangorestframework/utils/mediatypes.pyo
+${PYSITELIB}/djangorestframework/utils/staticviews.py
+${PYSITELIB}/djangorestframework/utils/staticviews.pyc
+${PYSITELIB}/djangorestframework/utils/staticviews.pyo
+${PYSITELIB}/djangorestframework/views.py
+${PYSITELIB}/djangorestframework/views.pyc
+${PYSITELIB}/djangorestframework/views.pyo
diff --git a/www/py-djangorestframework/distinfo b/www/py-djangorestframework/distinfo
new file mode 100644
index 00000000000..d17d7bae912
--- /dev/null
+++ b/www/py-djangorestframework/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/09/12 08:21:29 adam Exp $
+
+SHA1 (djangorestframework-0.2.3.tar.gz) = 8e17862423ac1a0051bb3aa16fe556af593bfdd4
+RMD160 (djangorestframework-0.2.3.tar.gz) = 2cfb1de51759a8318cf425d9ef3c02f6f4bf9866
+Size (djangorestframework-0.2.3.tar.gz) = 75301 bytes