head	1.8;
access;
symbols
	pkgsrc-2026Q3:1.7.0.14
	pkgsrc-2026Q3-base:1.7
	pkgsrc-2026Q2:1.7.0.12
	pkgsrc-2026Q2-base:1.7
	pkgsrc-2026Q1:1.7.0.10
	pkgsrc-2026Q1-base:1.7
	pkgsrc-2025Q4:1.7.0.8
	pkgsrc-2025Q4-base:1.7
	pkgsrc-2025Q3:1.7.0.6
	pkgsrc-2025Q3-base:1.7
	pkgsrc-2025Q2:1.7.0.4
	pkgsrc-2025Q2-base:1.7
	pkgsrc-2025Q1:1.7.0.2
	pkgsrc-2025Q1-base:1.7
	pkgsrc-2024Q4:1.6.0.2
	pkgsrc-2024Q4-base:1.6
	pkgsrc-2024Q3:1.5.0.4
	pkgsrc-2024Q3-base:1.5
	pkgsrc-2024Q2:1.5.0.2
	pkgsrc-2024Q2-base:1.5
	pkgsrc-2024Q1:1.3.0.4
	pkgsrc-2024Q1-base:1.3
	pkgsrc-2023Q4:1.3.0.2
	pkgsrc-2023Q4-base:1.3
	pkgsrc-2023Q3:1.2.0.4
	pkgsrc-2023Q3-base:1.2
	pkgsrc-2023Q2:1.2.0.2
	pkgsrc-2023Q2-base:1.2
	pkgsrc-2023Q1:1.1.0.2
	pkgsrc-2023Q1-base:1.1;
locks; strict;
comment	@# @;


1.8
date	2026.09.26.10.33.05;	author wiz;	state Exp;
branches;
next	1.7;
commitid	J0J6BFkfjUqdq7XG;

1.7
date	2025.02.23.18.08.21;	author wiz;	state Exp;
branches;
next	1.6;
commitid	gMCer9ukQIBdACKF;

1.6
date	2024.10.12.11.04.07;	author wiz;	state Exp;
branches;
next	1.5;
commitid	VeaokoW92XRSxmtF;

1.5
date	2024.05.01.05.23.56;	author adam;	state Exp;
branches;
next	1.4;
commitid	bkMgxWrK1MO1Wf8F;

1.4
date	2024.04.30.03.57.55;	author adam;	state Exp;
branches;
next	1.3;
commitid	xbTSaMXRFfcsu78F;

1.3
date	2023.10.25.22.27.13;	author wiz;	state Exp;
branches;
next	1.2;
commitid	7lXjxki46QPGF3KE;

1.2
date	2023.03.29.09.34.09;	author wiz;	state Exp;
branches;
next	1.1;
commitid	dE79P0WicMkX80jE;

1.1
date	2023.02.14.17.42.54;	author adam;	state Exp;
branches;
next	;
commitid	PnAqfVE9UypjewdE;


desc
@@


1.8
log
@py-pyproject_hooks: update to 1.3.3.

v1.3.3
------

- No code changes from 1.3. The git tags and the version number got out of sync
  while fixing an issue with the Github actions workflow to publish the release.
  1.3.3 exists only to get them back in sync without reassigning any tags.


v1.3
----

- Python 3.8 or above is now required (:pr:`214`).
- UserWarnings from the backend are now captured and re-emitted in the frontend
  process as a new category ``BuildBackendWarning``, so that frontends can
  control how they are shown to users (:pr:`213`).
- Show the traceback from the backend on a ``BackendUnavailable`` error (:pr:`219`).
- Fix the return type annotation for ``prepare_metadata_for_build_wheel``
  (:pr:`209`).
- Fix removing the internal ``_in_process`` directory from ``sys.path`` where
  the install location includes a symlink (:pr:`230`).
- Use ``os.path.commonpath`` instead of the deprecated ``commonprefix`` to
  validate the location of in-tree backends.
