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..6436e9c8e956 --- /dev/null +++ b/www/py-dj52-djangorestframework/Makefile @@ -0,0 +1,25 @@ +PORTNAME= djangorestframework +DISTVERSION= 3.16.1 +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..d9123228b38d --- /dev/null +++ b/www/py-dj52-djangorestframework/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1755333901 +SHA256 (djangorestframework-3.16.1.tar.gz) = 166809528b1aced0a17dc66c24492af18049f2c9420dbd0be29422029cfc3ff7 +SIZE (djangorestframework-3.16.1.tar.gz) = 1089735 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. |