* [gentoo-commits] gentoo-x86 commit in dev-python/snakeoil/files: snakeoil-0.4-lib2to3.patch
@ 2011-04-27 16:40 Brian Harring (ferringb)
0 siblings, 0 replies; 2+ messages in thread
From: Brian Harring (ferringb) @ 2011-04-27 16:40 UTC (permalink / raw
To: gentoo-commits
ferringb 11/04/27 16:40:54
Added: snakeoil-0.4-lib2to3.patch
Log:
work around USE=-threads and the resultant affects on lib2to3; can't install for py3k in that scenario, so no revbump necessary
(Portage version: 2.1.9.44/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-python/snakeoil/files/snakeoil-0.4-lib2to3.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/snakeoil/files/snakeoil-0.4-lib2to3.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/snakeoil/files/snakeoil-0.4-lib2to3.patch?rev=1.1&content-type=text/plain
Index: snakeoil-0.4-lib2to3.patch
===================================================================
From 018c3d371ff511525666d62fb71e589e193ace55 Mon Sep 17 00:00:00 2001
From: Brian Harring <ferringb@gmail.com>
Date: Wed, 27 Apr 2011 09:21:06 -0700
Subject: [PATCH] handle lack of multiprocessing and the affect it has on lib2to3 apis
---
snakeoil/distutils_extensions.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/snakeoil/distutils_extensions.py b/snakeoil/distutils_extensions.py
index e4c0672..2a758a4 100644
--- a/snakeoil/distutils_extensions.py
+++ b/snakeoil/distutils_extensions.py
@@ -243,7 +243,8 @@ class build_py(dst_build_py.build_py):
f = refactor_kls(fixer_names, options=options).refactor
def f2(*args, **kwds):
- kwds['num_processes'] = proc_count
+ if caching_2to3.multiprocessing_available:
+ kwds['num_processes'] = proc_count
return f(*args, **kwds)
return f2
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-python/snakeoil/files: snakeoil-0.4-lib2to3.patch
@ 2011-10-27 7:40 Brian Harring (ferringb)
0 siblings, 0 replies; 2+ messages in thread
From: Brian Harring (ferringb) @ 2011-10-27 7:40 UTC (permalink / raw
To: gentoo-commits
ferringb 11/10/27 07:40:26
Removed: snakeoil-0.4-lib2to3.patch
Log:
add snakeoil 0.4.4, punt old versions
(Portage version: 2.1.10.19/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-27 7:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-27 16:40 [gentoo-commits] gentoo-x86 commit in dev-python/snakeoil/files: snakeoil-0.4-lib2to3.patch Brian Harring (ferringb)
-- strict thread matches above, loose matches on Subject: below --
2011-10-27 7:40 Brian Harring (ferringb)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox