aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-30 06:33:21 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-31 00:06:35 +0000
commit72872ea7746c9de789d28eb81b561feed5dea63b (patch)
tree1706da3bf09f1acc255a26baab6c78561f851c7d
parentcecca901e73586cb21b7a725669d4bc72d4a66e4 (diff)
downloadports-72872ea7746c9de789d28eb81b561feed5dea63b.tar.gz
ports-72872ea7746c9de789d28eb81b561feed5dea63b.zip
www/py-dj41-drf-yasg: Remove expired port
2023-12-31 www/py-dj41-drf-yasg: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
-rw-r--r--MOVED1
-rw-r--r--www/Makefile1
-rw-r--r--www/py-dj41-drf-yasg/Makefile43
-rw-r--r--www/py-dj41-drf-yasg/distinfo3
-rw-r--r--www/py-dj41-drf-yasg/pkg-descr18
5 files changed, 1 insertions, 65 deletions
diff --git a/MOVED b/MOVED
index a2af333c1def..0d90246f3eac 100644
--- a/MOVED
+++ b/MOVED
@@ -8279,3 +8279,4 @@ www/py-dj41-django-rich|www/py-dj42-django-rich|2023-12-31|Has expired: Extended
www/py-dj41-django-redis|www/py-dj42-django-redis|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
www/py-dj41-django-prometheus|www/py-dj42-django-prometheus|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
www/py-dj41-django-mptt|www/py-dj42-django-mptt|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
+www/py-dj41-drf-yasg|www/py-dj42-drf-yasg|2023-12-31|Has expired: Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
diff --git a/www/Makefile b/www/Makefile
index a90387e855c2..2dc2c8d25380 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1500,7 +1500,6 @@
SUBDIR += py-dj41-django-timezone-field
SUBDIR += py-dj41-djangorestframework
SUBDIR += py-dj41-drf-spectacular-sidecar
- SUBDIR += py-dj41-drf-yasg
SUBDIR += py-dj42-django-auth-ldap
SUBDIR += py-dj42-django-cors-headers
SUBDIR += py-dj42-django-debug-toolbar
diff --git a/www/py-dj41-drf-yasg/Makefile b/www/py-dj41-drf-yasg/Makefile
deleted file mode 100644
index c468a205583b..000000000000
--- a/www/py-dj41-drf-yasg/Makefile
+++ /dev/null
@@ -1,43 +0,0 @@
-PORTNAME= drf-yasg
-DISTVERSION= 1.21.7
-CATEGORIES= www python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj41-
-
-MAINTAINER= kai@FreeBSD.org
-COMMENT= Yet Another Swagger Generator
-WWW= https://github.com/axnsan12/drf-yasg
-
-LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE.rst
-
-DEPRECATED= Extended support of Django 4.1 ends December 2023, upgrade to the Django 4.2+ version of this port. See https://www.djangoproject.com/download/
-EXPIRATION_DATE= 2023-12-31
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.0.6:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django41>=2.2.16:www/py-django41@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}dj41-djangorestframework>=3.10.3:www/py-dj41-djangorestframework@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytz>=2021.1:devel/py-pytz@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.0:net/py-uritemplate@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}packaging>=21.0:devel/py-packaging@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR}
-
-USES= python
-USE_PYTHON= distutils autoplist
-
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
-
-NO_ARCH= yes
-
-OPTIONS_DEFINE= COREAPI VALIDATION
-OPTIONS_DEFAULT= VALIDATION
-
-COREAPI_DESC= Enable CoreAPI validation mechanisms
-VALIDATION_DESC= Enable built-in OpenAPI validation mechanisms
-
-COREAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coreapi>=2.3.3:devel/py-coreapi@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}coreschema>=0.0.4:devel/py-coreschema@${PY_FLAVOR}
-VALIDATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.1.0:devel/py-swagger-spec-validator@${PY_FLAVOR}
-
-.include <bsd.port.mk>
diff --git a/www/py-dj41-drf-yasg/distinfo b/www/py-dj41-drf-yasg/distinfo
deleted file mode 100644
index 3800a852102a..000000000000
--- a/www/py-dj41-drf-yasg/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1690889016
-SHA256 (drf-yasg-1.21.7.tar.gz) = 4c3b93068b3dfca6969ab111155e4dd6f7b2d680b98778de8fd460b7837bdb0d
-SIZE (drf-yasg-1.21.7.tar.gz) = 4512723
diff --git a/www/py-dj41-drf-yasg/pkg-descr b/www/py-dj41-drf-yasg/pkg-descr
deleted file mode 100644
index 24652f1fc88d..000000000000
--- a/www/py-dj41-drf-yasg/pkg-descr
+++ /dev/null
@@ -1,18 +0,0 @@
-Generate real Swagger/OpenAPI 2.0 specifications from a Django Rest
-Framework API.
-
-Features:
-
-- full support for nested serializers and schemas
-- response schemas and descriptions
-- model definitions compatible with codegen tools
-- customization hooks at all points in the spec generation process
-- JSON and YAML format for spec
-- bundles latest version of swagger-ui and redoc for viewing the generated
- documentation
-- schema view is cacheable out of the box
-- generated Swagger schema can be automatically validated by
- swagger-spec-validator or flex
-- supports Django REST Framework API versioning with URLPathVersioning
- and NamespaceVersioning (other DRF or custom versioning schemes are
- not currently supported)