Commit b4e405f1 authored by Rene Ladan's avatar Rene Ladan
Browse files

www/py-dj40-drf-yasg: Remove expired port:

2023-05-20 www/py-dj40-drf-yasg: Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
parent ee160d58
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7548,3 +7548,4 @@ www/py-dj40-django-graphiql-debug-toolbar|www/py-dj41-django-graphiql-debug-tool
www/py-dj40-django-redis|www/py-dj41-django-redis|2023-05-20|Has expired: Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
devel/py-dj40-django-rq|devel/py-dj41-django-rq|2023-05-20|Has expired: Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
www/py-dj40-django-cors-headers|www/py-dj41-django-cors-headers|2023-05-20|Has expired: Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
www/py-dj40-drf-yasg|www/py-dj41-drf-yasg|2023-05-20|Has expired: Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+0 −1
Original line number Diff line number Diff line
@@ -1470,7 +1470,6 @@
    SUBDIR += py-dj40-django-taggit
    SUBDIR += py-dj40-django-timezone-field
    SUBDIR += py-dj40-djangorestframework
    SUBDIR += py-dj40-drf-yasg
    SUBDIR += py-dj41-django-auth-ldap
    SUBDIR += py-dj41-django-cors-headers
    SUBDIR += py-dj41-django-debug-toolbar

www/py-dj40-drf-yasg/Makefile

deleted100644 → 0
+0 −41
Original line number Diff line number Diff line
PORTNAME=	drf-yasg
DISTVERSION=	1.21.4
CATEGORIES=	www python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj40-

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.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
EXPIRATION_DATE=	2023-05-20

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.0.6:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=2.2.16:www/py-django40@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}dj40-djangorestframework>=3.10.3:www/py-dj40-djangorestframework@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}coreapi>=2.3.3:devel/py-coreapi@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}coreschema>=0.0.4:devel/py-coreschema@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.16.13:devel/py-ruamel.yaml@${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}

USES=		python:3.6+
USE_PYTHON=	distutils autoplist

CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}*${PORTNAME}

NO_ARCH=		yes

OPTIONS_DEFINE=		VALIDATION
OPTIONS_DEFAULT=	VALIDATION

VALIDATION_DESC=	Enable built-in OpenAPI validation mechanisms
VALIDATION_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.1.0:devel/py-swagger-spec-validator@${PY_FLAVOR}

.include <bsd.port.mk>

www/py-dj40-drf-yasg/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1665308834
SHA256 (drf-yasg-1.21.4.tar.gz) = 887c9f79e64f46aa48974234e61029b1bea6b12ea628a8fc8a3697589add1d3e
SIZE (drf-yasg-1.21.4.tar.gz) = 6676926

www/py-dj40-drf-yasg/pkg-descr

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
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)