git: 58e94a0d298e - main - devel/py-virtualenv: Update to 20.26.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Jun 2024 08:33:24 UTC
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=58e94a0d298ef59a7901409e56427e85586d1d03 commit 58e94a0d298ef59a7901409e56427e85586d1d03 Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2024-06-22 08:29:04 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2024-06-22 08:29:04 +0000 devel/py-virtualenv: Update to 20.26.3 - Remove pre-test target - Remove files/patch-pyproject - Update test dependencies Release changes: https://github.com/pypa/virtualenv/releases/tag/20.26.3 https://github.com/pypa/virtualenv/releases/tag/20.26.2 Reported by: Bernát Gábor <notifications@github.com> --- devel/py-virtualenv/Makefile | 20 +++++--------------- devel/py-virtualenv/distinfo | 6 +++--- devel/py-virtualenv/files/patch-pyproject.toml | 14 -------------- 3 files changed, 8 insertions(+), 32 deletions(-) diff --git a/devel/py-virtualenv/Makefile b/devel/py-virtualenv/Makefile index f93744eb6e66..7f36b46ce631 100644 --- a/devel/py-virtualenv/Makefile +++ b/devel/py-virtualenv/Makefile @@ -1,5 +1,5 @@ PORTNAME= virtualenv -PORTVERSION= 20.26.0 +PORTVERSION= 20.26.3 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,7 +15,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distlib>=0.3.7:devel/py-distlib@${PY_FLAVO RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distlib>=0.3.7:devel/py-distlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}filelock>=3.12.2:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=3.9.1:devel/py-platformdirs@${PY_FLAVOR} -# tests: 299 passed, 27 skipped +# tests: 307 passed, 25 skipped TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}covdefaults>=2.3:devel/py-covdefaults@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}coverage>=7.3.2:devel/py-coverage@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}coverage_enable_subprocess>=1.0:devel/py-coverage_enable_subprocess@${PY_FLAVOR} \ @@ -25,9 +25,10 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}covdefaults>=2.3:devel/py-covdefaults@${PY_ ${PYTHON_PKGNAMEPREFIX}pytest-mock>=3.10:devel/py-pytest-mock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-randomly>=3.12:devel/py-pytest-randomly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=2.1.0:devel/py-pytest-timeout@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools>=63:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8.0.4:devel/py-setuptools-scm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}time-machine>=2.10.0:devel/py-time-machine@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}setuptools>=63:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}time-machine>=2.10.0:devel/py-time-machine@${PY_FLAVOR} \ + nu:shells/nushell USES= cpe python USE_GITHUB= yes @@ -73,19 +74,8 @@ post-patch: -e 's,%%PYTHON_VER%%,${PYTHON_VER},1' \ ${WRKSRC}/docs/conf.py -# Fix a few tests that fail with the error: -# -# E AssertionError: assert ... nerrn == errn -# E + WARNING pyproject.toml does not contain a setuptools.py:119 -# E + tool.setuptools_scm section -# -# See https://github.com/pypa/setuptools_scm/issues/1011 -pre-test: - @${PRINTF} "\n[tool.setuptools_scm]\nfallback_version = \"${PORTVERSION}\"" >> ${WRKSRC}/pyproject.toml - post-install-DOCS-on: ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -d ${WRKDIR} -b html -n ${WRKSRC}/docs ${STAGEDIR}${DOCSDIR} ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -d ${WRKDIR} -b man -n ${WRKSRC}/docs ${STAGEDIR}${PREFIX}/share/man/man1 - .include <bsd.port.mk> diff --git a/devel/py-virtualenv/distinfo b/devel/py-virtualenv/distinfo index 9aa0f6b663be..5aaf79af9d9c 100644 --- a/devel/py-virtualenv/distinfo +++ b/devel/py-virtualenv/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1714057633 -SHA256 (pypa-virtualenv-20.26.0_GH0.tar.gz) = 52d3892ce26a0682fa0d3f51e37727398a909449dc211b2abbf5e5849b9223b6 -SIZE (pypa-virtualenv-20.26.0_GH0.tar.gz) = 7329467 +TIMESTAMP = 1719041701 +SHA256 (pypa-virtualenv-20.26.3_GH0.tar.gz) = b0377bc3bbb2c3f7fadc9f6ce4a499f9b74b7164374ef71fc6e9e9fe886b241d +SIZE (pypa-virtualenv-20.26.3_GH0.tar.gz) = 9095439 diff --git a/devel/py-virtualenv/files/patch-pyproject.toml b/devel/py-virtualenv/files/patch-pyproject.toml deleted file mode 100644 index 57891c4813b6..000000000000 --- a/devel/py-virtualenv/files/patch-pyproject.toml +++ /dev/null @@ -1,14 +0,0 @@ ---- pyproject.toml.orig 2023-08-11 15:47:10 UTC -+++ pyproject.toml -@@ -97,6 +97,11 @@ pip = "virtualenv.seed.embed.pip_invoke:PipInvoke" - - [tool.hatch] - build.hooks.vcs.version-file = "src/virtualenv/version.py" -+build.hooks.vcs.template = """\ -+# coding: utf-8 -+__version__ = {version!r} -+__version_tuple__ = {version_tuple!r} -+""" - build.targets.sdist.include = ["/src", "/tests", "/tasks", "/tox.ini"] - version.source = "vcs" -