From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 38A49138334 for ; Sat, 30 Nov 2019 12:41:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63365E09D8; Sat, 30 Nov 2019 12:41:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1ACE5E09CE for ; Sat, 30 Nov 2019 12:41:55 +0000 (UTC) Received: from localhost.localdomain (c134-66.icpnet.pl [85.221.134.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 1945F34D58B; Sat, 30 Nov 2019 12:41:52 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: python@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-dev] [PATCH 0/7] python-single-r1.eclass: New split usedep API Date: Sat, 30 Nov 2019 13:41:19 +0100 Message-Id: <20191130124126.169871-1-mgorny@gentoo.org> X-Mailer: git-send-email 2.24.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 8048c10b-4117-4647-8d75-926ad2d569b0 X-Archives-Hash: c381a2db549d2e3aa12fef6955b47ebe 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