- Fix in-tree backends in locations containing the path separator character -
  ``:`` on Posix platforms, ``;`` on Windows (:pr:`232`).
- Fix finding distribution metadata with ``importlib.metadata`` in the backend
  when an in-tree backend is used (:pr:`212`).
- ``pyproject_hooks`` can be built from source using flit_core 4.x (:pr:`233`).
- Document that the ``hooks.subprocess_runner`` context manager API is not
  thread-safe (:pr:227`)
@
text
@# $NetBSD: Makefile,v 1.7 2025/02/23 18:08:21 wiz Exp $

DISTNAME=	pyproject_hooks-1.3.3
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=p/pyproject_hooks/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://pyproject-hooks.readthedocs.io/
COMMENT=	Wrappers to call pyproject.toml-based build backend hooks
LICENSE=	mit

USE_LANGUAGES=	# none

.include "../../lang/python/pyversion.mk"

.if ${PYTHON_VERSION} < 311
DEPENDS+=	${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
.endif

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


1.7
log
@py-pyproject_hooks: adapt for flit_core 3.11

Bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2024/10/12 11:04:07 wiz Exp $
d3 1
a3 1
DISTNAME=	pyproject_hooks-1.2.0
a4 1
PKGREVISION=	1
@


1.6
log
@py-pyproject_hooks: update to 1.2.0.

v1.2
----

- Improve interoperability with ``importlib.metadata``, fixing a regression
  in setuptools compatibility in 1.1 (#199).
- Clean up the ``_in_process`` directory inside the package from ``sys.path``
  before imporing the backend (#193).

v1.1
----

- Add type annotations to the public API.
- More careful handling of the ``backend-path`` key from ``pyproject.toml``.
  Previous versions would load the backend and then check that it was loaded
  from the specified path; the new version only loads it from the specified path.
  The ``BackendInvalid`` exception is now a synonym for :exc:`BackendUnavailable`,
  and code should move to using the latter name.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2024/05/01 05:23:56 adam Exp $
d5 1
@


1.5
log
@py-pyproject_hooks: revert to 1.0.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/10/25 22:27:13 wiz Exp $
d3 1
a3 2
# 1.1.0 breaks py-setuptools: https://github.com/pypa/setuptools/issues/4333
DISTNAME=	pyproject_hooks-1.0.0
a4 1
PKGREVISION=	1
a14 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.4
log
@py-pyproject_hooks: updated to 1.1.0

v1.1

Add type annotations to the public API.
More careful handling of the backend-path key from pyproject.toml. Previous versions would load the backend and then check that it was loaded from the specified path; the new version only loads it from the specified path. The BackendInvalid exception is now a synonym for BackendUnavailable, and code should move to using the latter name.
@
text
@d3 2
a4 1
DISTNAME=	pyproject_hooks-1.1.0
d6 1
d19 6
@


1.3
log
@py-pyproject_hooks: use bootstrap.mk

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2023/03/29 09:34:09 wiz Exp $
d3 1
a3 1
DISTNAME=	pyproject_hooks-1.0.0
a4 1
PKGREVISION=	1
a16 6
.include "../../lang/python/pyversion.mk"

.if ${PYTHON_VERSION} < 311
DEPENDS+=	${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
.endif

@


1.2
log
@*: use PYTHON_VERSION instead of _PYTHON_VERSION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2023/02/14 17:42:54 adam Exp $
d5 1
a15 2
USE_PKG_RESOURCES=	yes

d24 1
a24 5
# Generated setup.py; don't use wheel.mk as py-build depends on this package.
pre-configure:
	${CP} ${FILESDIR}/setup.py ${WRKSRC}/

.include "../../lang/python/egg.mk"
@


1.1
log
@py-pyproject_hooks: added version 1.0.0

This is a low-level library for calling build-backends in pyproject.toml-based
project. It provides the basic functionality to help write tooling that
generates distribution files from Python projects.
@
text
@d1 1
a1 1
# $NetBSD$
d20 2
a21 1
.if ${_PYTHON_VERSION} != 311
@

