Change description, to reflect that python3 is now the default Python

Also enhance verbosity for the descriptions of subpackages
This commit is contained in:
Charalampos Stratakis 2017-05-09 11:43:22 +02:00
parent 31fe33b583
commit 6245861480

View File

@ -491,13 +491,24 @@ Requires: python3-pip
%endif %endif
%description %description
Python 3 is a new version of the language that is incompatible with the 2.x Python is an interpreted, interactive, object-oriented programming
line of releases. The language is mostly the same, but many details, especially language often compared to Tcl, Perl, Scheme or Java. Python includes
how built-in objects like dictionaries and strings work, have changed modules, classes, exceptions, very high level dynamic data types
considerably, and a lot of deprecated features have finally been removed. and dynamic typing. Python supports interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac and MFC).
Programmers can write new built-in modules for Python in C or C++.
Python can be used as an extension language for applications that
need a programmable interface.
Note that documentation for Python is provided in the python3-docs package.
This package provides the "python3" executable; most of the actual
implementation is within the "python3-libs" and "system-python-libs" packages.
%package libs %package libs
Summary: Python 3 runtime libraries Summary: Python runtime libraries
Group: Development/Libraries Group: Development/Libraries
# For Modularity purpose we need not to include the dist-tag int he dependency # For Modularity purpose we need not to include the dist-tag int he dependency
%if %(d="%{?dist}"; [ "${d#module-base-runtime-}x" != "${d}x" ] && echo 1 || echo 0) %if %(d="%{?dist}"; [ "${d#module-base-runtime-}x" != "${d}x" ] && echo 1 || echo 0)
@ -515,7 +526,10 @@ Provides: python3-enum34 = 1.0.4-5%{?dist}
Obsoletes: python3-enum34 < 1.0.4-5%{?dist} Obsoletes: python3-enum34 < 1.0.4-5%{?dist}
%description libs %description libs
This package contains files used to embed Python 3 into applications. This package contains runtime libraries for use by Python:
- the libpython dynamic library, for use by applications that embed Python as
a scripting language, and by the main "python3" executable
- the Python standard library
%package -n system-python %package -n system-python
Summary: System Python executable Summary: System Python executable
@ -542,7 +556,7 @@ Requires: glibc%{?_isa} >= 2.24.90-26
This package contains files used to embed System Python into applications. This package contains files used to embed System Python into applications.
%package devel %package devel
Summary: Libraries and header files needed for Python 3 development Summary: Libraries and header files needed for Python development
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -552,25 +566,32 @@ Requires: python3-rpm-macros
Conflicts: %{name} < %{version}-%{release} Conflicts: %{name} < %{version}-%{release}
%description devel %description devel
This package contains libraries and header files used to build applications The Python programming language's interpreter can be extended with
with and native libraries for Python 3 dynamically loaded extensions and can be embedded in other programs.
This package contains the header files and libraries needed to do
these types of tasks.
Install python3-devel if you want to develop Python extensions. The
python3 package will also need to be installed. You'll probably also
want to install the python3-docs package, which contains Python
documentation.
%package tools %package tools
Summary: A collection of tools included with Python 3 Summary: A collection of tools included with Python
Group: Development/Tools Group: Development/Tools
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-tkinter = %{version}-%{release} Requires: %{name}-tkinter = %{version}-%{release}
%description tools %description tools
This package contains several tools included with Python 3 This package contains several tools included with Python
%package tkinter %package tkinter
Summary: A GUI toolkit for Python 3 Summary: A GUI toolkit for Python
Group: Development/Languages Group: Development/Languages
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description tkinter %description tkinter
The Tkinter (Tk interface) program is an graphical user interface for The Tkinter (Tk interface) program is a graphical user interface for
the Python scripting language. the Python scripting language.
%package test %package test
@ -585,11 +606,11 @@ These are in a separate package to save space, as they are almost never used
in production. in production.
You might want to install the python3-test package if you're developing You might want to install the python3-test package if you're developing
python 3 code that uses more than just unittest and/or test_support.py. python code that uses more than just unittest and/or test_support.py.
%if 0%{?with_debug_build} %if 0%{?with_debug_build}
%package debug %package debug
Summary: Debug version of the Python 3 runtime Summary: Debug version of the Python runtime
Group: Applications/System Group: Applications/System
# The debug build is an all-in-one package version of the regular build, and # The debug build is an all-in-one package version of the regular build, and
@ -603,20 +624,20 @@ Requires: %{name}-tkinter%{?_isa} = %{version}-%{release}
Requires: %{name}-tools%{?_isa} = %{version}-%{release} Requires: %{name}-tools%{?_isa} = %{version}-%{release}
%description debug %description debug
python3-debug provides a version of the Python 3 runtime with numerous debugging python3-debug provides a version of the Python runtime with numerous debugging
features enabled, aimed at advanced Python users, such as developers of Python features enabled, aimed at advanced Python users, such as developers of Python
extension modules. extension modules.
This version uses more memory and will be slower than the regular Python 3 build, This version uses more memory and will be slower than the regular Python build,
but is useful for tracking down reference-counting issues, and other bugs. but is useful for tracking down reference-counting issues, and other bugs.
The bytecodes are unchanged, so that .pyc files are compatible between the two The bytecodes are unchanged, so that .pyc files are compatible between the two
versions of Python 3, but the debugging features mean that C/C++ extension versions of Python, but the debugging features mean that C/C++ extension
modules are ABI-incompatible with those built for the standard runtime. modules are ABI-incompatible with those built for the standard runtime.
It shares installation directories with the standard Python 3 runtime, so that It shares installation directories with the standard Python runtime, so that
.py and .pyc files can be shared. All compiled extension modules gain a "_d" .py and .pyc files can be shared. All compiled extension modules gain a "_d"
suffix ("foo_d.so" rather than "foo.so") so that each Python 3 implementation suffix ("foo_d.so" rather than "foo.so") so that each Python implementation
can load its own extensions. can load its own extensions.
%endif # with_debug_build %endif # with_debug_build