[packages/pylint] Revert "python3 build requires python2 version of 2to3"

jajcus jajcus at pld-linux.org
Thu May 8 16:49:04 CEST 2014


commit 26ceed71f8dfb8cad06f18fb41ddbdce39d27d30
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Thu May 8 16:33:23 2014 +0200

    Revert "python3 build requires python2 version of 2to3"
    
    This reverts commit e7910477aedc81c613a340e40f768607947fd5eb.
    
    pylint build will fail without python3-2to3:
    
    >  File "/usr/share/python3.3/distutils/util.py", line 507, in run_2to3
    >    from lib2to3.refactor import RefactoringTool, get_fixers_from_package
    > ImportError: No module named 'lib2to3'
    > error: Bad exit status from /home/users/jacek/tmp/rpm-tmp.73470 (%build)
    
    pylint builds with python3-2to3 and without python-2to3 installed.
    
    Buggy version of python3-distribute was in use?

 pylint.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pylint.spec b/pylint.spec
index 877bf46..f5d09bc 100644
--- a/pylint.spec
+++ b/pylint.spec
@@ -21,7 +21,7 @@ BuildRequires:	python-devel
 BuildRequires:	python-modules >= 1:2.5
 %endif
 %if %{with python3}
-BuildRequires:	python-2to3
+BuildRequires:	python3-2to3
 BuildRequires:	python3-devel
 BuildRequires:	python3-distribute
 BuildRequires:	python3-modules >= 1:3.2
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pylint.git/commitdiff/cba3691d6e5936acfd14f4abcf4e007486de5e9d



More information about the pld-cvs-commit mailing list