From 69976f28eef48e41b7835dde27901a98f477d5b2bb644e13c09634bec1efe538 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 20 Apr 2021 04:56:13 +0000 Subject: [PATCH] - Do not build for Python 3.6, due to no NumPy. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-PsyLab?expand=0&rev=5 --- python-PsyLab.changes | 5 +++++ python-PsyLab.spec | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-PsyLab.changes b/python-PsyLab.changes index 5e9025e..28f0ffa 100644 --- a/python-PsyLab.changes +++ b/python-PsyLab.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 20 04:55:27 UTC 2021 - Steve Kowalik + +- Do not build for Python 3.6, due to no NumPy. + ------------------------------------------------------------------- Sat Jan 11 14:03:38 UTC 2020 - Bernhard Wiedemann diff --git a/python-PsyLab.spec b/python-PsyLab.spec index 2069457..f066b53 100644 --- a/python-PsyLab.spec +++ b/python-PsyLab.spec @@ -1,7 +1,7 @@ # # spec file for package python-PsyLab # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,19 +12,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python36 1 Name: python-PsyLab Version: 0.4.7.12 # For license file %define tag f6006806c966d5dc8cca93aafe0c212c6d38995d Release: 0 -License: GPL-3.0+ +License: GPL-3.0-or-later Summary: PsyLab: Psychophysics Lab -Url: https://bitbucket.org/cbrown1/psylab -Group: Development/Languages/Python +URL: https://bitbucket.org/cbrown1/psylab Source: https://files.pythonhosted.org/packages/py2.py3/P/PsyLab/PsyLab-%{version}-py2.py3-none-any.whl Source10: https://raw.githubusercontent.com/psylab16/psylab/%{tag}/COPYING BuildRequires: %{python_module devel} @@ -34,9 +35,9 @@ BuildRequires: %{python_module pip} BuildRequires: %{python_module scipy >= 0.12} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-matplotlib >= 1.2 Requires: python-numpy >= 1.2 Requires: python-scipy >= 0.12 -Requires: python-matplotlib >= 1.2 BuildArch: noarch %python_subpackages