pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-virtualenv py-virtualenv: update 20.14.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2cfbdc4c5b94
branches:  trunk
changeset: 378958:2cfbdc4c5b94
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon May 09 22:08:10 2022 +0000

description:
py-virtualenv: update 20.14.1

Based on wip/py-virtualenv20, mostly by Iku Iwasa, with some help from adam@

Changes: too many to list here.

diffstat:

 devel/py-virtualenv/Makefile                                                                     |   41 +-
 devel/py-virtualenv/PLIST                                                                        |  329 +++++++++-
 devel/py-virtualenv/distinfo                                                                     |   11 +-
 devel/py-virtualenv/patches/patch-src_virtualenv_create_via__global__ref_api.py                  |   28 +
 devel/py-virtualenv/patches/patch-tests_unit_create_test__creator.py                             |   14 +
 devel/py-virtualenv/patches/patch-tests_unit_seed_embed_test__bootstrap__link__via__app__data.py |   14 +
 6 files changed, 406 insertions(+), 31 deletions(-)

diffs (truncated from 494 to 300 lines):

diff -r 60bbe713b6c1 -r 2cfbdc4c5b94 devel/py-virtualenv/Makefile
--- a/devel/py-virtualenv/Makefile      Mon May 09 21:54:04 2022 +0000
+++ b/devel/py-virtualenv/Makefile      Mon May 09 22:08:10 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.55 2022/05/02 09:08:53 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2022/05/09 22:08:10 wiz Exp $
 
-DISTNAME=      virtualenv-16.7.9
+DISTNAME=      virtualenv-20.14.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=v/virtualenv/}
 
@@ -11,32 +10,42 @@
 COMMENT=       Virtual Python Environment builder
 LICENSE=       mit
 
-TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=4.5.0:../../devel/py-coverage
-TEST_DEPENDS+= ${PYPKGPREFIX}-pypiserver-[0-9]*:../../net/py-pypiserver
-TEST_DEPENDS+= ${PYPKGPREFIX}-six>=1.10.0:../../lang/py-six
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-localserver-[0-9]*:../../devel/py-test-localserver
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=1.3.0:../../devel/py-test-timeout
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+DEPENDS+=      ${PYPKGPREFIX}-distlib>=0.3.1:../../devel/py-distlib
+DEPENDS+=      ${PYPKGPREFIX}-filelock>=3.2:../../devel/py-filelock
+DEPENDS+=      ${PYPKGPREFIX}-platformdirs>=2:../../misc/py-platformdirs
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=4:../../devel/py-coverage
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-enable-subprocess>=1:../../devel/py-coverage-enable-subprocess
+TEST_DEPENDS+= ${PYPKGPREFIX}-flaky>=3:../../devel/py-flaky
+TEST_DEPENDS+= ${PYPKGPREFIX}-packaging>=20.0:../../devel/py-packaging
+TEST_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-env>=0.6.2:../../devel/py-test-env
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-freezegun>=0.4.1:../../devel/py-test-freezegun
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=2:../../devel/py-test-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-randomly>=1:../../devel/py-test-randomly
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=1:../../devel/py-test-timeout
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+PYTHON_VERSIONS_INCOMPATIBLE=  27 # py-filelock, py-platformdirs, py-packaging
 
 .include "../../lang/python/pyversion.mk"
 
+.if ${_PYTHON_VERSION} == 37
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.endif
+
 USE_PKG_RESOURCES=     yes
 
-USE_LANGUAGES= # none
+USE_LANGUAGES= c # for tests
 
 REPLACE_PYTHON=        virtualenv.py
 
-TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
-
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} virtualenv virtualenv-${PYVERSSUFFIX} || ${TRUE}
 
