2018-05-29 08:29:04 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-PsyLab
|
|
|
|
|
#
|
2021-04-20 04:56:13 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2018-05-29 08:29:04 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2021-04-20 04:56:13 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
2018-05-29 08:29:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2021-04-20 04:56:13 +00:00
|
|
|
%define skip_python36 1
|
2018-05-29 08:29:04 +00:00
|
|
|
Name: python-PsyLab
|
|
|
|
|
Version: 0.4.7.12
|
|
|
|
|
# For license file
|
|
|
|
|
%define tag f6006806c966d5dc8cca93aafe0c212c6d38995d
|
|
|
|
|
Release: 0
|
2021-04-20 04:56:13 +00:00
|
|
|
License: GPL-3.0-or-later
|
2018-05-29 08:29:04 +00:00
|
|
|
Summary: PsyLab: Psychophysics Lab
|
2021-04-20 04:56:13 +00:00
|
|
|
URL: https://bitbucket.org/cbrown1/psylab
|
2018-05-29 08:29:04 +00:00
|
|
|
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}
|
|
|
|
|
BuildRequires: %{python_module matplotlib >= 1.2}
|
|
|
|
|
BuildRequires: %{python_module numpy >= 1.2}
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
|
BuildRequires: %{python_module scipy >= 0.12}
|
|
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2021-04-20 04:56:13 +00:00
|
|
|
Requires: python-matplotlib >= 1.2
|
2018-05-29 08:29:04 +00:00
|
|
|
Requires: python-numpy >= 1.2
|
|
|
|
|
Requires: python-scipy >= 0.12
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Psylab is a loose collection of modules useful for various aspects of
|
|
|
|
|
running psychophysics experiments, although some might be more
|
|
|
|
|
generally useful.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -c -T
|
|
|
|
|
cp %{SOURCE10} .
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Not Needed
|
|
|
|
|
|
|
|
|
|
%install
|
2020-01-12 22:24:18 +00:00
|
|
|
cp -a %{SOURCE0} .
|
|
|
|
|
%pyproject_install
|
2018-05-29 08:29:04 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|