pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pip-run



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jan 27 18:35:25 UTC 2024

Modified Files:
        pkgsrc/devel/py-pip-run: Makefile PLIST distinfo

Log Message:
py-pip-run: updated to 12.5.0

v12.5.0

Features
- Add support for script dependencies in a TOML block per PEP 723.

v12.4.0

Features
- Ensure requirements with a URL are not detected as installed.

v12.3.1

Bugfixes
- Removed Python 3.7 compatibility code.

v12.3.0

Features
- Renamed PIP_RUN_MODE variable to PIP_RUN_RETENTION_STRATEGY. Also renamed the default value of 'ephemeral' to 'destroy'. If PIP_RUN_MODE is used, a warning is emitted.

v12.2.2

Bugfixes
- Made pydragon example portable to Windows

v12.2.1

Bugfixes
- Refreshed README

v12.2.0

Features
- Presence of Python script parameters now honors files with a shebang even if no Python extension is present.

v12.1.0

Features
- Require Python 3.8 or later.

Bugfixes
- Fixed EncodingWarning in scripts module.

v12.0.1

Bugfixes
- Fix IndexError when no parameters are supplied.

v12.0.0

Features
- The executable parameters now accept a ``!`` prefix, indicating to run a separate executable instead of Python in the context.

Deprecations and Removals
- ``pip_run.launch.with_path`` now expects the literal command to be passed and no longer injects the ``sys.executable``. For compatibility, pass the executable in the params or wrap the params in 
something like ``pip_run.launch.infer_cmd``.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-pip-run/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-pip-run/PLIST \
    pkgsrc/devel/py-pip-run/distinfo

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-pip-run/Makefile
diff -u pkgsrc/devel/py-pip-run/Makefile:1.6 pkgsrc/devel/py-pip-run/Makefile:1.7
--- pkgsrc/devel/py-pip-run/Makefile:1.6        Sat Oct 28 19:57:05 2023
+++ pkgsrc/devel/py-pip-run/Makefile    Sat Jan 27 18:35:25 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2023/10/28 19:57:05 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2024/01/27 18:35:25 adam Exp $
 
-DISTNAME=      pip-run-10.0.7
+DISTNAME=      pip-run-12.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pip-run/}
 
@@ -11,11 +10,13 @@ HOMEPAGE=   https://github.com/jaraco/pip-
 COMMENT=       Install packages and run Python with them
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=56:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-autocommand-[0-9]*:../../misc/py-autocommand
 DEPENDS+=      ${PYPKGPREFIX}-jaraco.context-[0-9]*:../../devel/py-jaraco.context
-DEPENDS+=      ${PYPKGPREFIX}-jaraco.functools-[0-9]*:../../devel/py-jaraco.functools
+DEPENDS+=      ${PYPKGPREFIX}-jaraco.env-[0-9]*:../../devel/py-jaraco.env
+DEPENDS+=      ${PYPKGPREFIX}-jaraco.functools>=3.7:../../devel/py-jaraco.functools
 DEPENDS+=      ${PYPKGPREFIX}-jaraco.text-[0-9]*:../../textproc/py-jaraco.text
 DEPENDS+=      ${PYPKGPREFIX}-more-itertools>=8.3:../../devel/py-more-itertools
 DEPENDS+=      ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
@@ -24,19 +25,23 @@ DEPENDS+=   ${PYPKGPREFIX}-pip>=19.3:../..
 DEPENDS+=      ${PYPKGPREFIX}-platformdirs-[0-9]*:../../misc/py-platformdirs
 TEST_DEPENDS+= ${PYPKGPREFIX}-jaraco.path-[0-9]*:../../devel/py-jaraco.path
 TEST_DEPENDS+= ${PYPKGPREFIX}-nbformat-[0-9]*:../../www/py-nbformat
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 309
+DEPENDS+=      ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
+.endif
+.if ${PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
+.endif
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} pip-run pip-run-${PYVERSSUFFIX} || ${TRUE}
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-pip-run/PLIST
diff -u pkgsrc/devel/py-pip-run/PLIST:1.4 pkgsrc/devel/py-pip-run/PLIST:1.5
--- pkgsrc/devel/py-pip-run/PLIST:1.4   Sat Oct 28 19:57:05 2023
+++ pkgsrc/devel/py-pip-run/PLIST       Sat Jan 27 18:35:25 2024
@@ -1,47 +1,47 @@
-@comment $NetBSD: PLIST,v 1.4 2023/10/28 19:57:05 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2024/01/27 18:35:25 adam Exp $
 bin/pip-run-${PYVERSSUFFIX}