-# as of 16.7.9
-# 15 failed, 10 passed, 10 skipped, 5 warnings, 59 errors
+# needs 'make install' and USE_LANGUAGES=c
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
diff -r 60bbe713b6c1 -r 2cfbdc4c5b94 devel/py-virtualenv/PLIST
--- a/devel/py-virtualenv/PLIST Mon May 09 21:54:04 2022 +0000
+++ b/devel/py-virtualenv/PLIST Mon May 09 22:08:10 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.41 2020/01/23 22:59:42 wiz Exp $
+@comment $NetBSD: PLIST,v 1.42 2022/05/09 22:08:10 wiz Exp $
 bin/virtualenv-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -7,13 +7,320 @@
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/${EGG_INFODIR}/zip-safe
-${PYSITELIB}/virtualenv.py
-${PYSITELIB}/virtualenv.pyc
-${PYSITELIB}/virtualenv.pyo
-${PYSITELIB}/virtualenv_support/__init__.py
-${PYSITELIB}/virtualenv_support/__init__.pyc
-${PYSITELIB}/virtualenv_support/__init__.pyo
-${PYSITELIB}/virtualenv_support/pip-19.1.1-py2.py3-none-any.whl
-${PYSITELIB}/virtualenv_support/pip-19.3.1-py2.py3-none-any.whl
-${PYSITELIB}/virtualenv_support/setuptools-42.0.2-py2.py3-none-any.whl
-${PYSITELIB}/virtualenv_support/wheel-0.33.6-py2.py3-none-any.whl
+${PYSITELIB}/virtualenv/__init__.py
+${PYSITELIB}/virtualenv/__init__.pyc
+${PYSITELIB}/virtualenv/__init__.pyo
+${PYSITELIB}/virtualenv/__main__.py
+${PYSITELIB}/virtualenv/__main__.pyc
+${PYSITELIB}/virtualenv/__main__.pyo
+${PYSITELIB}/virtualenv/activation/__init__.py
+${PYSITELIB}/virtualenv/activation/__init__.pyc
+${PYSITELIB}/virtualenv/activation/__init__.pyo
+${PYSITELIB}/virtualenv/activation/activator.py
+${PYSITELIB}/virtualenv/activation/activator.pyc
+${PYSITELIB}/virtualenv/activation/activator.pyo
+${PYSITELIB}/virtualenv/activation/bash/__init__.py
+${PYSITELIB}/virtualenv/activation/bash/__init__.pyc
+${PYSITELIB}/virtualenv/activation/bash/__init__.pyo
+${PYSITELIB}/virtualenv/activation/bash/activate.sh
+${PYSITELIB}/virtualenv/activation/batch/__init__.py
+${PYSITELIB}/virtualenv/activation/batch/__init__.pyc
+${PYSITELIB}/virtualenv/activation/batch/__init__.pyo
+${PYSITELIB}/virtualenv/activation/batch/activate.bat
+${PYSITELIB}/virtualenv/activation/batch/deactivate.bat
+${PYSITELIB}/virtualenv/activation/batch/pydoc.bat
+${PYSITELIB}/virtualenv/activation/cshell/__init__.py
+${PYSITELIB}/virtualenv/activation/cshell/__init__.pyc
+${PYSITELIB}/virtualenv/activation/cshell/__init__.pyo
+${PYSITELIB}/virtualenv/activation/cshell/activate.csh
+${PYSITELIB}/virtualenv/activation/fish/__init__.py
+${PYSITELIB}/virtualenv/activation/fish/__init__.pyc
+${PYSITELIB}/virtualenv/activation/fish/__init__.pyo
+${PYSITELIB}/virtualenv/activation/fish/activate.fish
+${PYSITELIB}/virtualenv/activation/nushell/__init__.py
+${PYSITELIB}/virtualenv/activation/nushell/__init__.pyc
+${PYSITELIB}/virtualenv/activation/nushell/__init__.pyo
+${PYSITELIB}/virtualenv/activation/nushell/activate.nu
+${PYSITELIB}/virtualenv/activation/nushell/deactivate.nu
+${PYSITELIB}/virtualenv/activation/powershell/__init__.py
+${PYSITELIB}/virtualenv/activation/powershell/__init__.pyc
+${PYSITELIB}/virtualenv/activation/powershell/__init__.pyo
+${PYSITELIB}/virtualenv/activation/powershell/activate.ps1
+${PYSITELIB}/virtualenv/activation/python/__init__.py
+${PYSITELIB}/virtualenv/activation/python/__init__.pyc
+${PYSITELIB}/virtualenv/activation/python/__init__.pyo
+${PYSITELIB}/virtualenv/activation/python/activate_this.py
+${PYSITELIB}/virtualenv/activation/python/activate_this.pyc
+${PYSITELIB}/virtualenv/activation/python/activate_this.pyo
+${PYSITELIB}/virtualenv/activation/via_template.py
+${PYSITELIB}/virtualenv/activation/via_template.pyc
+${PYSITELIB}/virtualenv/activation/via_template.pyo
+${PYSITELIB}/virtualenv/app_data/__init__.py
+${PYSITELIB}/virtualenv/app_data/__init__.pyc
+${PYSITELIB}/virtualenv/app_data/__init__.pyo
+${PYSITELIB}/virtualenv/app_data/base.py
+${PYSITELIB}/virtualenv/app_data/base.pyc
+${PYSITELIB}/virtualenv/app_data/base.pyo
+${PYSITELIB}/virtualenv/app_data/na.py
+${PYSITELIB}/virtualenv/app_data/na.pyc
+${PYSITELIB}/virtualenv/app_data/na.pyo
+${PYSITELIB}/virtualenv/app_data/read_only.py
+${PYSITELIB}/virtualenv/app_data/read_only.pyc
+${PYSITELIB}/virtualenv/app_data/read_only.pyo
+${PYSITELIB}/virtualenv/app_data/via_disk_folder.py
+${PYSITELIB}/virtualenv/app_data/via_disk_folder.pyc
+${PYSITELIB}/virtualenv/app_data/via_disk_folder.pyo
+${PYSITELIB}/virtualenv/app_data/via_tempdir.py
+${PYSITELIB}/virtualenv/app_data/via_tempdir.pyc
+${PYSITELIB}/virtualenv/app_data/via_tempdir.pyo
+${PYSITELIB}/virtualenv/config/__init__.py
+${PYSITELIB}/virtualenv/config/__init__.pyc
+${PYSITELIB}/virtualenv/config/__init__.pyo
+${PYSITELIB}/virtualenv/config/cli/__init__.py
+${PYSITELIB}/virtualenv/config/cli/__init__.pyc
+${PYSITELIB}/virtualenv/config/cli/__init__.pyo
+${PYSITELIB}/virtualenv/config/cli/parser.py
+${PYSITELIB}/virtualenv/config/cli/parser.pyc
+${PYSITELIB}/virtualenv/config/cli/parser.pyo
+${PYSITELIB}/virtualenv/config/convert.py
+${PYSITELIB}/virtualenv/config/convert.pyc
+${PYSITELIB}/virtualenv/config/convert.pyo
+${PYSITELIB}/virtualenv/config/env_var.py
+${PYSITELIB}/virtualenv/config/env_var.pyc
+${PYSITELIB}/virtualenv/config/env_var.pyo
+${PYSITELIB}/virtualenv/config/ini.py
+${PYSITELIB}/virtualenv/config/ini.pyc
+${PYSITELIB}/virtualenv/config/ini.pyo
+${PYSITELIB}/virtualenv/create/__init__.py
+${PYSITELIB}/virtualenv/create/__init__.pyc
+${PYSITELIB}/virtualenv/create/__init__.pyo
+${PYSITELIB}/virtualenv/create/creator.py
+${PYSITELIB}/virtualenv/create/creator.pyc
+${PYSITELIB}/virtualenv/create/creator.pyo
+${PYSITELIB}/virtualenv/create/debug.py
+${PYSITELIB}/virtualenv/create/debug.pyc
+${PYSITELIB}/virtualenv/create/debug.pyo
+${PYSITELIB}/virtualenv/create/describe.py
+${PYSITELIB}/virtualenv/create/describe.pyc
+${PYSITELIB}/virtualenv/create/describe.pyo
+${PYSITELIB}/virtualenv/create/pyenv_cfg.py
+${PYSITELIB}/virtualenv/create/pyenv_cfg.pyc
+${PYSITELIB}/virtualenv/create/pyenv_cfg.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/__init__.py
+${PYSITELIB}/virtualenv/create/via_global_ref/__init__.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/__init__.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/_virtualenv.py
+${PYSITELIB}/virtualenv/create/via_global_ref/_virtualenv.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/_virtualenv.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/api.py
+${PYSITELIB}/virtualenv/create/via_global_ref/api.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/api.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/__init__.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/__init__.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/__init__.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/builtin_way.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/builtin_way.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/builtin_way.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/__init__.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/__init__.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/__init__.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/common.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/common.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/common.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/cpython2.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/cpython2.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/cpython2.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/cpython3.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/cpython3.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/cpython3.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/mac_os.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/mac_os.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/cpython/mac_os.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/__init__.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/__init__.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/__init__.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/common.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/common.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/common.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/pypy2.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/pypy2.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/pypy2.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/pypy3.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/pypy3.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/pypy/pypy3.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/python2/__init__.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/python2/__init__.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/python2/__init__.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/python2/python2.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/python2/python2.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/python2/python2.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/python2/site.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/python2/site.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/python2/site.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/ref.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/ref.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/ref.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/via_global_self_do.py
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/via_global_self_do.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/builtin/via_global_self_do.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/store.py
+${PYSITELIB}/virtualenv/create/via_global_ref/store.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/store.pyo
+${PYSITELIB}/virtualenv/create/via_global_ref/venv.py
+${PYSITELIB}/virtualenv/create/via_global_ref/venv.pyc
+${PYSITELIB}/virtualenv/create/via_global_ref/venv.pyo
+${PYSITELIB}/virtualenv/discovery/__init__.py
+${PYSITELIB}/virtualenv/discovery/__init__.pyc
+${PYSITELIB}/virtualenv/discovery/__init__.pyo
+${PYSITELIB}/virtualenv/discovery/builtin.py
+${PYSITELIB}/virtualenv/discovery/builtin.pyc
+${PYSITELIB}/virtualenv/discovery/builtin.pyo
+${PYSITELIB}/virtualenv/discovery/cached_py_info.py
+${PYSITELIB}/virtualenv/discovery/cached_py_info.pyc
+${PYSITELIB}/virtualenv/discovery/cached_py_info.pyo
+${PYSITELIB}/virtualenv/discovery/discover.py
+${PYSITELIB}/virtualenv/discovery/discover.pyc
+${PYSITELIB}/virtualenv/discovery/discover.pyo
+${PYSITELIB}/virtualenv/discovery/py_info.py
+${PYSITELIB}/virtualenv/discovery/py_info.pyc
+${PYSITELIB}/virtualenv/discovery/py_info.pyo
+${PYSITELIB}/virtualenv/discovery/py_spec.py
+${PYSITELIB}/virtualenv/discovery/py_spec.pyc
+${PYSITELIB}/virtualenv/discovery/py_spec.pyo
+${PYSITELIB}/virtualenv/discovery/windows/__init__.py
+${PYSITELIB}/virtualenv/discovery/windows/__init__.pyc
+${PYSITELIB}/virtualenv/discovery/windows/__init__.pyo
+${PYSITELIB}/virtualenv/discovery/windows/pep514.py
+${PYSITELIB}/virtualenv/discovery/windows/pep514.pyc
+${PYSITELIB}/virtualenv/discovery/windows/pep514.pyo
+${PYSITELIB}/virtualenv/info.py
+${PYSITELIB}/virtualenv/info.pyc
+${PYSITELIB}/virtualenv/info.pyo
+${PYSITELIB}/virtualenv/report.py
+${PYSITELIB}/virtualenv/report.pyc
+${PYSITELIB}/virtualenv/report.pyo
+${PYSITELIB}/virtualenv/run/__init__.py
+${PYSITELIB}/virtualenv/run/__init__.pyc
+${PYSITELIB}/virtualenv/run/__init__.pyo
+${PYSITELIB}/virtualenv/run/plugin/__init__.py
+${PYSITELIB}/virtualenv/run/plugin/__init__.pyc
+${PYSITELIB}/virtualenv/run/plugin/__init__.pyo
+${PYSITELIB}/virtualenv/run/plugin/activators.py
+${PYSITELIB}/virtualenv/run/plugin/activators.pyc
+${PYSITELIB}/virtualenv/run/plugin/activators.pyo
+${PYSITELIB}/virtualenv/run/plugin/base.py
+${PYSITELIB}/virtualenv/run/plugin/base.pyc
+${PYSITELIB}/virtualenv/run/plugin/base.pyo
+${PYSITELIB}/virtualenv/run/plugin/creators.py
+${PYSITELIB}/virtualenv/run/plugin/creators.pyc
+${PYSITELIB}/virtualenv/run/plugin/creators.pyo



Home | Main Index | Thread Index | Old Index