pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-virtualenv



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr  4 09:52:28 UTC 2023

Modified Files:
        pkgsrc/devel/py-virtualenv: Makefile PLIST distinfo
        pkgsrc/devel/py-virtualenv/patches:
            patch-src_virtualenv_create_via__global__ref_api.py

Log Message:
py-virtualenv: updated to 20.21.0

v20.21.0 (2023-03-12)

Features - 20.21.0

Make closure syntax explicitly starts with {||.

Bugfixes - 20.21.0

Add print command to nushell print_prompt to ensure compatibility with future release of nushell, where intermediate commands no longer print their result to stdout.
Do not assume the default encoding.
Make ReentrantFileLock thread-safe and, thereby, fix race condition in virtualenv.cli_run


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/devel/py-virtualenv/Makefile
cvs rdiff -u -r1.49 -r1.50 pkgsrc/devel/py-virtualenv/PLIST
cvs rdiff -u -r1.52 -r1.53 pkgsrc/devel/py-virtualenv/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/devel/py-virtualenv/patches/patch-src_virtualenv_create_via__global__ref_api.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-virtualenv/Makefile
diff -u pkgsrc/devel/py-virtualenv/Makefile:1.64 pkgsrc/devel/py-virtualenv/Makefile:1.65
--- pkgsrc/devel/py-virtualenv/Makefile:1.64    Tue Mar  7 20:32:27 2023
+++ pkgsrc/devel/py-virtualenv/Makefile Tue Apr  4 09:52:28 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.64 2023/03/07 20:32:27 adam Exp $
+# $NetBSD: Makefile,v 1.65 2023/04/04 09:52:28 adam Exp $
 
-DISTNAME=      virtualenv-20.20.0
+DISTNAME=      virtualenv-20.21.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=v/virtualenv/}
@@ -33,12 +33,14 @@ USE_LANGUAGES=      c # for tests
 REPLACE_PYTHON=        virtualenv.py
 
 post-install:
+       # see patches
+       ${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/virtualenv/create/via_global_ref/api.py.orig
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} virtualenv virtualenv-${PYVERSSUFFIX} || ${TRUE}
 
 # needs 'make install' and USE_LANGUAGES=c
 do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/wheel.mk"

Index: pkgsrc/devel/py-virtualenv/PLIST
diff -u pkgsrc/devel/py-virtualenv/PLIST:1.49 pkgsrc/devel/py-virtualenv/PLIST:1.50
--- pkgsrc/devel/py-virtualenv/PLIST:1.49       Tue Mar  7 20:32:27 2023
+++ pkgsrc/devel/py-virtualenv/PLIST    Tue Apr  4 09:52:28 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.49 2023/03/07 20:32:27 adam Exp $
+@comment $NetBSD: PLIST,v 1.50 2023/04/04 09:52:28 adam Exp $
 bin/virtualenv-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
@@ -81,7 +81,6 @@ ${PYSITELIB}/virtualenv/create/via_globa
 ${PYSITELIB}/virtualenv/create/via_global_ref/_virtualenv.py
 ${PYSITELIB}/virtualenv/create/via_global_ref/_virtualenv.pyc
 ${PYSITELIB}/virtualenv/create/via_global_ref/api.py
-${PYSITELIB}/virtualenv/create/via_global_ref/api.py.orig
 ${PYSITELIB}/virtualenv/create/via_global_ref/api.pyc
 ${PYSITELIB}/virtualenv/create/via_global_ref/builtin/__init__.py
 ${PYSITELIB}/virtualenv/create/via_global_ref/builtin/__init__.pyc

Index: pkgsrc/devel/py-virtualenv/distinfo
diff -u pkgsrc/devel/py-virtualenv/distinfo:1.52 pkgsrc/devel/py-virtualenv/distinfo:1.53
--- pkgsrc/devel/py-virtualenv/distinfo:1.52    Tue Mar  7 20:32:27 2023
+++ pkgsrc/devel/py-virtualenv/distinfo Tue Apr  4 09:52:28 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.52 2023/03/07 20:32:27 adam Exp $
+$NetBSD: distinfo,v 1.53 2023/04/04 09:52:28 adam Exp $
 
