From e10cf3cd0061099425dd7e75f6eaae19981f132539f9d4884fa80a36b3cde9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 12 Feb 2021 10:56:44 +0000 Subject: [PATCH] Accepting request 871229 from home:bnavigator:branches:devel:languages:python - NEP 29: NumPy dropped Python 3.6 -- skip python36 build in TW - Make importlib_resources conditional for Python < 3.7 (SLE/Leap) OBS-URL: https://build.opensuse.org/request/show/871229 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Glymur?expand=0&rev=16 --- python-Glymur.changes | 6 ++++++ python-Glymur.spec | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-Glymur.changes b/python-Glymur.changes index 273292a..77f9dfa 100644 --- a/python-Glymur.changes +++ b/python-Glymur.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 11 00:02:44 UTC 2021 - Benjamin Greiner + +- NEP 29: NumPy dropped Python 3.6 -- skip python36 build in TW +- Make importlib_resources conditional for Python < 3.7 (SLE/Leap) + ------------------------------------------------------------------- Sat Jan 23 12:18:53 UTC 2021 - Benjamin Greiner diff --git a/python-Glymur.spec b/python-Glymur.spec index 1a6c573..b7b71b9 100644 --- a/python-Glymur.spec +++ b/python-Glymur.spec @@ -18,6 +18,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +# NEP 29: NumPy dropped Python 3.6 +%define skip_python36 1 Name: python-Glymur Version: 0.9.3 Release: 0 @@ -36,7 +38,8 @@ Requires(postun): update-alternatives Recommends: python-lxml BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module importlib_resources} +# (importlib_resources for Leap's Python 3.6) +BuildRequires: %{python_module importlib_resources if %python-base < 3.7} BuildRequires: %{python_module lxml} BuildRequires: %{python_module numpy >= 1.7.1} BuildRequires: %{python_module pytest}