Skip to content

Commit

Permalink
py-meson_python: updated to 0.15.0
Browse files Browse the repository at this point in the history
0.15.0
======

- Enable compression for wheel files. The may result in several times
  smaller wheels.
- Require Meson 1.2.3 or later on Python 3.12 or later. Meson 1.2.3
  does not require anymore ``distutils``, allowing to remove the
  dependency on ``setuptools`` on Python 3.12 or later.
- Unconditionally require ``patchelf`` on Linux.  The ``patchelf``
  package is added to the build dependencies if a suitable
  ``patchelf`` executable is not find on the ``$PATH``. This avoids
  cases where ``meson setup`` was run twice during the build process
  to determine whether ``patchelf`` is required.
- Allow to configure the ``meson`` executable to use for the build
  process through the ``$MESON`` environment variable or the ``meson``
  key under ``[tool.meson-python]`` in ``pyproject.toml``.
- Fix wheel platform tag generation on FreeBSD.
- Extend support to other UNIX-like systems and make the tests pass on
  FreeBSD.
- Fix package name normalization in package metadata and improve
  package name validation.
- Fix ``RPATH`` handling when the build ``RPATH`` points to
  subdirectories of the build directory.
- Fix support for the Python limited C API when compiling for PyPy.
- Rename the ``builddir`` config-setting to ``build-dir``. For
  backwards compatibility, the ``buildir`` config-setting remains
  supported as an alias.
  • Loading branch information
adam committed Oct 26, 2023
1 parent 3afc14e commit 7ba30a4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
12 changes: 4 additions & 8 deletions devel/py-meson_python/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.3 2023/09/07 15:40:41 adam Exp $
# $NetBSD: Makefile,v 1.4 2023/10/26 13:07:27 adam Exp $

DISTNAME= meson_python-0.14.0
DISTNAME= meson_python-0.15.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/meson_python/}
Expand All @@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/mesonbuild/meson-python
COMMENT= Meson Python build backend (PEP 517)
LICENSE= mit

DEPENDS+= meson>=0.63.3:../../devel/meson
DEPENDS+= meson>=1.2.3:../../devel/meson
DEPENDS+= ${PYPKGPREFIX}-project-metadata>=0.7.1:../../devel/py-project-metadata
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
Expand All @@ -20,16 +20,12 @@ TEST_DEPENDS+= git-base-[0-9]*:../../devel/git-base
PYTHON_VERSIONS_INCOMPATIBLE= 27

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

.if ${PYTHON_VERSION} < 311
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
.endif
.if ${PYTHON_VERSION} >= 312
DEPENDS+= ${PYPKGPREFIX}-setuptools>=60.0:../../devel/py-setuptools
.endif

do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
8 changes: 4 additions & 4 deletions devel/py-meson_python/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.2 2023/09/07 15:40:41 adam Exp $
$NetBSD: distinfo,v 1.3 2023/10/26 13:07:27 adam Exp $

BLAKE2s (meson_python-0.14.0.tar.gz) = eb9cc9e9c6249b3dc83941b972038ba01bd59ab5c449ac3921f2540d562b74ca
SHA512 (meson_python-0.14.0.tar.gz) = 7ef4be513fe897d21b2a68c2e229a6763449dede18d60d49929228c29925149ae295e551100e4f48f0b2f114d3687db619bedee6509b51e7d27f8fe3906d879e
Size (meson_python-0.14.0.tar.gz) = 78824 bytes
BLAKE2s (meson_python-0.15.0.tar.gz) = 704d4c081713476030b37aead9e681b220e7824695aa760af5de36b4c504cfd1
SHA512 (meson_python-0.15.0.tar.gz) = 94246940e6f9f68387b91f956c34295ef16a7e92e801038a3b0fd9010a95e6e2d6430ee2d15338e04fd9453e651348c45f4174fcf18d06fe9e4bc269d516b2b3
Size (meson_python-0.15.0.tar.gz) = 79920 bytes

0 comments on commit 7ba30a4

Please sign in to comment.