Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Update
python-jupyter_ipywidgets-doc
python-jupyter_ipywidgets-doc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-jupyter_ipywidgets-doc.spec of Package python-jupyter_ipywidgets-doc
# # spec file for package python-jupyter_ipywidgets-doc # # Copyright (c) 2018 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/ # %if 0%{?suse_version} && 0%{?suse_version} > 1320 %bcond_without tests %else %bcond_with tests %endif # disable docs until issue with CommonMark/recommonmark version conflict # is resolved in next recommonmark release (broken version is 0.4.0). %bcond_with html %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jupyter_ipywidgets-doc Version: 7.2.1 Release: 0 Summary: Documentation for python-jupyter_ipywidgets License: BSD-3-Clause Group: Development/Languages/Python Url: https://github.com/jupyter-widgets/ipywidgets Source: https://files.pythonhosted.org/packages/source/i/ipywidgets/ipywidgets-%{version}.tar.gz BuildRequires: %{python_module jupyter_ipywidgets} BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with tests} # Test Requirements BuildRequires: %{python_module nose} BuildRequires: %{python_module pytest} BuildRequires: %{python_module recommonmark} # Python 2.7 test requirements BuildRequires: python-mock %endif %if %{with pdf} || %{with html} # Documentation requirements BuildRequires: python3-Sphinx %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Provides: %{name}-html = %{version} Provides: %{name}-pdf = %{version} Obsoletes: %{name}-html < %{version} Obsoletes: %{name}-pdf < %{version} Provides: %{python_module jupyter_ipywidgets-doc = %{version}} %description Documentation and help files for python-jupyter_ipywidgets. %prep %setup -q -n ipywidgets-%{version} %build # Build the documentation pushd docs %if %{with html} make html rm -rf build/html/.buildinfo %endif popd %install mkdir -p %{buildroot}%{_docdir}/python-jupyter_ipywidgets %if %{with html} cp -r docs/build/html %{buildroot}%{_docdir}/python-jupyter_ipywidgets/ %endif %fdupes %{buildroot}%{_docdir}/python-jupyter_ipywidgets/ %if %{with tests} %check pushd docs %python_expand nosetests-%{$python_bin_suffix} ipywidgets popd %endif %files %defattr(-,root,root,-) %doc COPYING.md %{_docdir}/python-jupyter_ipywidgets/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor