1
0

Accepting request 1189109 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1189109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-meson-python?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2024-08-30 11:25:51 +00:00 committed by Git OBS Bridge
commit d27885b5b9
5 changed files with 39 additions and 13 deletions

BIN
meson_python-0.15.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9068c17e36c89d6c7ff709fffb2a8a9925e8cd0b02629728e5ceaf2ec505cb5f
size 82012

View File

@ -1,25 +1,25 @@
The backend does not require a mesonbuild module for every flavor.
the `meson` command from the regular RPM package is sufficient.
Index: meson_python-0.15.0/pyproject.toml
Index: meson_python-0.16.0/pyproject.toml
===================================================================
--- meson_python-0.15.0.orig/pyproject.toml
+++ meson_python-0.15.0/pyproject.toml
--- meson_python-0.16.0.orig/pyproject.toml
+++ meson_python-0.16.0/pyproject.toml
@@ -6,8 +6,6 @@
build-backend = 'mesonpy'
backend-path = ['.']
requires = [
- 'meson >= 0.63.3; python_version < "3.12"',
- 'meson >= 1.2.3; python_version >= "3.12"',
'packaging >= 19.0',
'pyproject-metadata >= 0.7.1',
'tomli >= 1.0.0; python_version < "3.11"',
]
@@ -33,8 +31,6 @@ classifiers = [
]
dependencies = [
'colorama; os_name == "nt"',
- 'meson >= 0.63.3; python_version < "3.12"',
- 'meson >= 1.2.3; python_version >= "3.12"',
'packaging >= 19.0',
'pyproject-metadata >= 0.7.1',
'tomli >= 1.0.0; python_version < "3.11"',
]

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Mon Jul 22 04:20:32 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 0.16.0:
* Correctly detect a wheel shipping shared libraries as being
platform dependent also when it does not ship compiled
executables or Python extension modules.
* Improve parsing of the $ARCHFLAGS environment variable.
Correctly handle repeated -arch flags.
* Do not break when trying to log filename containing Unicode
characters that cannot be encoded in the encoding used by the
standard output stream.
* Suppress all uses of ANSI terminal escapes when logging to a
stream that does not support them.
* Fix ANSI escape coloring of error messages.
* Respect the exclude_dirs and exclude_files arguments passed to
the install_subdir() Meson function in editable installs too.
* Make pkgutil.iter_packages() work properly for modules loaded
from editable installs.
* Add support for the custom_target() Meson function installing a
directory.
* In editable installs, when a rebuild is triggered on module
import, emit a message indicating that the package is being
rebuilt but suppress any output when there is no work to do.
-------------------------------------------------------------------
Tue Apr 16 19:27:36 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -2,6 +2,7 @@
# spec file for package python-meson-python
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +19,7 @@
%{?sle15_python_module_pythons}
Name: python-meson-python
Version: 0.15.0
Version: 0.16.0
Release: 0
Summary: Meson Python build backend (PEP 517)
License: MIT
@ -34,18 +35,19 @@ BuildRequires: fdupes
BuildRequires: meson >= 1.2.3
BuildRequires: ninja
BuildRequires: python-rpm-macros
Requires: python-pyproject-metadata >= 0.7.1
BuildArch: noarch
%if 0%{python_version_nodots} >= 312
Requires: meson >= 1.2.3
%else
Requires: meson >= 0.63.3
%endif
Requires: python-pyproject-metadata >= 0.7.1
%if 0%{python_version_nodots} < 311
Requires: python-tomli >= 1.0.0
%endif
# SECTION test
BuildRequires: %{python_module GitPython}
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module GitPython}
BuildRequires: %{python_module build}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest-mock}
@ -53,7 +55,6 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: patchelf
# /SECTION
BuildArch: noarch
%python_subpackages
%description