diff options
Diffstat (limited to 'www/py-dj52-djangorestframework')
-rw-r--r-- | www/py-dj52-djangorestframework/Makefile | 25 | ||||
-rw-r--r-- | www/py-dj52-djangorestframework/distinfo | 3 | ||||
-rw-r--r-- | www/py-dj52-djangorestframework/pkg-descr | 15 |
3 files changed, 43 insertions, 0 deletions
diff --git a/www/py-dj52-djangorestframework/Makefile b/www/py-dj52-djangorestframework/Makefile new file mode 100644 index 000000000000..96d316832790 --- /dev/null +++ b/www/py-dj52-djangorestframework/Makefile @@ -0,0 +1,25 @@ +PORTNAME= djangorestframework +DISTVERSION= 3.16.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- + +MAINTAINER= kai@FreeBSD.org +COMMENT= Django REST framework +WWW= https://www.django-rest-framework.org/ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django52>=4.2:www/py-django52@${PY_FLAVOR} + +USES= python:3.10+ +USE_PYTHON= autoplist pep517 + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-dj52-djangorestframework/distinfo b/www/py-dj52-djangorestframework/distinfo new file mode 100644 index 000000000000..c336e0e97c68 --- /dev/null +++ b/www/py-dj52-djangorestframework/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1744359953 +SHA256 (djangorestframework-3.16.0.tar.gz) = f022ff46613584de994c0c6a4aebbace5fd700555fbe9d33b865ebf173eba6c9 +SIZE (djangorestframework-3.16.0.tar.gz) = 1068408 diff --git a/www/py-dj52-djangorestframework/pkg-descr b/www/py-dj52-djangorestframework/pkg-descr new file mode 100644 index 000000000000..c8a8f49f4488 --- /dev/null +++ b/www/py-dj52-djangorestframework/pkg-descr @@ -0,0 +1,15 @@ +Django REST framework is a powerful and flexible toolkit that makes it easy to +build Web APIs. + +Some reasons you might want to use REST framework: + +* The Web browsable API is a huge usability win for your developers. + +* Authentication policies including optional packages for OAuth1a and OAuth2. + +* Serialization that supports both ORM and non-ORM data sources. + +* Customizable all the way down - just use regular function-based views if you + don't need the more powerful features. + +* Extensive documentation, and great community support. |