Skip to content

Commit

Permalink
py-pyproject_hooks: update to 1.2.0.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
0-wiz-0 committed Oct 12, 2024
1 parent 08efebd commit 8961468
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
8 changes: 2 additions & 6 deletions devel/py-pyproject_hooks/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# $NetBSD: Makefile,v 1.5 2024/05/01 05:23:56 adam Exp $
# $NetBSD: Makefile,v 1.6 2024/10/12 11:04:07 wiz Exp $

# 1.1.0 breaks py-setuptools: https://github.com/pypa/setuptools/issues/4333
DISTNAME= pyproject_hooks-1.0.0
DISTNAME= pyproject_hooks-1.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyproject_hooks/}

Expand All @@ -14,8 +12,6 @@ LICENSE= mit

USE_LANGUAGES= # none

PYTHON_VERSIONS_INCOMPATIBLE= 27

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

.if ${PYTHON_VERSION} < 311
Expand Down
6 changes: 2 additions & 4 deletions devel/py-pyproject_hooks/PLIST
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
@comment $NetBSD: PLIST,v 1.4 2024/05/01 05:23:56 adam Exp $
@comment $NetBSD: PLIST,v 1.5 2024/10/12 11:04:07 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/pyproject_hooks/__init__.py
${PYSITELIB}/pyproject_hooks/__init__.pyc
${PYSITELIB}/pyproject_hooks/__init__.pyo
${PYSITELIB}/pyproject_hooks/_compat.py
${PYSITELIB}/pyproject_hooks/_compat.pyc
${PYSITELIB}/pyproject_hooks/_compat.pyo
${PYSITELIB}/pyproject_hooks/_impl.py
${PYSITELIB}/pyproject_hooks/_impl.pyc
${PYSITELIB}/pyproject_hooks/_impl.pyo
Expand All @@ -18,3 +15,4 @@ ${PYSITELIB}/pyproject_hooks/_in_process/__init__.pyo
${PYSITELIB}/pyproject_hooks/_in_process/_in_process.py
${PYSITELIB}/pyproject_hooks/_in_process/_in_process.pyc
${PYSITELIB}/pyproject_hooks/_in_process/_in_process.pyo
${PYSITELIB}/pyproject_hooks/py.typed
8 changes: 4 additions & 4 deletions devel/py-pyproject_hooks/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.3 2024/05/01 05:23:56 adam Exp $
$NetBSD: distinfo,v 1.4 2024/10/12 11:04:07 wiz Exp $

BLAKE2s (pyproject_hooks-1.0.0.tar.gz) = 1c4f2e6b2e201d34d6fc6dce51980e00981d945075003f07959999d06b8bcd14
SHA512 (pyproject_hooks-1.0.0.tar.gz) = 53e286cfcf8b286560cfebafe44e2162360bc1b567df2ed9019376128e14fffaafa3964f77b18487f5023aa092ede628ba5115301de42e101595f41c091d90c9
Size (pyproject_hooks-1.0.0.tar.gz) = 16901 bytes
BLAKE2s (pyproject_hooks-1.2.0.tar.gz) = 921cf819d0df26b5bf9a68b59b7f99e2ced93662bd757346f5ed6893d6a83a04
SHA512 (pyproject_hooks-1.2.0.tar.gz) = e098e521f03cfae9a96c0ee5d2e2ef46ef832d8f38c7d8380fc17355776e09ae3a704879e6e4a2bc7999092c4dbf80267b3b56850135c74d275a12607e0ffe83
Size (pyproject_hooks-1.2.0.tar.gz) = 19228 bytes

0 comments on commit 8961468

Please sign in to comment.