Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 0/7] python-single-r1.eclass: New split usedep API
Date: Sat, 30 Nov 2019 12:41:59
Message-Id: 20191130124126.169871-1-mgorny@gentoo.org
1 Hi,
2
3 Here's the proposed API update for python-single-r1. The patch series
4 consists of three parts:
5
6 1-2 -- immediate updates to the eclass
7
8 3-5 -- examples of how ebuilds can be updated
9
10 6-7 -- final updates to the eclass, to be applied once everything
11 is converted
12
13 The basic idea is that PYTHON_USEDEP is replaced by PYTHON_SINGLE_USEDEP
14 and PYTHON_MULTI_USEDEP. The former is to be used on other single-r1
15 packages, while the latter is to be used (via python_gen_cond_dep)
16 on multi-impl packages.
17
18 The goal is to remove PYTHON_TARGETS from python-single-r1 entirely.
19 Instead of having both sets of flags and unnecessarily requiring full
20 match between them, single-r1 is going to use only PYTHON_SINGLE_TARGET
21 and map it directly to PYTHON_TARGETS on -r1 packages.
22
23 Michał Górny (7):
24 python-single-r1.eclass: Introduce PYTHON_{SINGLE,MULTI}_USEDEP API
25 python-single-r1.eclass: Use new-style flags for python-exec dep
26 dev-libs/libpeas: Use new PYTHON_MULTI_USEDEP API
27 app-editors/gedit: Use new PYTHON_*_USEDEP API
28 app-editors/gedit-plugins: Use new PYTHON_*_USEDEP API
29 python-single-r1.eclass: Remove deprecated PYTHON_USEDEP API
30 python-single-r1.eclass: Remove unused PYTHON_TARGETS
31
32 .../gedit-plugins/gedit-plugins-3.32.2.ebuild | 12 +-
33 app-editors/gedit/gedit-3.32.2.ebuild | 9 +-
34 dev-libs/libpeas/libpeas-1.22.0.ebuild | 5 +-
35 eclass/python-single-r1.eclass | 185 +++++++-----------
36 4 files changed, 91 insertions(+), 120 deletions(-)
37
38 --
39 2.24.0

Replies