Gentoo Archives: gentoo-dev

From: Arfrever Frehtes Taifersar Arahesis <Arfrever@g.o>
To: Gentoo Development <gentoo-dev@l.g.o>
Cc: qa@g.o
Subject: [gentoo-dev] Patch for distutils.eclass [2011-04-03]
Date: Sun, 03 Apr 2011 18:06:44
Message-Id: 201104032004.56371.Arfrever@gentoo.org
1 This patch for distutils.eclass is divided into 13 subpatches.
2
3 Subpatch #1 bans DISTUTILS_DISABLE_VERSIONING_OF_PYTHON_SCRIPTS variable (too late).
4 Subpatch #2 removes 2 functions banned long time ago.
5 Subpatch #3 adds handling of *-nspkg.pth files in distutils_src_install().
6 Subpatch #4 adds missing sanity checks for execution of python_pkg_setup() in EAPI >=4.
7 Subpatch #5 adds support for EAPI="4" in handling of DOCS variable.
8 Subpatch #6 disables installation of useless files.
9 Subpatch #7 adds sanity checks for appropriateness of execution of distutils_pkg_postinst()
10 and distutils_pkg_postrm().
11 Subpatch #8 adds support for EAPI="4" in handling of DISTUTILS_GLOBAL_OPTIONS array.
12 Subpatch #9 adds distutils_get_intermediate_installation_image() function, which will be
13 used in a small number of ebuilds, which currently rely on knowledge of implementation
14 details of distutils.eclass.
15 Subpatch #10 adds support for automatic changing of current working directory in handling
16 of DISTUTILS_SETUP_FILES (in all EAPIs).
17 Example:
18 # Change current working directory to bindings/python and execute setup.py
19 DISTUTILS_SETUP_FILES=("bindings/python|setup.py")
20 Subpatch #11 adds sanity checks for arguments in some functions.
21 Subpatch #12 adds unsetting of some internal functions after using of them.
22 Subpatch #13 moves declaration of local variables to other places for consistency with
23 python.eclass.
24
25 I'm planning to commit this patch in 1 week.
26
27 --
28 Arfrever Frehtes Taifersar Arahesis

Attachments

File name MIME type
distutils.eclass.patch text/x-patch
distutils.eclass.patch.1 text/x-patch
distutils.eclass.patch.2 text/x-patch
distutils.eclass.patch.3 text/x-patch
distutils.eclass.patch.4 text/x-patch
distutils.eclass.patch.5 text/x-patch
distutils.eclass.patch.6 text/x-patch
distutils.eclass.patch.7 text/x-patch
distutils.eclass.patch.8 text/x-patch
distutils.eclass.patch.9 text/x-patch
distutils.eclass.patch.10 text/x-patch
distutils.eclass.patch.11 text/x-patch
distutils.eclass.patch.12 text/x-patch
distutils.eclass.patch.13 text/x-patch
signature.asc application/pgp-signature