mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/distlib: Add patches for distlib-0.2.2.
Package-Manager: portage-2.2.26 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
@@ -20,7 +20,6 @@ IUSE=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-unbundle.patch
|
||||
"${FILESDIR}"/${P}-online.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
|
||||
35
dev-python/distlib/files/distlib-0.2.2-unbundle.patch
Normal file
35
dev-python/distlib/files/distlib-0.2.2-unbundle.patch
Normal file
@@ -0,0 +1,35 @@
|
||||
--- distlib-0.1.9/distlib/compat.py.orig 2014-06-06 09:58:21.317560756 +0200
|
||||
+++ distlib-0.1.9/distlib/compat.py 2014-06-06 09:58:29.955611427 +0200
|
||||
@@ -17,7 +17,7 @@ if sys.version_info[0] < 3:
|
||||
from types import FileType as file_type
|
||||
import __builtin__ as builtins
|
||||
import ConfigParser as configparser
|
||||
- from ._backport import shutil
|
||||
+ import shutil
|
||||
from urlparse import urlparse, urlunparse, urljoin, urlsplit, urlunsplit
|
||||
from urllib import (urlretrieve, quote as _quote, unquote, url2pathname,
|
||||
pathname2url, ContentTooShortError, splittype)
|
||||
@@ -267,7 +267,7 @@ except ImportError: # pragma: no cover
|
||||
try:
|
||||
import sysconfig
|
||||
except ImportError: # pragma: no cover
|
||||
- from ._backport import sysconfig
|
||||
+ import sysconfig
|
||||
|
||||
try:
|
||||
callable = callable
|
||||
--- distlib-0.1.9/setup.py.orig 2014-06-06 10:19:13.971997156 +0200
|
||||
+++ distlib-0.1.9/setup.py 2014-06-06 10:19:20.012034150 +0200
|
||||
@@ -62,12 +62,7 @@ distutils.core.setup(
|
||||
platforms='any',
|
||||
packages=[
|
||||
'distlib',
|
||||
- 'distlib._backport',
|
||||
],
|
||||
- package_data={
|
||||
- 'distlib._backport': ['sysconfig.cfg'],
|
||||
- 'distlib': ['t32.exe', 't64.exe', 'w32.exe', 'w64.exe'],
|
||||
- },
|
||||
cmdclass={
|
||||
'test': TestCommand,
|
||||
},
|
||||
Reference in New Issue
Block a user