Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/distlib/files/, dev-python/distlib/
Date: Tue, 02 Feb 2016 21:19:40
Message-Id: 1454447848.89e350bf011198fa03e9cff57c667008b554f348.monsieurp@gentoo
1 commit: 89e350bf011198fa03e9cff57c667008b554f348
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 2 16:23:43 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 2 21:17:28 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89e350bf
7
8 dev-python/distlib: Add patches for distlib-0.2.2.
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 dev-python/distlib/distlib-0.2.2.ebuild | 1 -
14 .../distlib/files/distlib-0.2.2-unbundle.patch | 35 ++++++++++++++++++++++
15 2 files changed, 35 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-python/distlib/distlib-0.2.2.ebuild b/dev-python/distlib/distlib-0.2.2.ebuild
18 index b5fbc3e..81a6691 100644
19 --- a/dev-python/distlib/distlib-0.2.2.ebuild
20 +++ b/dev-python/distlib/distlib-0.2.2.ebuild
21 @@ -20,7 +20,6 @@ IUSE=""
22
23 PATCHES=(
24 "${FILESDIR}"/${P}-unbundle.patch
25 - "${FILESDIR}"/${P}-online.patch
26 )
27
28 python_prepare_all() {
29
30 diff --git a/dev-python/distlib/files/distlib-0.2.2-unbundle.patch b/dev-python/distlib/files/distlib-0.2.2-unbundle.patch
31 new file mode 100644
32 index 0000000..5ee9129
33 --- /dev/null
34 +++ b/dev-python/distlib/files/distlib-0.2.2-unbundle.patch
35 @@ -0,0 +1,35 @@
36 +--- distlib-0.1.9/distlib/compat.py.orig 2014-06-06 09:58:21.317560756 +0200
37 ++++ distlib-0.1.9/distlib/compat.py 2014-06-06 09:58:29.955611427 +0200
38 +@@ -17,7 +17,7 @@ if sys.version_info[0] < 3:
39 + from types import FileType as file_type
40 + import __builtin__ as builtins
41 + import ConfigParser as configparser
42 +- from ._backport import shutil
43 ++ import shutil
44 + from urlparse import urlparse, urlunparse, urljoin, urlsplit, urlunsplit
45 + from urllib import (urlretrieve, quote as _quote, unquote, url2pathname,
46 + pathname2url, ContentTooShortError, splittype)
47 +@@ -267,7 +267,7 @@ except ImportError: # pragma: no cover
48 + try:
49 + import sysconfig
50 + except ImportError: # pragma: no cover
51 +- from ._backport import sysconfig
52 ++ import sysconfig
53 +
54 + try:
55 + callable = callable
56 +--- distlib-0.1.9/setup.py.orig 2014-06-06 10:19:13.971997156 +0200
57 ++++ distlib-0.1.9/setup.py 2014-06-06 10:19:20.012034150 +0200
58 +@@ -62,12 +62,7 @@ distutils.core.setup(
59 + platforms='any',
60 + packages=[
61 + 'distlib',
62 +- 'distlib._backport',
63 + ],
64 +- package_data={
65 +- 'distlib._backport': ['sysconfig.cfg'],
66 +- 'distlib': ['t32.exe', 't64.exe', 'w32.exe', 'w64.exe'],
67 +- },
68 + cmdclass={
69 + 'test': TestCommand,
70 + },