-${PYSITELIB}/pip-run.py
-${PYSITELIB}/pip-run.pyc
-${PYSITELIB}/pip-run.pyo
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/pip-run.py
+${PYSITELIB}/pip-run.pyc
+${PYSITELIB}/pip-run.pyo
 ${PYSITELIB}/pip_run/__init__.py
 ${PYSITELIB}/pip_run/__init__.pyc
 ${PYSITELIB}/pip_run/__init__.pyo
 ${PYSITELIB}/pip_run/__main__.py
 ${PYSITELIB}/pip_run/__main__.pyc
 ${PYSITELIB}/pip_run/__main__.pyo
-${PYSITELIB}/pip_run/_py37compat.py
-${PYSITELIB}/pip_run/_py37compat.pyc
-${PYSITELIB}/pip_run/_py37compat.pyo
-${PYSITELIB}/pip_run/_py38compat.py
-${PYSITELIB}/pip_run/_py38compat.pyc
-${PYSITELIB}/pip_run/_py38compat.pyo
 ${PYSITELIB}/pip_run/commands.py
 ${PYSITELIB}/pip_run/commands.pyc
 ${PYSITELIB}/pip_run/commands.pyo
+${PYSITELIB}/pip_run/compat/py310.py
+${PYSITELIB}/pip_run/compat/py310.pyc
+${PYSITELIB}/pip_run/compat/py310.pyo
+${PYSITELIB}/pip_run/compat/py38.py
+${PYSITELIB}/pip_run/compat/py38.pyc
+${PYSITELIB}/pip_run/compat/py38.pyo
 ${PYSITELIB}/pip_run/deps.py
 ${PYSITELIB}/pip_run/deps.pyc
 ${PYSITELIB}/pip_run/deps.pyo
 ${PYSITELIB}/pip_run/launch.py
 ${PYSITELIB}/pip_run/launch.pyc
 ${PYSITELIB}/pip_run/launch.pyo
-${PYSITELIB}/pip_run/mode/__init__.py
-${PYSITELIB}/pip_run/mode/__init__.pyc
-${PYSITELIB}/pip_run/mode/__init__.pyo
-${PYSITELIB}/pip_run/mode/ephemeral.py
-${PYSITELIB}/pip_run/mode/ephemeral.pyc
-${PYSITELIB}/pip_run/mode/ephemeral.pyo
-${PYSITELIB}/pip_run/mode/persist.py
-${PYSITELIB}/pip_run/mode/persist.pyc
-${PYSITELIB}/pip_run/mode/persist.pyo
 ${PYSITELIB}/pip_run/read-deps.py
 ${PYSITELIB}/pip_run/read-deps.pyc
 ${PYSITELIB}/pip_run/read-deps.pyo
+${PYSITELIB}/pip_run/retention/__init__.py
+${PYSITELIB}/pip_run/retention/__init__.pyc
+${PYSITELIB}/pip_run/retention/__init__.pyo
+${PYSITELIB}/pip_run/retention/destroy.py
+${PYSITELIB}/pip_run/retention/destroy.pyc
+${PYSITELIB}/pip_run/retention/destroy.pyo
+${PYSITELIB}/pip_run/retention/persist.py
+${PYSITELIB}/pip_run/retention/persist.pyc
+${PYSITELIB}/pip_run/retention/persist.pyo
 ${PYSITELIB}/pip_run/scripts.py
 ${PYSITELIB}/pip_run/scripts.pyc
 ${PYSITELIB}/pip_run/scripts.pyo
Index: pkgsrc/devel/py-pip-run/distinfo
diff -u pkgsrc/devel/py-pip-run/distinfo:1.4 pkgsrc/devel/py-pip-run/distinfo:1.5
--- pkgsrc/devel/py-pip-run/distinfo:1.4        Tue Apr 18 13:22:34 2023
+++ pkgsrc/devel/py-pip-run/distinfo    Sat Jan 27 18:35:25 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2023/04/18 13:22:34 adam Exp $
+$NetBSD: distinfo,v 1.5 2024/01/27 18:35:25 adam Exp $
 
-BLAKE2s (pip-run-10.0.7.tar.gz) = db1ab99b0da0e75e50ef1f76105756ca6fced24b8d8ea15d506a9091d5408b6a
-SHA512 (pip-run-10.0.7.tar.gz) = cd8780372f579005e40c77b3c2d9e582cd1a144e871eec205fd0bd2ff64eac837918211d3479088f56bd3043dbfd883502b2d6f7b01dc24448888f65fdd6920b
-Size (pip-run-10.0.7.tar.gz) = 32869 bytes
+BLAKE2s (pip-run-12.5.0.tar.gz) = d2e9815678ebe043fa9ff483abb83eee84902161575146146d980104e5e12080
+SHA512 (pip-run-12.5.0.tar.gz) = b641633c1863745d31637b1ef2a9151c79cc0c647b1bc246dbea5e834ec928b11b29b9cee1952513340bacb1ead610c2b34426b54d76345b57c887b1fe4b68d6
+Size (pip-run-12.5.0.tar.gz) = 38695 bytes



Home | Main Index | Thread Index | Old Index