SPECS: python.spec - 2to3 tool in own subpackage - relase 4

wiget wiget at pld-linux.org
Wed Feb 25 19:53:29 CET 2009


Author: wiget                        Date: Wed Feb 25 18:53:29 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 2to3 tool in own subpackage
- relase 4

---- Files affected:
SPECS:
   python.spec (1.338 -> 1.339) 

---- Diffs:

================================================================
Index: SPECS/python.spec
diff -u SPECS/python.spec:1.338 SPECS/python.spec:1.339
--- SPECS/python.spec:1.338	Mon Feb 23 23:13:45 2009
+++ SPECS/python.spec	Wed Feb 25 19:53:22 2009
@@ -375,6 +375,19 @@
 Narzędzia programistyczne języka Python takie jak profiler oraz
 debugger.
 
+%package 2to3
+Summary:	Automated Python 2 to 3 code translation
+Summary(pl.UTF-8):	Automatyczne tłumaczenie kody Pythona 2 do 3
+Group:		Development/Languages/Pythona
+
+%description 2to3
+2to3 is a Python program that reads Python 2.x source code and applies a series
+of fixers to transform it into valid Python 3.x code. The standard library
+contains a rich set of fixers that will handle almost all code. 2to3 supporting
+library lib2to3 is, however, a flexible and generic library, so it is possible
+to write your own fixers for 2to3. lib2to3 could also be adapted to custom
+applications in which Python code needs to be edited automatically.
+
 %package static
 Summary:	Static python library
 Summary(pl.UTF-8):	Statyczna biblioteka Pythona
@@ -905,6 +918,15 @@
 %doc Lib/pdb.doc
 /etc/shrc.d/python-devel*
 
+%attr(755,root,root) %{py_dyndir}/_hotshot.so
+%dir %{py_scriptdir}/hotshot
+%{py_scriptdir}/hotshot/*.py[co]
+%{py_scriptdir}/pdb.py[co]
+%{py_scriptdir}/profile.py[co]
+%{py_scriptdir}/pstats.py[co]
+%{py_scriptdir}/timeit.py[co]
+
+%files 2to3
 %attr(755,root,root) %{_bindir}/2to3
 %dir %{py_scriptdir}/lib2to3
 %dir %{py_scriptdir}/lib2to3/fixes
@@ -914,14 +936,6 @@
 %{py_scriptdir}/lib2to3/fixes/*.py[co]
 %{py_scriptdir}/lib2to3/pgen2/*.py[co]
 
-%attr(755,root,root) %{py_dyndir}/_hotshot.so
-%dir %{py_scriptdir}/hotshot
-%{py_scriptdir}/hotshot/*.py[co]
-%{py_scriptdir}/pdb.py[co]
-%{py_scriptdir}/profile.py[co]
-%{py_scriptdir}/pstats.py[co]
-%{py_scriptdir}/timeit.py[co]
-
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
@@ -954,6 +968,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.339  2009/02/25 18:53:22  wiget
+- 2to3 tool in own subpackage
+- relase 4
+
 Revision 1.338  2009/02/23 22:13:45  arekm
 - release 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python.spec?r1=1.338&r2=1.339&f=u



More information about the pld-cvs-commit mailing list