SHA256
1
0
forked from pool/python38

Accepting request 831136 from devel:languages:python:Factory

- Just cleanup and reordering items to synchronize with python39

OBS-URL: https://build.opensuse.org/request/show/831136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python38?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-09-08 20:55:00 +00:00 committed by Git OBS Bridge
commit b34286af0a
3 changed files with 11542 additions and 1050 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 1 10:16:34 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Just cleanup and reordering items to synchronize with python39
-------------------------------------------------------------------
Mon Jul 20 17:46:54 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>

View File

@ -38,7 +38,6 @@
%define _version %(c=%{version}; echo ${c/[a-z]*/})
%define tar_suffix %(c=%{_version}; echo ${c#%{_version}})
%define python_version %(c=%{_version}; echo ${c:0:3})
# the versions are autogenerated from pre_checkin.sh
# based on the current source tarball
%define python_version_abitag %(c=%{python_version}; echo ${c//./})
# FIXME %%define python_version_soname %%(c=%%{python_version}; echo ${c//./_})
@ -50,7 +49,7 @@
%define tarversion %{version}
%endif
%define python_pkg_name python38
# Will provide the pyton3-* provides
# Will provide the python3-* provides
# Will do the /usr/bin/python3 and all the core links
%define primary_interpreter 1
%define folderversion %{tarversion}
@ -81,6 +80,7 @@
# pyexpat.cpython-35m-armv7-linux-gnueabihf
# _md5.cpython-38m-x86_64-linux-gnu.so
%define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so
# deadlocks on test_faulthandler and blocks the build
%if 0%{?qemu_user_space_build}
%bcond_with profileopt
%else
@ -103,7 +103,7 @@ Source10: pre_checkin.sh
Source11: skipped_tests.py
Source19: idle3.desktop
Source20: idle3.appdata.xml
Source99: python.keyring
Source99: https://www.python.org/static/files/pubkeys.txt#/python.keyring
# The following files are not used in the build.
# They are listed here to work around missing functionality in rpmbuild,
# which would otherwise exclude them from distributed src.rpm files.
@ -275,7 +275,7 @@ Python, and Macintosh Module Reference in HTML format.
%package -n %{python_pkg_name}-doc-devhelp
Summary: Additional Package Documentation for Python 3 in devhelp format
%if %{primary_interpreter}
Provides: python3-doc-devhelp = %{version}
Provides: python3-doc-devhelp = %{version}
%endif
%description -n %{python_pkg_name}-doc-devhelp
@ -304,8 +304,8 @@ Provides: %{python_pkg_name}-importlib-metadata = %{version}
# python-importlib_resources is a backport of 3.7 behaviour into older pythons
Provides: %{python_pkg_name}-importlib_resources = %{version}
%if %{primary_interpreter}
Provides: python3-base = %{version}
Provides: python3-asyncio = %{version}
Provides: python3-base = %{version}
Obsoletes: python3-asyncio < %{version}
Provides: python3-typing = %{version}
Obsoletes: python3-typing < %{version}
@ -331,14 +331,14 @@ database and UI toolkits support.
%package -n %{python_pkg_name}-tools
Summary: Python Utility and Demonstration Scripts
Requires: %{python_pkg_name}-base = %{version}
Provides: %{python_pkg_name}-demo = %{version}
Provides: %{python_pkg_name}-2to3 = %{version}
Provides: %{python_pkg_name}-demo = %{version}
%if %{primary_interpreter}
Provides: python3-tools = %{version}
Provides: python3-demo = %{version}
Provides: python3-2to3 = %{version}
Obsoletes: python3-demo < %{version}
Provides: python3-demo = %{version}
Provides: python3-tools = %{version}
Obsoletes: python3-2to3 < %{version}
Obsoletes: python3-demo < %{version}
%endif
%description -n %{python_pkg_name}-tools