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.
This commit is contained in:
parent
fb5a3efd4b
commit
8f7271aff9
6 changed files with 406 additions and 31 deletions
|
@ -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 @@ HOMEPAGE= https://virtualenv.pypa.io/
|
|||
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}
|
||||
|
||||
|
|
|
@ -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}/entry_points.txt
|
|||
${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
|
||||
${PYSITELIB}/virtualenv/run/plugin/discovery.py
|
||||
${PYSITELIB}/virtualenv/run/plugin/discovery.pyc
|
||||
${PYSITELIB}/virtualenv/run/plugin/discovery.pyo
|
||||
${PYSITELIB}/virtualenv/run/plugin/seeders.py
|
||||
${PYSITELIB}/virtualenv/run/plugin/seeders.pyc
|
||||
${PYSITELIB}/virtualenv/run/plugin/seeders.pyo
|
||||
${PYSITELIB}/virtualenv/run/session.py
|
||||
${PYSITELIB}/virtualenv/run/session.pyc
|
||||
${PYSITELIB}/virtualenv/run/session.pyo
|
||||
${PYSITELIB}/virtualenv/seed/__init__.py
|
||||
${PYSITELIB}/virtualenv/seed/__init__.pyc
|
||||
${PYSITELIB}/virtualenv/seed/__init__.pyo
|
||||
${PYSITELIB}/virtualenv/seed/embed/__init__.py
|
||||
${PYSITELIB}/virtualenv/seed/embed/__init__.pyc
|
||||
${PYSITELIB}/virtualenv/seed/embed/__init__.pyo
|
||||
${PYSITELIB}/virtualenv/seed/embed/base_embed.py
|
||||
${PYSITELIB}/virtualenv/seed/embed/base_embed.pyc
|
||||
${PYSITELIB}/virtualenv/seed/embed/base_embed.pyo
|
||||
${PYSITELIB}/virtualenv/seed/embed/pip_invoke.py
|
||||
${PYSITELIB}/virtualenv/seed/embed/pip_invoke.pyc
|
||||
${PYSITELIB}/virtualenv/seed/embed/pip_invoke.pyo
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/__init__.py
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/__init__.pyc
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/__init__.pyo
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/__init__.py
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/__init__.pyc
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/__init__.pyo
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/base.py
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/base.pyc
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/base.pyo
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/copy.py
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/copy.pyc
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/copy.pyo
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/symlink.py
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/symlink.pyc
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/pip_install/symlink.pyo
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/via_app_data.py
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/via_app_data.pyc
|
||||
${PYSITELIB}/virtualenv/seed/embed/via_app_data/via_app_data.pyo
|
||||
${PYSITELIB}/virtualenv/seed/seeder.py
|
||||
${PYSITELIB}/virtualenv/seed/seeder.pyc
|
||||
${PYSITELIB}/virtualenv/seed/seeder.pyo
|
||||
${PYSITELIB}/virtualenv/seed/wheels/__init__.py
|
||||
${PYSITELIB}/virtualenv/seed/wheels/__init__.pyc
|
||||
${PYSITELIB}/virtualenv/seed/wheels/__init__.pyo
|
||||
${PYSITELIB}/virtualenv/seed/wheels/acquire.py
|
||||
${PYSITELIB}/virtualenv/seed/wheels/acquire.pyc
|
||||
${PYSITELIB}/virtualenv/seed/wheels/acquire.pyo
|
||||
${PYSITELIB}/virtualenv/seed/wheels/bundle.py
|
||||
${PYSITELIB}/virtualenv/seed/wheels/bundle.pyc
|
||||
${PYSITELIB}/virtualenv/seed/wheels/bundle.pyo
|
||||
${PYSITELIB}/virtualenv/seed/wheels/embed/__init__.py
|
||||
${PYSITELIB}/virtualenv/seed/wheels/embed/__init__.pyc
|
||||
${PYSITELIB}/virtualenv/seed/wheels/embed/__init__.pyo
|
||||
${PYSITELIB}/virtualenv/seed/wheels/embed/pip-20.3.4-py2.py3-none-any.whl
|
||||
${PYSITELIB}/virtualenv/seed/wheels/embed/pip-21.3.1-py3-none-any.whl
|
||||
${PYSITELIB}/virtualenv/seed/wheels/embed/pip-22.0.4-py3-none-any.whl
|
||||
${PYSITELIB}/virtualenv/seed/wheels/embed/setuptools-44.1.1-py2.py3-none-any.whl
|
||||
${PYSITELIB}/virtualenv/seed/wheels/embed/setuptools-50.3.2-py3-none-any.whl
|
||||
${PYSITELIB}/virtualenv/seed/wheels/embed/setuptools-59.6.0-py3-none-any.whl
|
||||
${PYSITELIB}/virtualenv/seed/wheels/embed/setuptools-62.1.0-py3-none-any.whl
|
||||
${PYSITELIB}/virtualenv/seed/wheels/embed/wheel-0.37.1-py2.py3-none-any.whl
|
||||
${PYSITELIB}/virtualenv/seed/wheels/periodic_update.py
|
||||
${PYSITELIB}/virtualenv/seed/wheels/periodic_update.pyc
|
||||
${PYSITELIB}/virtualenv/seed/wheels/periodic_update.pyo
|
||||
${PYSITELIB}/virtualenv/seed/wheels/util.py
|
||||
${PYSITELIB}/virtualenv/seed/wheels/util.pyc
|
||||
${PYSITELIB}/virtualenv/seed/wheels/util.pyo
|
||||
${PYSITELIB}/virtualenv/util/__init__.py
|
||||
${PYSITELIB}/virtualenv/util/__init__.pyc
|
||||
${PYSITELIB}/virtualenv/util/__init__.pyo
|
||||
${PYSITELIB}/virtualenv/util/error.py
|
||||
${PYSITELIB}/virtualenv/util/error.pyc
|
||||
${PYSITELIB}/virtualenv/util/error.pyo
|
||||
${PYSITELIB}/virtualenv/util/lock.py
|
||||
${PYSITELIB}/virtualenv/util/lock.pyc
|
||||
${PYSITELIB}/virtualenv/util/lock.pyo
|
||||
${PYSITELIB}/virtualenv/util/path/__init__.py
|
||||
${PYSITELIB}/virtualenv/util/path/__init__.pyc
|
||||
${PYSITELIB}/virtualenv/util/path/__init__.pyo
|
||||
${PYSITELIB}/virtualenv/util/path/_pathlib/__init__.py
|
||||
${PYSITELIB}/virtualenv/util/path/_pathlib/__init__.pyc
|
||||
${PYSITELIB}/virtualenv/util/path/_pathlib/__init__.pyo
|
||||
${PYSITELIB}/virtualenv/util/path/_pathlib/via_os_path.py
|
||||
${PYSITELIB}/virtualenv/util/path/_pathlib/via_os_path.pyc
|
||||
${PYSITELIB}/virtualenv/util/path/_pathlib/via_os_path.pyo
|
||||
${PYSITELIB}/virtualenv/util/path/_permission.py
|
||||
${PYSITELIB}/virtualenv/util/path/_permission.pyc
|
||||
${PYSITELIB}/virtualenv/util/path/_permission.pyo
|
||||
${PYSITELIB}/virtualenv/util/path/_sync.py
|
||||
${PYSITELIB}/virtualenv/util/path/_sync.pyc
|
||||
${PYSITELIB}/virtualenv/util/path/_sync.pyo
|
||||
${PYSITELIB}/virtualenv/util/path/_win.py
|
||||
${PYSITELIB}/virtualenv/util/path/_win.pyc
|
||||
${PYSITELIB}/virtualenv/util/path/_win.pyo
|
||||
${PYSITELIB}/virtualenv/util/six.py
|
||||
${PYSITELIB}/virtualenv/util/six.pyc
|
||||
${PYSITELIB}/virtualenv/util/six.pyo
|
||||
${PYSITELIB}/virtualenv/util/subprocess/__init__.py
|
||||
${PYSITELIB}/virtualenv/util/subprocess/__init__.pyc
|
||||
${PYSITELIB}/virtualenv/util/subprocess/__init__.pyo
|
||||
${PYSITELIB}/virtualenv/util/subprocess/_win_subprocess.py
|
||||
${PYSITELIB}/virtualenv/util/subprocess/_win_subprocess.pyc
|
||||
${PYSITELIB}/virtualenv/util/subprocess/_win_subprocess.pyo
|
||||
${PYSITELIB}/virtualenv/util/zipapp.py
|
||||
${PYSITELIB}/virtualenv/util/zipapp.pyc
|
||||
${PYSITELIB}/virtualenv/util/zipapp.pyo
|
||||
${PYSITELIB}/virtualenv/version.py
|
||||
${PYSITELIB}/virtualenv/version.pyc
|
||||
${PYSITELIB}/virtualenv/version.pyo
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.43 2021/10/26 10:19:15 nia Exp $
|
||||
$NetBSD: distinfo,v 1.44 2022/05/09 22:08:10 wiz Exp $
|
||||
|
||||
BLAKE2s (virtualenv-16.7.9.tar.gz) = e1fdf1a842e05d8b8fe381e5bc41c752fbb6041ac43c2f9a0fcdb55014fcd086
|
||||
SHA512 (virtualenv-16.7.9.tar.gz) = ba2d08ec3425929806506c4c33e48d250153b02bd454eb340ab959519dd82ede8b12f2d2ab839e2a8711f29695d3956a457a1ca366a3b4fb4fb26c4c8d48c6cd
|
||||
Size (virtualenv-16.7.9.tar.gz) = 5121717 bytes
|
||||
BLAKE2s (virtualenv-20.14.1.tar.gz) = a29a362b33e0306b8e0d5691863fe2fef6600433fc1e62d691df8eb9c9e68081
|
||||
SHA512 (virtualenv-20.14.1.tar.gz) = 149e78787db23eabd4238baa172bf023ddcf87d59284fdd090269acfa15991aab182f9e168851f88ef810d5c50dd7cdce69d132c46ebedb10080d65a308e63a1
|
||||
Size (virtualenv-20.14.1.tar.gz) = 12216889 bytes
|
||||
SHA1 (patch-src_virtualenv_create_via__global__ref_api.py) = a55f2bbf974cb9cb6cbe79b8f29210a7db5ce470
|
||||
SHA1 (patch-tests_unit_create_test__creator.py) = ae1121ca6786801a4d690b70fdc4fdeb65488cca
|
||||
SHA1 (patch-tests_unit_seed_embed_test__bootstrap__link__via__app__data.py) = c20b1ecdbfb576be3697c8c52f9f9d21e2e7e7b9
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
$NetBSD: patch-src_virtualenv_create_via__global__ref_api.py,v 1.1 2022/05/09 22:08:10 wiz Exp $
|
||||
|
||||
Copy distutils distro config file to virtualenv.
|
||||
https://github.com/pypa/virtualenv/issues/2313
|
||||
|
||||
--- src/virtualenv/create/via_global_ref/api.py.orig 2022-04-11 10:38:39.000000000 +0000
|
||||
+++ src/virtualenv/create/via_global_ref/api.py
|
||||
@@ -4,6 +4,9 @@ import logging
|
||||
import os
|
||||
from abc import ABCMeta
|
||||
|
||||
+from shutil import copy
|
||||
+from sysconfig import get_paths
|
||||
+
|
||||
from six import add_metaclass
|
||||
|
||||
from virtualenv.info import fs_supports_symlink
|
||||
@@ -98,6 +101,10 @@ class ViaGlobalRefApi(Creator):
|
||||
logging.debug("create %s", ensure_text(str(dest_path)))
|
||||
dest_path.write_text(text)
|
||||
|
||||
+ distutils_distro_config = get_paths()["platlib"] + "/_distutils_system_mod.py"
|
||||
+ if os.path.exists(distutils_distro_config):
|
||||
+ copy(distutils_distro_config, self.platlib)
|
||||
+
|
||||
def env_patch_text(self):
|
||||
"""Patch the distutils package to not be derailed by its configuration files"""
|
||||
with self.app_data.ensure_extracted(Path(__file__).parent / "_virtualenv.py") as resolved_path:
|
|
@ -0,0 +1,14 @@
|
|||
$NetBSD: patch-tests_unit_create_test__creator.py,v 1.1 2022/05/09 22:08:10 wiz Exp $
|
||||
|
||||
Fix testing, related to patch-src_virtualenv_create_via__global__ref_api.py.
|
||||
|
||||
--- tests/unit/create/test_creator.py.orig 2022-05-04 12:29:21.000000000 +0000
|
||||
+++ tests/unit/create/test_creator.py
|
||||
@@ -156,6 +156,7 @@ def test_create_no_seed(python, creator,
|
||||
purelib = creator.purelib
|
||||
patch_files = {purelib / "{}.{}".format("_virtualenv", i) for i in ("py", "pyc", "pth")}
|
||||
patch_files.add(purelib / "__pycache__")
|
||||
+ patch_files.add(purelib / "_distutils_system_mod.py")
|
||||
content = set(creator.purelib.iterdir()) - patch_files
|
||||
assert not content, "\n".join(ensure_text(str(i)) for i in content)
|
||||
assert creator.env_name == ensure_text(dest.name)
|
|
@ -0,0 +1,14 @@
|
|||
$NetBSD: patch-tests_unit_seed_embed_test__bootstrap__link__via__app__data.py,v 1.1 2022/05/09 22:08:10 wiz Exp $
|
||||
|
||||
Fix testing, related to patch-src_virtualenv_create_via__global__ref_api.py.
|
||||
|
||||
--- tests/unit/seed/embed/test_bootstrap_link_via_app_data.py.orig 2022-05-04 12:39:44.000000000 +0000
|
||||
+++ tests/unit/seed/embed/test_bootstrap_link_via_app_data.py
|
||||
@@ -114,6 +114,7 @@ def test_seed_link_via_app_data(tmp_path
|
||||
purelib = result.creator.purelib
|
||||
patch_files = {purelib / "{}.{}".format("_virtualenv", i) for i in ("py", "pyc", "pth")}
|
||||
patch_files.add(purelib / "__pycache__")
|
||||
+ patch_files.add(purelib / "_distutils_system_mod.py")
|
||||
post_run = set(site_package.iterdir()) - patch_files
|
||||
assert not post_run, "\n".join(str(i) for i in post_run)
|
||||
|
Loading…
Reference in a new issue