File python3-holoviews.spec of Package python3-holoviews

#
# spec file for package python3-holoviews
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           python3-holoviews
Version:        1.6.2
Release:        0
Summary:        Easy, composable, declarative visualizations for Python
License:        BSD-3-Clause
Group:          Development/Languages/Python
Url:            https://github.com/ioam/holoviews
Source:         https://files.pythonhosted.org/packages/source/h/holoviews/holoviews-%{version}.tar.gz
Source1:        https://raw.githubusercontent.com/ioam/holoviews/master/LICENSE.txt
BuildRequires:  python3-devel
BuildRequires:  python3-matplotlib
BuildRequires:  python3-nose
BuildRequires:  python3-numpy >= 1.0
BuildRequires:  python3-param >= 1.3.2
Requires:       python3-matplotlib
Requires:       python3-numpy >= 1.0
Requires:       python3-param >= 1.3.2
Recommends:     ffmpeg
Recommends:     imagemagick
Recommends:     python3-mpld3
Recommends:     python3-pandas
Recommends:     python3-seaborn
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
HoloViews is a Python library that makes analyzing and visualizing scientific
or engineering data much simpler, more intuitive, and more reproducible.

%prep
%setup -q -n holoviews-%{version}
cp %{SOURCE1} ./

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}

# tests fail due to lack of ffmpeg
# %check
# nosetests

%files
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%{python3_sitelib}/*

%changelog
openSUSE Build Service is sponsored by