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

www/py-dj52-drf-spectacular: Remove expired port

2026-06-30 www/py-dj52-drf-spectacular: Obsolete, please use www/py-drf-spectacular instead
parent 1ba302c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5408,3 +5408,4 @@ www/py-dj52-django-timezone-field|www/py-django-timezone-field|2026-06-30|Has ex
www/py-dj52-django-multiselectfield|www/py-django-multiselectfield|2026-06-30|Has expired: Obsolete, please use www/py-django-multiselectfield instead
www/py-dj52-django-taggit|www/py-django-taggit|2026-06-30|Has expired: Obsolete, please use www/py-django-taggit instead
www/py-dj52-django-treebeard|www/py-django-treebeard|2026-06-30|Has expired: Obsolete, please use www/py-django-treebeard instead
www/py-dj52-drf-spectacular|www/py-drf-spectacular|2026-06-30|Has expired: Obsolete, please use www/py-drf-spectacular instead
+0 −1
Original line number Diff line number Diff line
@@ -1576,7 +1576,6 @@
    SUBDIR += py-dj52-django-stubs-ext
    SUBDIR += py-dj52-djangorestframework
    SUBDIR += py-dj52-djangorestframework-guardian
    SUBDIR += py-dj52-drf-spectacular
    SUBDIR += py-dj52-drf-spectacular-sidecar
    SUBDIR += py-dj52-drf-writable-nested
    SUBDIR += py-dj52-social-auth-app-django
+0 −40
Original line number Diff line number Diff line
PORTNAME=	drf-spectacular
DISTVERSION=	0.29.0
CATEGORIES=	www python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj52-
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=     Obsolete, please use www/py-drf-spectacular instead
EXPIRATION_DATE=2026-06-30

BUILD_DEPENDS=	${PY_SETUPTOOLS} \
		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django52>=2.2:www/py-django52@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}dj52-djangorestframework>=3.10.3:www/py-dj52-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}dj52-drf-spectacular-sidecar>0:www/py-dj52-drf-spectacular-sidecar@${PY_FLAVOR}

.include <bsd.port.mk>
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1762158117
SHA256 (drf_spectacular-0.29.0.tar.gz) = 0a069339ea390ce7f14a75e8b5af4a0860a46e833fd4af027411a3e94fc1a0cc
SIZE (drf_spectacular-0.29.0.tar.gz) = 241722
+0 −30
Original line number Diff line number Diff line
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"
Loading