git: fc6b14272141 - main - www/py-django-hijack: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 31 Mar 2025 15:58:48 UTC
The branch main has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fc6b14272141a41d8c908965fc12c937127f8063
commit fc6b14272141a41d8c908965fc12c937127f8063
Author: Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-03-31 15:56:51 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-03-31 15:58:39 +0000
www/py-django-hijack: Remove expired port
2025-03-31 www/py-django-hijack: Depends on expired devel/py-pytest-runner
---
MOVED | 1 +
www/Makefile | 1 -
www/py-django-hijack/Makefile | 59 -------------------------------
www/py-django-hijack/distinfo | 5 ---
www/py-django-hijack/files/patch-setup.py | 36 -------------------
www/py-django-hijack/pkg-descr | 2 --
6 files changed, 1 insertion(+), 103 deletions(-)
diff --git a/MOVED b/MOVED
index 14c14c2b69be..9a61f28e3923 100644
--- a/MOVED
+++ b/MOVED
@@ -4280,3 +4280,4 @@ japanese/esecanna-module-vje25||2025-03-31|Has expired: Upstream disapeared and
japanese/esecanna-module-vje30||2025-03-31|Has expired: Upstream disapeared and distfile is no more available
chinese/muni||2025-03-31|Has expired: Upstream disapeared and distfile is no more available
devel/buildstream||2025-03-31|Has expired: Depends on expired devel/py-pytest-runner
+www/py-django-hijack||2025-03-31|Has expired: Depends on expired devel/py-pytest-runner
diff --git a/www/Makefile b/www/Makefile
index d7ce2734db98..fa4f1354dd32 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1599,7 +1599,6 @@
SUBDIR += py-django-hashid-field
SUBDIR += py-django-haystack
SUBDIR += py-django-hierarkey
- SUBDIR += py-django-hijack
SUBDIR += py-django-htmlmin
SUBDIR += py-django-htmx
SUBDIR += py-django-i18nfield
diff --git a/www/py-django-hijack/Makefile b/www/py-django-hijack/Makefile
deleted file mode 100644
index 60dadee85116..000000000000
--- a/www/py-django-hijack/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-PORTNAME= django-hijack
-PORTVERSION= 3.4.1
-PORTREVISION= 2
-CATEGORIES= www python
-MASTER_SITES= PYPI \
- https://ports.caomhin.org/:npmcache
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
- ${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX}:npmcache
-
-MAINTAINER= ports@caomhin.org
-COMMENT= Allows Django superusers to login as other users
-WWW= https://github.com/arteria/django-hijack
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Depends on expired devel/py-pytest-runner
-EXPIRATION_DATE=2025-03-31
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \
- npm:www/npm
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-django>0:devel/py-pytest-django@${PY_FLAVOR}
-
-USES= gettext-tools:build python
-USE_PYTHON= distutils autoplist
-
-MAKE_ENV= npm_config_offline=true
-TEST_ENV= DJANGO_SETTINGS_MODULES=hijack.tests.test_app.settings PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
-
-NO_ARCH= yes
-
-_MY_NPMCACHE= ${WRKDIR}/.npm
-
-# Add remaining files (e.g. *.po) that aren't recorded by setuptools
-# during install.
-post-install:
- @${FIND} ${STAGEDIR} -type f -o -type l | \
- ${SORT} | ${SED} -e 's|${STAGEDIR}||' \
- > ${WRKDIR}/.PLIST.pymodtmp
-
-do-test:
- @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
-
-# Helper target to make the generation of the npm cache easier
-make-npm-cache: extract
- @${RM} -r ${_MY_NPMCACHE}
- @cd ${WRKSRC}/ \
- && ${SETENV} HOME=${WRKDIR} ${LOCALBASE}/bin/npm ci
- @cd ${_MY_NPMCACHE} \
- && ${RM} _locks anonymous-cli-metrics.json
- @cd ${WRKDIR} \
- && ${TAR} -czf ${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX} .npm \
- && ${ECHO_CMD} "Please upload the file ${WRKDIR}/${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX}"
-
-.include <bsd.port.mk>
diff --git a/www/py-django-hijack/distinfo b/www/py-django-hijack/distinfo
deleted file mode 100644
index 6d78c59a7e00..000000000000
--- a/www/py-django-hijack/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-TIMESTAMP = 1685006866
-SHA256 (django-hijack-3.4.1.tar.gz) = 2bdd7ffa42198637f49c195468b8330ea51dc36b7c2bee0f3c220c9d7de78764
-SIZE (django-hijack-3.4.1.tar.gz) = 268223
-SHA256 (django-hijack-npm-cache-3.4.1.tar.gz) = 7042d3db3cefd7acd82ad1163826eb25da805c568cd40418db5d078376e33828
-SIZE (django-hijack-npm-cache-3.4.1.tar.gz) = 10792160
diff --git a/www/py-django-hijack/files/patch-setup.py b/www/py-django-hijack/files/patch-setup.py
deleted file mode 100644
index e4629e63225e..000000000000
--- a/www/py-django-hijack/files/patch-setup.py
+++ /dev/null
@@ -1,36 +0,0 @@
---- setup.py.orig 2023-05-23 13:27:00 UTC
-+++ setup.py
-@@ -5,10 +5,9 @@ import os
- import subprocess # nosec
- from distutils.cmd import Command
- from distutils.command.build import build as _build
--from distutils.command.install import install as _install
- from pathlib import Path
-
--from setuptools import setup
-+from setuptools import setup, find_packages
-
- BASE_DIR = os.path.dirname((os.path.abspath(__file__)))
-
-@@ -71,20 +70,12 @@ class build(_build):
- ]
-
-
--class install(_install):
-- sub_commands = [
-- *_install.sub_commands,
-- ("compile_translations", None),
-- ("compile_scss", None),
-- ]
--
--
- setup(
- name="django-hijack",
- use_scm_version=True,
-+ packages=find_packages(exclude=['test_app']),
- cmdclass={
- "build": build,
-- "install": install,
- "compile_translations": compile_translations,
- "compile_scss": compile_scss,
- },
diff --git a/www/py-django-hijack/pkg-descr b/www/py-django-hijack/pkg-descr
deleted file mode 100644
index d9fef3540b88..000000000000
--- a/www/py-django-hijack/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-Django superusers/admins can login and work on behalf of other users without
-having to know their credentials.