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: updated to 16.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0bdc617904f
branches:  trunk
changeset: 389608:d0bdc617904f
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jan 04 21:44:13 2019 +0000

description:
py-virtualenv: updated to 16.2.0

v16.2.0:

Bugfixes
copyfile handles relative symlinks and symlinks to symlinks, avoiding problems when Python was installed using stow or homebrew.
Fix preserving of original path when using fish and a subshell.
Drop the source layout of the project, going back to how the source was laid out before 16.1.0.
Fix bootstrap script generation broken with 16.0.0. Support now both CPython, pypy, jython.
lib64 symlink is again relative (as was with < 16.1.0).

Features
fish version 3 support for the activation script.
powershell activator is no longer signed.
pyproject.toml with PEP-517 and PEP-518 is now provided. tox.ini is now packaged with the sdist. Distributions repackaging the library should use tox -e py to run the test suite on the sdist.
activate_this.py improvements: set VIRTUAL_ENV environment variable; pypy, pypy3 and jython support.
The xonsh shell is now supported by generating the xon.sh activation script.
Support pip wheels with removed certifi's cacert.pem.
Upgrade setuptools from 40.5.0 to 40.6.3 and wheel from 0.32.2 to 0.32.3.
powershell now also provides the pydoc function that uses the virtual environments pydoc.
Migrate to a setup.cfg based build. Minimum setuptools required to build is setuptools >= 40.6.3, this is automatically acquired for all PEP-518 builders (recommended), or acquired via the old 
setup_requires method otherwise. Move exclusively to a setuptools generated console entry point script, this now does make setuptools >= 18.0.0 a runtime dependency (install requires). Source and 
issue tracker now is shown on PyPi (supplied as package metadata) beside the homepage.

Deprecations (removal in next major release)
Using python setup.py test is now marked as deprecated and will be removed in next release. Use tox instead, always.
Using the project directly from the source layout is now deprecated. Going ahead people wanting to use the project without installing the virtualenv are encouraged to download the wheel from PyPi and 
extract it to access the virtualenv.py file. We?ll be switching to a src layout with next release.
No longer support distutils build/installation, now setuptools >= 40.6.3 is required.

diffstat:

 devel/py-virtualenv/Makefile |  13 ++++++++++---
 devel/py-virtualenv/PLIST    |   8 ++++----
 devel/py-virtualenv/distinfo |  10 +++++-----
 3 files changed, 19 insertions(+), 12 deletions(-)

diffs (81 lines):

diff -r 108e0318bb31 -r d0bdc617904f devel/py-virtualenv/Makefile
--- a/devel/py-virtualenv/Makefile      Fri Jan 04 21:38:46 2019 +0000
+++ b/devel/py-virtualenv/Makefile      Fri Jan 04 21:44:13 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2018/11/01 18:09:52 adam Exp $
+# $NetBSD: Makefile,v 1.42 2019/01/04 21:44:13 adam Exp $
 
-DISTNAME=      virtualenv-16.1.0
+DISTNAME=      virtualenv-16.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=v/virtualenv/}
@@ -11,8 +11,9 @@
 LICENSE=       mit
 
 TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=4.5.0:../../devel/py-coverage
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=4.0.0:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=1.3.0:../../devel/py-test-timeout
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
 
 .include "../../lang/python/pyversion.mk"
 .if ${_PYTHON_VERSION} == 27
@@ -23,10 +24,16 @@
 
 REPLACE_PYTHON=        virtualenv.py
 
+post-extract:
+       cd ${WRKSRC}/tests && ${RM} -r __pycache__ activation/__pycache__
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
                ${MV} virtualenv virtualenv-${PYVERSSUFFIX} || ${TRUE}
 
+do-test:
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 108e0318bb31 -r d0bdc617904f devel/py-virtualenv/PLIST
--- a/devel/py-virtualenv/PLIST Fri Jan 04 21:38:46 2019 +0000
+++ b/devel/py-virtualenv/PLIST Fri Jan 04 21:44:13 2019 +0000
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.34 2018/11/01 18:09:52 adam Exp $
+@comment $NetBSD: PLIST,v 1.35 2019/01/04 21:44:13 adam Exp $
 bin/virtualenv-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 ${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
@@ -14,5 +14,5 @@
 ${PYSITELIB}/virtualenv_support/__init__.pyc
 ${PYSITELIB}/virtualenv_support/__init__.pyo
 ${PYSITELIB}/virtualenv_support/pip-18.1-py2.py3-none-any.whl
-${PYSITELIB}/virtualenv_support/setuptools-40.5.0-py2.py3-none-any.whl
-${PYSITELIB}/virtualenv_support/wheel-0.32.2-py2.py3-none-any.whl
+${PYSITELIB}/virtualenv_support/setuptools-40.6.3-py2.py3-none-any.whl
+${PYSITELIB}/virtualenv_support/wheel-0.32.3-py2.py3-none-any.whl
diff -r 108e0318bb31 -r d0bdc617904f devel/py-virtualenv/distinfo
--- a/devel/py-virtualenv/distinfo      Fri Jan 04 21:38:46 2019 +0000
+++ b/devel/py-virtualenv/distinfo      Fri Jan 04 21:44:13 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.32 2018/11/01 18:09:52 adam Exp $
+$NetBSD: distinfo,v 1.33 2019/01/04 21:44:13 adam Exp $
 
-SHA1 (virtualenv-16.1.0.tar.gz) = d779e0413ac7b69900fdc0bf26516c9f35605a9b
-RMD160 (virtualenv-16.1.0.tar.gz) = 17ea55a18a04ef155b74a062048bf6edf8e53155
-SHA512 (virtualenv-16.1.0.tar.gz) = 7d14c7d6c6f3a65d87f10097a0a6e27e6e59390e59fc7847cdb151ffe1e2a4be63361bcc6b82c43f3dfec74cbed2d8178df6860f2f3a1ae68c5335b616022e66
-Size (virtualenv-16.1.0.tar.gz) = 1977229 bytes
+SHA1 (virtualenv-16.2.0.tar.gz) = 8765ed464e82f9e8cf64ac917a9f87993bdc11d0
+RMD160 (virtualenv-16.2.0.tar.gz) = eda7ae7d3cb25c9d3eb7c6634c019e5d58966093
+SHA512 (virtualenv-16.2.0.tar.gz) = a9385432c1e213c524521492325bbed96d6519ffa6299ef2052e37cf0e6e1e18ada6326b7dace44312ad5f2431c521154800dcf02a58e88cddc83a68bdcb9bd4
+Size (virtualenv-16.2.0.tar.gz) = 2093333 bytes



Home | Main Index | Thread Index | Old Index