1
0

Accepting request 852728 from home:bnavigator:branches:devel:languages:python:jupyter

- Prepare for upcoming python multiflavor
  * gh#openSUSE/python-rpm-macros#66
  * Skip python36 flavor
  * Provide ipython3 and iptest3 for primary python3 flavor only
    (in case that more than python38 is present, e.g. python39)

OBS-URL: https://build.opensuse.org/request/show/852728
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipython?expand=0&rev=58
This commit is contained in:
Matej Cepl 2020-12-03 06:14:27 +00:00 committed by Git OBS Bridge
parent 8a20277e73
commit 5556a864b5
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Dec 2 21:38:05 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Prepare for upcoming python multiflavor
* gh#openSUSE/python-rpm-macros#66
* Skip python36 flavor
* Provide ipython3 and iptest3 for primary python3 flavor only
(in case that more than python38 is present, e.g. python39)
-------------------------------------------------------------------
Fri Oct 30 22:35:05 UTC 2020 - Arun Persaud <arun@gmx.de>

View File

@ -24,8 +24,19 @@
%define psuffix %{nil}
%bcond_with test
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
# -- Definitions for python3 multiflavor gh#openSUSE/python-rpm-macros#66 --
# Python 3.6 was supported with IPython up to 7.16
%define skip_python36 1
# We redefine this locally, because we are sure that it is only used for files,
# which only the primary python3 flavor should provide
%define python3_only() %%if "%%{python_flavor}" == "python3" || "%%{python_provides}" == "python3" \
%** \
%%endif
%bcond_without iptest
Name: python-ipython%{psuffix}
Version: 7.19.0