Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCHES] python-r1 suite clean up & impl reorder
Date: Sun, 06 Dec 2015 19:08:31
Message-Id: 1449428612-20538-1-git-send-email-mgorny@gentoo.org
1 Hi,
2
3 Here's another patchset. Mostly fixups inspired by multilib-build.eclass
4 changes with a few little additions.
5
6 Changes:
7
8 1. eclass-set variables are now read-only,
9 2. 'unset -f' is used to unset temporary & local functions,
10 3. implementations are reordered for sane order.
11
12 I've tested this with a few dozen random distutils-r1, python-r1,
13 python-any-r1 and python-single-r1 packages. However, for
14 the implementation reorder a larger tinderbox run would be appreciated.
15
16 As explained in the commit, the reorder may influence files installed by
17 a package, and implementation selected by python_setup(). This should
18 not cause issues for correctly written ebuilds, and should help us find
19 those that are not correctly written ;-).
20
21 In other words, we're finally considering Python 3.x preferred over
22 Python 2.x.
23
24 Please review.

Replies

Subject Author
[gentoo-dev] [PATCH 02/13] python-utils-r1.eclass: Reorder implementations to semi-ascending order "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 04/13] python-any-r1.eclass: Unset global-setting function after use "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 05/13] python-any-r1.eclass: Mark eclass-generated variables read-only "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 01/13] python-utils-r1.eclass: Mark _PYTHON_ALL_IMPLS read-only "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 03/13] python-any-r1.eclass: Rename global-setting func to match eclass name "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 08/13] python-single-r1.eclass: Mark eclass-generated variables read-only "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 09/13] python-r1.eclass: Unset global-setting function after use "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 10/13] python-r1.eclass: Unset local functions after use "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 11/13] python-r1.eclass: python_gen_cond_dep(), rename local PYTHON_USEDEP "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 12/13] python-r1.eclass: Mark eclass-generated variables read-only "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 13/13] distutils-r1.eclass: Unset local functions after use "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 06/13] python-single-r1.eclass: Unset global-setting function after use "Michał Górny" <mgorny@g.o>
[gentoo-dev] [PATCH 07/13] python-single-r1.eclass: python_gen_cond_dep(), rename local PYTHON_USEDEP "Michał Górny" <mgorny@g.o>
Re: [gentoo-dev] [PATCHES] python-r1 suite clean up & impl reorder Mike Gilbert <floppym@g.o>
Re: [gentoo-dev] [PATCHES] python-r1 suite clean up & impl reorder "Michał Górny" <mgorny@g.o>