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

www/py-dj51-django-auth-ldap: Remove expired port

2025-12-31 www/py-dj51-django-auth-ldap: 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/
parent 3554eaac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4939,3 +4939,4 @@ www/py-dj51-django-timezone-field||2025-12-31|Has expired: Extended support of D
www/py-dj51-drf-spectacular-sidecar||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-allauth||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-auditlog||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-auth-ldap||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/
+0 −1
Original line number Diff line number Diff line
@@ -1544,7 +1544,6 @@
    SUBDIR += py-ddgs
    SUBDIR += py-dj-database-url
    SUBDIR += py-dj51-channels
    SUBDIR += py-dj51-django-auth-ldap
    SUBDIR += py-dj51-django-choices-field
    SUBDIR += py-dj51-django-htmx
    SUBDIR += py-dj51-django-tables2
+0 −46
Original line number Diff line number Diff line
PORTNAME=	django-auth-ldap
PORTVERSION=	5.2.0
CATEGORIES=	www security python
MASTER_SITES=	PYPI
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj51-
DISTNAME=	django_auth_ldap-${PORTVERSION}

MAINTAINER=	kai@FreeBSD.org
COMMENT=	LDAP integration for django.contrib.auth
WWW=		https://github.com/django-auth-ldap/django-auth-ldap

LICENSE=	BSD2CLAUSE
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}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}python-ldap>=3.1:net/py-python-ldap@${PY_FLAVOR}

USES=		python
USE_PYTHON=	autoplist concurrent pep517

CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}*${PORTNAME}

NO_ARCH=	yes
# Release 5.3.0 dropped support for Django 5.1
PORTSCOUT=	limit:^5\.\2\.

PORTDOCS=	*
OPTIONS_DEFINE=	DOCS
DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}

post-build-DOCS-on:
	${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -d ${WRKDIR} -b html ${WRKSRC}/docs ${WRKSRC}/build/sphinx/html

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC}/build/sphinx/html && \
		${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
			"! -name .buildinfo -and ! -name objects.inv")

.include <bsd.port.mk>
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1747314334
SHA256 (django_auth_ldap-5.2.0.tar.gz) = 08ba6efc0340d9874725a962311b14991e29a33593eb150a8fb640709dbfa80f
SIZE (django_auth_ldap-5.2.0.tar.gz) = 55287
+0 −20
Original line number Diff line number Diff line
Avoid the download of various intersphinx inventories during build.  Only two
intersphinx mappings are used and the documentation can be built/used without
them.

--- docs/conf.py.orig	2022-06-12 10:26:47 UTC
+++ docs/conf.py
@@ -188,13 +188,3 @@ texinfo_documents = [
 # -- Extension configuration -------------------------------------------------
 
 # -- Options for intersphinx extension ---------------------------------------
-
-intersphinx_mapping = {
-    "python": ("https://docs.python.org/3/", None),
-    "django": (
-        "https://docs.djangoproject.com/en/stable/",
-        "https://docs.djangoproject.com/en/stable/_objects/",
-    ),
-    "pythonldap": ("https://www.python-ldap.org/en/latest/", None),
-    "tox": ("https://tox.wiki/en/latest/", None),
-}
Loading