git: ceb87f3389f0 - main - www/py-dj51-drf-spectacular: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Dec 2025 11:19:32 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ceb87f3389f05f0c81da10f678e3673d88b93e13
commit ceb87f3389f05f0c81da10f678e3673d88b93e13
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-12-31 11:19:24 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-12-31 11:19:24 +0000
www/py-dj51-drf-spectacular: Remove expired port
2025-12-31 www/py-dj51-drf-spectacular: Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
---
MOVED | 1 +
www/Makefile | 1 -
www/py-dj51-drf-spectacular/Makefile | 40 ----------------------
www/py-dj51-drf-spectacular/distinfo | 3 --
.../files/patch-pyproject.toml | 30 ----------------
www/py-dj51-drf-spectacular/pkg-descr | 24 -------------
6 files changed, 1 insertion(+), 98 deletions(-)
diff --git a/MOVED b/MOVED
index b4fc8917f431..0bcf9a18f23e 100644
--- a/MOVED
+++ b/MOVED
@@ -4931,3 +4931,4 @@ www/py-dj51-django-redis||2025-12-31|Has expired: Extended support of Django 5.1
www/py-dj51-django-prometheus||2025-12-31|Has expired: Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
www/py-dj51-django-cors-headers||2025-12-31|Has expired: Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
www/py-dj51-django-guardian||2025-12-31|Has expired: Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+www/py-dj51-drf-spectacular||2025-12-31|Has expired: Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
diff --git a/www/Makefile b/www/Makefile
index 98628d9d6c73..d9ddd49d1363 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1554,7 +1554,6 @@
SUBDIR += py-dj51-django-tables2
SUBDIR += py-dj51-django-timezone-field
SUBDIR += py-dj51-djangorestframework
- SUBDIR += py-dj51-drf-spectacular
SUBDIR += py-dj51-drf-spectacular-sidecar
SUBDIR += py-dj51-strawberry-graphql-django
SUBDIR += py-dj52-channels
diff --git a/www/py-dj51-drf-spectacular/Makefile b/www/py-dj51-drf-spectacular/Makefile
deleted file mode 100644
index fc2bc984d4e4..000000000000
--- a/www/py-dj51-drf-spectacular/Makefile
+++ /dev/null
@@ -1,40 +0,0 @@
-PORTNAME= drf-spectacular
-DISTVERSION= 0.29.0
-CATEGORIES= www python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51-
-DISTNAME= drf_spectacular-${DISTVERSION}
-
-MAINTAINER= kai@FreeBSD.org
-COMMENT= Sane/flexible OpenAPI 3 schema generation for Django REST framework
-WWW= https://github.com/tfranzel/drf-spectacular
-
-LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED=Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
-EXPIRATION_DATE=2025-12-31
-
-BUILD_DEPENDS= ${PY_SETUPTOOLS} \
- ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=2.2:www/py-django51@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}dj51-djangorestframework>=3.10.3:www/py-dj51-djangorestframework@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}jsonschema>=2.6.0:devel/py-jsonschema@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}uritemplate>=2.0.0:net/py-uritemplate@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR}
-
-USES= python
-USE_PYTHON= autoplist pep517
-
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
-
-NO_ARCH= yes
-
-OPTIONS_DEFINE= SIDECAR
-OPTIONS_DEFAULT= SIDECAR
-
-SIDECAR_DESC= Enable self-contained Swagger/Redoc UI installation
-SIDECAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dj51-drf-spectacular-sidecar>0:www/py-dj51-drf-spectacular-sidecar@${PY_FLAVOR}
-
-.include <bsd.port.mk>
diff --git a/www/py-dj51-drf-spectacular/distinfo b/www/py-dj51-drf-spectacular/distinfo
deleted file mode 100644
index f7f3bb44d0fc..000000000000
--- a/www/py-dj51-drf-spectacular/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1762158117
-SHA256 (drf_spectacular-0.29.0.tar.gz) = 0a069339ea390ce7f14a75e8b5af4a0860a46e833fd4af027411a3e94fc1a0cc
-SIZE (drf_spectacular-0.29.0.tar.gz) = 241722
diff --git a/www/py-dj51-drf-spectacular/files/patch-pyproject.toml b/www/py-dj51-drf-spectacular/files/patch-pyproject.toml
deleted file mode 100644
index 8314ea492d9f..000000000000
--- a/www/py-dj51-drf-spectacular/files/patch-pyproject.toml
+++ /dev/null
@@ -1,30 +0,0 @@
-Relax version requirements of py-setuptools and enable build for older versions
-of it.
-
---- pyproject.toml.orig 2025-11-03 11:21:39 UTC
-+++ pyproject.toml
-@@ -4,7 +4,6 @@ requires-python = ">=3.7"
- description = "Sane and flexible OpenAPI 3 schema generation for Django REST framework"
- readme = "README.rst"
- requires-python = ">=3.7"
--license = "BSD-3-Clause"
- authors = [
- {name = "T. Franzel", email = "tfranzel@gmail.com"}
- ]
-@@ -57,6 +56,9 @@ Documentation = "https://drf-spectacular.readthedocs.i
- Source = "https://github.com/tfranzel/drf-spectacular"
- Documentation = "https://drf-spectacular.readthedocs.io"
-
-+[project.license]
-+text = "BSD-3-Clause"
-+
- [tool.setuptools.dynamic]
- version = {attr = "drf_spectacular.__version__"}
-
-@@ -72,5 +74,5 @@ drf_spectacular = [
- ]
-
- [build-system]
--requires = ["setuptools>=75.3.2", "wheel"]
-+requires = ["setuptools", "wheel"]
- build-backend = "setuptools.build_meta"
diff --git a/www/py-dj51-drf-spectacular/pkg-descr b/www/py-dj51-drf-spectacular/pkg-descr
deleted file mode 100644
index 7f053d6244dc..000000000000
--- a/www/py-dj51-drf-spectacular/pkg-descr
+++ /dev/null
@@ -1,24 +0,0 @@
-This project has 3 goals:
-
-* Extract as much schema information from DRF as possible.
-* Provide flexibility to make the schema usable in the real world (not only
- toy examples).
-* Generate a schema that works well with the most popular client generators.
-
-The code is a heavily modified fork of the DRF OpenAPI generator, which is/was
-lacking all of the below listed features:
-
-* Serializers modelled as components. (arbitrary nesting + recursion supported)
-* @extend_schema decorator for customization of APIView, Viewsets,
- function-based views, and @action
-* Authentication support (DRF natives included, easily extendable)
-* Custom serializer class support (easily extendable)
-* SerializerMethodField() type via type hinting or @extend_schema_field
-* i18n support, Tags extraction, Description extraction from docstrings
-* Request/response/parameter examples, Callback operations
-* Vendor specification extensions (x-*) in info, operations, parameters,
- components, and security schemes
-* Sane fallbacks and sane operation_id naming (based on path)
-* Schema serving with SpectacularAPIView (Redoc and Swagger-UI views are
- also available)
-* Optional input/output serializer component split