-BLAKE2s (virtualenv-20.20.0.tar.gz) = b791e28117165ea743ae887f1560febd84f3a8ff169db41a698d74980e3eb2c8
-SHA512 (virtualenv-20.20.0.tar.gz) = 6710efcbead1358479961c84ec3f6b9c3a1fc59c2f6b33fa13e2609554f7072aee7ef8cc07b4aa2fbc27ac950a78e447529fb8ceb2e4ee0881a4356a67d26641
-Size (virtualenv-20.20.0.tar.gz) = 12069625 bytes
-SHA1 (patch-src_virtualenv_create_via__global__ref_api.py) = cf39d9cdf0927b32865677d64ddcbd59ecc726a5
+BLAKE2s (virtualenv-20.21.0.tar.gz) = 2f3ecc460cb8421e0e5126f608632e1eaac6d66d2ad603313494bcab21c5c34e
+SHA512 (virtualenv-20.21.0.tar.gz) = 77aae5ebc5007093953c30da1eed996e851a65c7dd1f7a3a85961a1bb251b3d7970936eea1efe8babb216d2024072bdbf1c1a97ba8760a04a0abf6e7c3a27d09
+Size (virtualenv-20.21.0.tar.gz) = 12070063 bytes
+SHA1 (patch-src_virtualenv_create_via__global__ref_api.py) = 46f53fba8ca4229692240b088e1a6705042b84df
 SHA1 (patch-tests_unit_create_test__creator.py) = 4d0de65da957040c3f6e7e0682b6e6bdfdcf3abc
 SHA1 (patch-tests_unit_seed_embed_test__bootstrap__link__via__app__data.py) = de17dc8e578af57c9c43f38343a0c0af0d04227d

Index: pkgsrc/devel/py-virtualenv/patches/patch-src_virtualenv_create_via__global__ref_api.py
diff -u pkgsrc/devel/py-virtualenv/patches/patch-src_virtualenv_create_via__global__ref_api.py:1.2 pkgsrc/devel/py-virtualenv/patches/patch-src_virtualenv_create_via__global__ref_api.py:1.3
--- pkgsrc/devel/py-virtualenv/patches/patch-src_virtualenv_create_via__global__ref_api.py:1.2  Thu Sep  8 07:46:09 2022
+++ pkgsrc/devel/py-virtualenv/patches/patch-src_virtualenv_create_via__global__ref_api.py      Tue Apr  4 09:52:28 2023
@@ -1,9 +1,9 @@
-$NetBSD: patch-src_virtualenv_create_via__global__ref_api.py,v 1.2 2022/09/08 07:46:09 adam Exp $
+$NetBSD: patch-src_virtualenv_create_via__global__ref_api.py,v 1.3 2023/04/04 09:52:28 adam 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-09-08 02:18:47.000000000 +0000
+--- src/virtualenv/create/via_global_ref/api.py.orig   2020-02-02 00:00:00.000000000 +0000
 +++ src/virtualenv/create/via_global_ref/api.py
 @@ -2,6 +2,8 @@ import logging
  import os
@@ -16,7 +16,7 @@ https://github.com/pypa/virtualenv/issue
  
 @@ -92,6 +94,10 @@ class ViaGlobalRefApi(Creator, metaclass
              logging.debug("create %s", dest_path)
-             dest_path.write_text(text)
+             dest_path.write_text(text, encoding="utf-8")
  
 +        distutils_distro_config = get_paths()["platlib"] + "/_distutils_system_mod.py"
 +        if os.path.exists(distutils_distro_config):



Home | Main Index | Thread Index | Old Index