From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-python@lists.gentoo.org
Cc: python@gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-python] [PATCH distutils-r1 3/4] Describe _distutils-r1_disable_ez_setup() using eclassdoc.
Date: Wed, 21 Aug 2013 12:43:07 +0200 [thread overview]
Message-ID: <1377081788-1666-3-git-send-email-mgorny@gentoo.org> (raw)
In-Reply-To: <20130821124232.00996a19@gentoo.org>
---
gx86/eclass/distutils-r1.eclass | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
index fba7634..e95df3e 100644
--- a/gx86/eclass/distutils-r1.eclass
+++ b/gx86/eclass/distutils-r1.eclass
@@ -308,6 +308,10 @@ distutils_install_for_testing() {
esetup.py "${add_args[@]}"
}
+# @FUNCTION: _distutils-r1_disable_ez_setup
+# @DESCRIPTION:
+# Stub out ez_setup.py and distribute_setup.py to prevent packages
+# from trying to download a local copy of setuptools.
_distutils-r1_disable_ez_setup() {
local stub="def use_setuptools(*args, **kwargs): pass"
if [[ -f ez_setup.py ]]; then
@@ -340,7 +344,6 @@ distutils-r1_python_prepare_all() {
fi
fi
- # Prevent packages from downloading their own copy of setuptools
_distutils-r1_disable_ez_setup
if [[ ${DISTUTILS_IN_SOURCE_BUILD} && ! ${DISTUTILS_SINGLE_IMPL} ]]
--
1.8.3.2
next prev parent reply other threads:[~2013-08-21 10:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-21 10:42 [gentoo-python] [PATCHES] distutils-r1: some cleanup + egg-info fixes Michał Górny
2013-08-21 10:43 ` [gentoo-python] [PATCH distutils-r1 1/4] Namespace _disable_ez_setup Michał Górny
2013-08-21 18:25 ` Mike Gilbert
2013-08-21 10:43 ` [gentoo-python] [PATCH distutils-r1 2/4] Add proper error handling to _distutils-r1_disable_ez_setup Michał Górny
2013-08-21 18:26 ` Mike Gilbert
2013-08-21 10:43 ` Michał Górny [this message]
2013-08-21 14:13 ` [gentoo-python] [PATCH distutils-r1 3/4] Describe _distutils-r1_disable_ez_setup() using eclassdoc Mike Gilbert
2013-08-21 20:01 ` Michał Górny
2013-08-21 10:43 ` [gentoo-python] [PATCH distutils-r1 4/4] Copy egg-info files in python_prepare_all() Michał Górny
2013-08-21 18:31 ` [gentoo-python] " Mike Gilbert
2013-08-21 19:27 ` Michał Górny
2013-08-21 19:33 ` Mike Gilbert
2013-08-21 20:01 ` Michał Górny
2013-08-25 21:16 ` [gentoo-python] [PATCHES] distutils-r1: some cleanup + egg-info fixes Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1377081788-1666-3-git-send-email-mgorny@gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-python@lists.gentoo.org \
--cc=python@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox