git: 8fce294f050b - main - www/py-django-hijack: Update to 3.4.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 May 2023 21:31:31 UTC
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=8fce294f050b356319fe5a7371ffa1859f0ce531 commit 8fce294f050b356319fe5a7371ffa1859f0ce531 Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2023-05-25 21:28:54 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2023-05-25 21:30:55 +0000 www/py-django-hijack: Update to 3.4.1 PR: 267810 Reported by: maintainer --- www/py-django-hijack/Makefile | 4 ++-- www/py-django-hijack/distinfo | 10 +++++----- www/py-django-hijack/files/patch-setup.py | 19 ++++++++++--------- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/www/py-django-hijack/Makefile b/www/py-django-hijack/Makefile index 32a960496793..fc65bd174b52 100644 --- a/www/py-django-hijack/Makefile +++ b/www/py-django-hijack/Makefile @@ -1,5 +1,5 @@ PORTNAME= django-hijack -PORTVERSION= 3.2.1 +PORTVERSION= 3.4.1 CATEGORIES= www python MASTER_SITES= PYPI \ https://ports.caomhin.org/:npmcache @@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${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:3.6+ +USES= gettext-tools:build python:3.7+ USE_PYTHON= distutils autoplist MAKE_ENV= npm_config_offline=true diff --git a/www/py-django-hijack/distinfo b/www/py-django-hijack/distinfo index 19e7c0c9e9dc..6d78c59a7e00 100644 --- a/www/py-django-hijack/distinfo +++ b/www/py-django-hijack/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1662475103 -SHA256 (django-hijack-3.2.1.tar.gz) = 8df524fd085a43205a6bb497c53fd94483824b4f3179762fc1c31c1dea58d1ca -SIZE (django-hijack-3.2.1.tar.gz) = 267537 -SHA256 (django-hijack-npm-cache-3.2.1.tar.gz) = d4ddca269de2823ec2abd06e614bd48111d7297b644ecc64e976017b840cd53a -SIZE (django-hijack-npm-cache-3.2.1.tar.gz) = 9937612 +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 index 7527154ec8ba..e4629e63225e 100644 --- a/www/py-django-hijack/files/patch-setup.py +++ b/www/py-django-hijack/files/patch-setup.py @@ -1,21 +1,21 @@ -Handle the installation by native setuptools to prevent errors like -"command 'install' has no such option 'single_version_externally_managed'". - ---- setup.py.orig 2022-03-12 16:51:11 UTC +--- setup.py.orig 2023-05-23 13:27:00 UTC +++ setup.py -@@ -5,7 +5,6 @@ import os +@@ -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 ++from setuptools import setup, find_packages -@@ -62,21 +61,11 @@ class build(_build): - ("compile_scss", None), + BASE_DIR = os.path.dirname((os.path.abspath(__file__))) + +@@ -71,20 +70,12 @@ class build(_build): ] -- + -class install(_install): - sub_commands = [ - *_install.sub_commands, @@ -27,6 +27,7 @@ Handle the installation by native setuptools to prevent errors like setup( name="django-hijack", use_scm_version=True, ++ packages=find_packages(exclude=['test_app']), cmdclass={ "build": build, - "install": install,