Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 0/7] distutils-r1.eclass: mesonpy option passing support + periodic cleanup
Date: Fri, 25 Nov 2022 17:05:19
Message-Id: 20221125170508.23064-1-mgorny@gentoo.org
1 Hi,
2
3 The highlight of this patchset is support for passing options that was
4 introduced in >=dev-python/meson-python-0.11.0.
5
6 For transition, the eclass only uses option passing if 0.11.0 or newer
7 is installed. Ebuilds that need to pass DISTUTILS_ARGS (i.e. scipy)
8 need to explicitly BDEPEND on it. Once this version goes stable, we'll
9 update the minimal version in eclass' BDEPEND and make it unconditional.
10
11 We're also adding a new get_NINJAOPTS function that returns appropriate
12 options to pass to ninja, separately from eninja helper.
13
14 Finally, the usual cleanup: bumping minimal versions. I've also noticed
15 that we didn't clean up <dev-python/gpep517-9 support when bumping
16 the dep.
17
18 The new ebuild for dev-python/scipy is included. See the *9999 part
19 of the patches for the changes.
20
21 --
22 Best regards,
23 Michał Górny
24
25
26 Michał Górny (7):
27 ninja-utils.eclass: Split get_NINJAOPTS out
28 distutils-r1.eclass: Pass options to meson-python backend
29 dev-python/scipy: Pass -Dblas, -Dlapack via DISTUTILS_ARGS
30 distutils-r1.eclass: Bump min dep versions to newest stable
31 distutils-r1.eclass: Print versions of common hatch plugins
32 distutils-r1.eclass: Remove support for gpep517 < 9
33 python-utils-r1.eclass: Bump min Python versions
34
35 dev-python/scipy/scipy-1.9.3-r1.ebuild | 109 ++++++++++++++++++++++
36 dev-python/scipy/scipy-1.9.9999.ebuild | 11 ++-
37 eclass/distutils-r1.eclass | 119 +++++++++++++------------
38 eclass/ninja-utils.eclass | 15 +++-
39 eclass/python-utils-r1.eclass | 14 +--
40 5 files changed, 196 insertions(+), 72 deletions(-)
41 create mode 100644 dev-python/scipy/scipy-1.9.3-r1.ebuild
42
43 --
44 2.38.1

Replies