head	1.12;
access;
symbols
	pkgsrc-2026Q1:1.12.0.8
	pkgsrc-2026Q1-base:1.12
	pkgsrc-2025Q4:1.12.0.6
	pkgsrc-2025Q4-base:1.12
	pkgsrc-2025Q3:1.12.0.4
	pkgsrc-2025Q3-base:1.12
	pkgsrc-2025Q2:1.12.0.2
	pkgsrc-2025Q2-base:1.12
	pkgsrc-2025Q1:1.11.0.4
	pkgsrc-2025Q1-base:1.11
	pkgsrc-2024Q4:1.11.0.2
	pkgsrc-2024Q4-base:1.11
	pkgsrc-2024Q3:1.9.0.2
	pkgsrc-2024Q3-base:1.9
	pkgsrc-2024Q2:1.8.0.2
	pkgsrc-2024Q2-base:1.8
	pkgsrc-2024Q1:1.7.0.2
	pkgsrc-2024Q1-base:1.7
	pkgsrc-2023Q4:1.6.0.2
	pkgsrc-2023Q4-base:1.6
	pkgsrc-2023Q3:1.5.0.4
	pkgsrc-2023Q3-base:1.5
	pkgsrc-2023Q2:1.5.0.2
	pkgsrc-2023Q2-base:1.5
	pkgsrc-2023Q1:1.4.0.2
	pkgsrc-2023Q1-base:1.4
	pkgsrc-2022Q4:1.3.0.4
	pkgsrc-2022Q4-base:1.3
	pkgsrc-2022Q3:1.3.0.2
	pkgsrc-2022Q3-base:1.3
	pkgsrc-2022Q2:1.2.0.4
	pkgsrc-2022Q2-base:1.2
	pkgsrc-2022Q1:1.2.0.2
	pkgsrc-2022Q1-base:1.2;
locks; strict;
comment	@# @;


1.12
date	2025.04.12.19.31.49;	author adam;	state Exp;
branches;
next	1.11;
commitid	5BjEl4ZeRiZbvNQF;

1.11
date	2024.11.11.07.28.18;	author wiz;	state Exp;
branches;
next	1.10;
commitid	1fBDq3LwS98NncxF;

1.10
date	2024.10.14.06.08.39;	author wiz;	state Exp;
branches;
next	1.9;
commitid	sEjywglW9UuuQAtF;

1.9
date	2024.08.29.08.11.00;	author adam;	state Exp;
branches;
next	1.8;
commitid	2uOOzsMmIEZ80HnF;

1.8
date	2024.06.11.09.12.13;	author adam;	state Exp;
branches;
next	1.7;
commitid	N5rqjOGILIvySxdF;

1.7
date	2024.01.27.18.35.25;	author adam;	state Exp;
branches;
next	1.6;
commitid	cNlL7pYTsS7wm7WE;

1.6
date	2023.10.28.19.57.05;	author wiz;	state Exp;
branches;
next	1.5;
commitid	jP8MYROLWZ3yJqKE;

1.5
date	2023.04.18.13.22.34;	author adam;	state Exp;
branches;
next	1.4;
commitid	sGMn8NRo0klsLAlE;

1.4
date	2023.02.09.12.51.38;	author adam;	state Exp;
branches;
next	1.3;
commitid	BP7DcLvGe2NgMQcE;

1.3
date	2022.07.07.11.53.09;	author adam;	state Exp;
branches;
next	1.2;
commitid	HxYU7PUdmeaMqXKD;

1.2
date	2022.02.06.22.41.59;	author wiz;	state Exp;
branches;
next	1.1;
commitid	ryZ9HlNRQi9lSBrD;

1.1
date	2022.02.02.18.54.08;	author adam;	state Exp;
branches;
next	;
commitid	ufxRG9tYmIa1K4rD;


desc
@@


1.12
log
@py-pip-run: updated to 15.0.0

v15.0.0

Deprecations and Removals

- Removed support for comment style requirements.


v14.0.0

Deprecations and Removals

- Removed support for PIP_RUN_MODE.
- Removed support for a single string arg to ``__requires__``.
@
text
@# $NetBSD: Makefile,v 1.11 2024/11/11 07:28:18 wiz Exp $

