public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 0/7] python-single-r1.eclass: New split usedep API
@ 2019-11-30 12:41 Michał Górny
  2019-11-30 12:41 ` [gentoo-dev] [PATCH 1/7] python-single-r1.eclass: Introduce PYTHON_{SINGLE,MULTI}_USEDEP API Michał Górny
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Michał Górny @ 2019-11-30 12:41 UTC (permalink / raw
  To: gentoo-dev; +Cc: python, Michał Górny

Hi,

Here's the proposed API update for python-single-r1.  The patch series
consists of three parts:

1-2 -- immediate updates to the eclass

3-5 -- examples of how ebuilds can be updated

6-7 -- final updates to the eclass, to be applied once everything
       is converted

The basic idea is that PYTHON_USEDEP is replaced by PYTHON_SINGLE_USEDEP
and PYTHON_MULTI_USEDEP.  The former is to be used on other single-r1
packages, while the latter is to be used (via python_gen_cond_dep)
on multi-impl packages.

The goal is to remove PYTHON_TARGETS from python-single-r1 entirely.
Instead of having both sets of flags and unnecessarily requiring full
match between them, single-r1 is going to use only PYTHON_SINGLE_TARGET
and map it directly to PYTHON_TARGETS on -r1 packages.

Michał Górny (7):
  python-single-r1.eclass: Introduce PYTHON_{SINGLE,MULTI}_USEDEP API
  python-single-r1.eclass: Use new-style flags for python-exec dep
  dev-libs/libpeas: Use new PYTHON_MULTI_USEDEP API
  app-editors/gedit: Use new PYTHON_*_USEDEP API
  app-editors/gedit-plugins: Use new PYTHON_*_USEDEP API
  python-single-r1.eclass: Remove deprecated PYTHON_USEDEP API
  python-single-r1.eclass: Remove unused PYTHON_TARGETS

 .../gedit-plugins/gedit-plugins-3.32.2.ebuild |  12 +-
 app-editors/gedit/gedit-3.32.2.ebuild         |   9 +-
 dev-libs/libpeas/libpeas-1.22.0.ebuild        |   5 +-
 eclass/python-single-r1.eclass                | 185 +++++++-----------
 4 files changed, 91 insertions(+), 120 deletions(-)

-- 
2.24.0



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-11-30 12:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-30 12:41 [gentoo-dev] [PATCH 0/7] python-single-r1.eclass: New split usedep API Michał Górny
2019-11-30 12:41 ` [gentoo-dev] [PATCH 1/7] python-single-r1.eclass: Introduce PYTHON_{SINGLE,MULTI}_USEDEP API Michał Górny
2019-11-30 12:41 ` [gentoo-dev] [PATCH 2/7] python-single-r1.eclass: Use new-style flags for python-exec dep Michał Górny
2019-11-30 12:41 ` [gentoo-dev] [PATCH 3/7] dev-libs/libpeas: Use new PYTHON_MULTI_USEDEP API Michał Górny
2019-11-30 12:41 ` [gentoo-dev] [PATCH 4/7] app-editors/gedit: Use new PYTHON_*_USEDEP API Michał Górny
2019-11-30 12:41 ` [gentoo-dev] [PATCH 5/7] app-editors/gedit-plugins: " Michał Górny
2019-11-30 12:41 ` [gentoo-dev] [PATCH 6/7] python-single-r1.eclass: Remove deprecated PYTHON_USEDEP API Michał Górny
2019-11-30 12:41 ` [gentoo-dev] [PATCH 7/7] python-single-r1.eclass: Remove unused PYTHON_TARGETS Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox