git: f80db8d420bf - main - devel/py-virtualenv: Update to 20.21.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Apr 2023 07:53:18 UTC
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=f80db8d420bfda00166ab82cd1405f0a13ed06fb commit f80db8d420bfda00166ab82cd1405f0a13ed06fb Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2023-04-20 07:51:55 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2023-04-20 07:51:55 +0000 devel/py-virtualenv: Update to 20.21.1 Release changes: https://github.com/pypa/virtualenv/releases/tag/20.21.1 --- devel/py-virtualenv/Makefile | 21 ++++----------------- devel/py-virtualenv/distinfo | 6 +++--- devel/py-virtualenv/files/patch-pyproject.toml | 8 +++----- 3 files changed, 10 insertions(+), 25 deletions(-) diff --git a/devel/py-virtualenv/Makefile b/devel/py-virtualenv/Makefile index 4052e05cfecb..f626a796c445 100644 --- a/devel/py-virtualenv/Makefile +++ b/devel/py-virtualenv/Makefile @@ -1,6 +1,5 @@ PORTNAME= virtualenv -PORTVERSION= 20.20.0 -PORTREVISION= 1 +PORTVERSION= 20.21.1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,10 +9,12 @@ WWW= https://virtualenv.pypa.io LICENSE= MIT -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distlib>=0.3.6:devel/py-distlib@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distlib>=0.3.6:devel/py-distlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3:devel/py-hatch-vcs@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distlib>=0.3.6:devel/py-distlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}filelock>=3.4.1:sysutils/py-filelock@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.4:devel/py-platformdirs@${PY_FLAVOR} +# tests: 299 passed, 35 skipped, 705 warnings TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}covdefaults>=2.2.2:devel/py-covdefaults@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}coverage_enable_subprocess>=1.0:devel/py-coverage_enable_subprocess@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flaky>=3.7.0:devel/py-flaky@${PY_FLAVOR} \ @@ -29,15 +30,6 @@ USE_GITHUB= yes GH_ACCOUNT= pypa USE_PYTHON= autoplist concurrent pep517 pytest -PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3:devel/py-hatch-vcs@${PY_FLAVOR} -PEP517_BUILD_CMD= ${PYTHON_CMD} -m hatchling build --target wheel -PEP517_INSTALL_DEPEND= ${PKGNAMEPREFIX}pip>=22.3.1:devel/py-pip@${PY_FLAVOR} -PEP517_INSTALL_CMD= ${PYTHON_CMD} -m pip install --no-color --no-compile \ - --ignore-installed --no-deps --no-warn-script-location \ - --prefix ${PREFIX} --progress-bar off --root \ - ${STAGEDIR} --root-user-action ignore --verbose \ - ${BUILD_WRKSRC}/dist/${PORTNAME:C/[-_]+/_/g}-${PORTVERSION}-*.whl - # Fix the LookupError: setuptools-scm was unable to detect version (build target) MAKE_ENV= SETUPTOOLS_SCM_PRETEND_VERSION="${PORTVERSION}" @@ -78,11 +70,6 @@ post-patch: -e 's,%%PYTHON_VER%%,${PYTHON_VER},1' \ ${WRKSRC}/docs/conf.py -post-install: - ${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} - ${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} - @cd ${STAGEDIR}${PREFIX} && ${FIND} lib -name '*.pyc' >> ${_PYTHONPKGLIST} - 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}${MANPREFIX}/man/man1 diff --git a/devel/py-virtualenv/distinfo b/devel/py-virtualenv/distinfo index 912cc445795a..6b86c8e44753 100644 --- a/devel/py-virtualenv/distinfo +++ b/devel/py-virtualenv/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1677662349 -SHA256 (pypa-virtualenv-20.20.0_GH0.tar.gz) = 7a4cc402610db06e371a17a95c96267fbaf1297af130873bd64ce0d16b7cdc82 -SIZE (pypa-virtualenv-20.20.0_GH0.tar.gz) = 12114470 +TIMESTAMP = 1681973289 +SHA256 (pypa-virtualenv-20.21.1_GH0.tar.gz) = a952efe02335e1c9b080577cacc755cfe48490325803af6880ea6770bec174fa +SIZE (pypa-virtualenv-20.21.1_GH0.tar.gz) = 12154038 diff --git a/devel/py-virtualenv/files/patch-pyproject.toml b/devel/py-virtualenv/files/patch-pyproject.toml index bed8e63cfe23..545dd9af0cd7 100644 --- a/devel/py-virtualenv/files/patch-pyproject.toml +++ b/devel/py-virtualenv/files/patch-pyproject.toml @@ -1,16 +1,14 @@ ---- pyproject.toml.orig 2023-02-06 17:33:30 UTC +--- pyproject.toml.orig 2023-04-19 20:00:13 UTC +++ pyproject.toml -@@ -100,6 +100,13 @@ pip = "virtualenv.seed.embed.pip_invoke:PipInvoke" +@@ -96,6 +96,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 -+# file generated by setuptools_scm -+# don't change, don't track in version control +__version__ = {version!r} +__version_tuple__ = {version_tuple!r} +""" - build.targets.sdist.include = ["/src", "/tests"] + build.targets.sdist.include = ["/src", "/tests", "/tox.ini"] version.source = "vcs"