DISTNAME=	pip_run-15.0.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=p/pip-run/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/jaraco/pip-run
COMMENT=	Install packages and run Python with them
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
DEPENDS+=	${PYPKGPREFIX}-autocommand-[0-9]*:../../misc/py-autocommand
DEPENDS+=	${PYPKGPREFIX}-jaraco.context-[0-9]*:../../devel/py-jaraco.context
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
DEPENDS+=	${PYPKGPREFIX}-path>=15.1:../../devel/py-path
DEPENDS+=	${PYPKGPREFIX}-pip>=19.3:../../devel/py-pip
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-cov-[0-9]*:../../devel/py-test-cov

USE_LANGUAGES=	# none

.include "../../lang/python/pyversion.mk"
.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}

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.11
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2024/10/14 06:08:39 wiz Exp $
d3 1
a3 1
DISTNAME=	pip_run-13.0.0
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=56:../../devel/py-setuptools
@


1.10
log
@i*: clean up after python38 removal
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2024/08/29 08:11:00 adam Exp $
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.9
log
@py-pip-run: updated to 13.0.0

v13.0.0

Deprecations and Removals

- Dropped support for filtering out satisfied requirements.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2024/06/11 09:12:13 adam Exp $
a32 3
.if ${PYTHON_VERSION} < 309
DEPENDS+=	${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
.endif
@


1.8
log
@py-pip-run: updated to 12.6.1

v12.6.1

Bugfixes

- Ensure docs/tests not unintentionally included.


v12.6.0

Features

- Comment-style declarations are now deprecated in favor of Python or TOML style.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2024/01/27 18:35:25 adam Exp $
d3 2
a4 2
DISTNAME=	pip-run-12.6.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
a31 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.7
log
@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``.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/10/28 19:57:05 wiz Exp $
d3 1
a3 1
DISTNAME=	pip-run-12.5.0
@


1.6
log
@python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/04/18 13:22:34 adam Exp $
d3 1
a3 1
DISTNAME=	pip-run-10.0.7
a4 1
PKGREVISION=	1
d13 1
d18 2
a19 1
DEPENDS+=	${PYPKGPREFIX}-jaraco.functools-[0-9]*:../../devel/py-jaraco.functools
a27 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test>=6:../../devel/py-test
d34 8
a45 3
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

@


1.5
log
@py-pip-run: updated to 10.0.7

v10.0.7

Avoid OSError when a parameter to Python exceeds the
allowed filename length.

v10.0.6

Fixed ``EncodingWarnings``.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2023/02/09 12:51:38 adam Exp $
d5 1
@


1.4
log
@py-pip-run: updated to 10.0.5

v10.0.5
Fixed handling of inferred Python args.

v10.0.4
Fixed ``FileNotFoundError`` in persistent mode.

v10.0.3
Fixed regression in sitecustomize generation where pathlib
objects were being rendered.

v10.0.2
Tests that require connectivity are now tagged with the
``network`` marker.

v10.0.1
Tests that require connectivity to the Internet now are skipped.

v10.0.0
Removed ``launch.with_path_overlay``, unused in this project.

Removed explicit parsing of ``.pth`` files, redundant to the
use of ``sitecustomize``.

Removed ``commands.parse_script_args`` (use ``separate`` instead).

Removed processing of ``JYTHONPATH`` as Jython is Python 2 only.

Removed ``commands.separate_dash``.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/07/07 11:53:09 adam Exp $
d3 1
a3 1
DISTNAME=	pip-run-10.0.5
@


1.3
log
@py-pip-run: updated to 8.8.1

v8.8.1
Packaging refresh.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/02/06 22:41:59 wiz Exp $
d3 1
a3 1
DISTNAME=	pip-run-8.8.1
d13 8
a20 4
BUILD_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_scm
BUILD_DEPENDS+=	${PYPKGPREFIX}-wheel>0:../../devel/py-wheel
DEPENDS+=	${PYPKGPREFIX}-autocommand>0:../../misc/py-autocommand
DEPENDS+=	${PYPKGPREFIX}-packaging>0:../../devel/py-packaging
d23 5
a32 7
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 38
DEPENDS+=	${PYPKGPREFIX}-importlib-metadata>0:../../devel/py-importlib-metadata
.endif

USE_PKG_RESOURCES=	yes

d37 3
@


1.2
log
@py-pip-run: add missing build dependency
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2022/02/02 18:54:08 adam Exp $
d3 1
a3 1
DISTNAME=	pip-run-8.8.0
d13 2
a18 1
BUILD_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
d35 1
a35 1
.include "../../lang/python/egg.mk"
@


1.1
log
@py-pip-run: added version 8.8.0

pip-run provides on-demand temporary package installation for a single
interpreter run.
@
text
@d1 1
a1 1
# $NetBSD$
d17 1
@

