git: 765de365b042 - main - www/py-dj42-drf-spectacular: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Jun 2024 18:17:19 UTC
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=765de365b04275388058edb66812567882874242 commit 765de365b04275388058edb66812567882874242 Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2024-06-15 18:17:13 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2024-06-15 18:17:13 +0000 www/py-dj42-drf-spectacular: Remove expired port 2024-06-15 www/py-dj42-drf-spectacular: Obsolete, please use www/py-drf-spectacular instead --- MOVED | 1 + www/Makefile | 1 - www/py-dj42-drf-spectacular/Makefile | 43 ----------------------------------- www/py-dj42-drf-spectacular/distinfo | 3 --- www/py-dj42-drf-spectacular/pkg-descr | 24 ------------------- 5 files changed, 1 insertion(+), 71 deletions(-) diff --git a/MOVED b/MOVED index c0c4bb8ebf20..3e63e2f47492 100644 --- a/MOVED +++ b/MOVED @@ -3329,3 +3329,4 @@ www/py-dj42-django-otp|www/py-django-otp|2024-06-15|Has expired: Obsolete, pleas www/py-dj42-django-prometheus|www/py-django-prometheus|2024-06-15|Has expired: Obsolete, please use www/py-django-prometheus instead www/py-dj42-channels|www/py-channels|2024-06-15|Has expired: Obsolete, please use www/py-channels instead www/py-dj42-django-filter|www/py-django-filter|2024-06-15|Has expired: Obsolete, please use www/py-django-filter instead +www/py-dj42-drf-spectacular|www/py-drf-spectacular|2024-06-15|Has expired: Obsolete, please use www/py-drf-spectacular instead diff --git a/www/Makefile b/www/Makefile index feaa9dfa2d0b..d7630cd99444 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1492,7 +1492,6 @@ SUBDIR += py-dj42-django-rich SUBDIR += py-dj42-django-timezone-field SUBDIR += py-dj42-djangorestframework - SUBDIR += py-dj42-drf-spectacular SUBDIR += py-dj42-drf-spectacular-sidecar SUBDIR += py-django-admin-rangefilter SUBDIR += py-django-advanced-filters diff --git a/www/py-dj42-drf-spectacular/Makefile b/www/py-dj42-drf-spectacular/Makefile deleted file mode 100644 index 29720c0941e8..000000000000 --- a/www/py-dj42-drf-spectacular/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -PORTNAME= drf-spectacular -DISTVERSION= 0.27.2 -CATEGORIES= www python -MASTER_SITES= PYPI -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42- - -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= Obsolete, please use www/py-drf-spectacular instead -EXPIRATION_DATE=2024-06-15 - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dj42-djangorestframework>=3.10.3:www/py-dj42-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}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} - -USES= python -USE_PYTHON= autoplist distutils - -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}dj42-drf-spectacular-sidecar>0:www/py-dj42-drf-spectacular-sidecar@${PY_FLAVOR} - -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} < 31000 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} -.endif - -.include <bsd.port.post.mk> diff --git a/www/py-dj42-drf-spectacular/distinfo b/www/py-dj42-drf-spectacular/distinfo deleted file mode 100644 index fa78cde000b1..000000000000 --- a/www/py-dj42-drf-spectacular/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1712292804 -SHA256 (drf-spectacular-0.27.2.tar.gz) = a199492f2163c4101055075ebdbb037d59c6e0030692fc83a1a8c0fc65929981 -SIZE (drf-spectacular-0.27.2.tar.gz) = 235131 diff --git a/www/py-dj42-drf-spectacular/pkg-descr b/www/py-dj42-drf-spectacular/pkg-descr deleted file mode 100644 index 7f053d6244dc..000000000000 --- a/www/py-dj42-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