Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:python312:numeric
python-jupyter-sphinx
python-jupyter-sphinx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-jupyter-sphinx.spec of Package python-jupyter-sphinx
# # spec file for package python-jupyter-sphinx # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: python-jupyter-sphinx Version: 0.5.3 Release: 0 Summary: Jupyter Sphinx Extensions License: BSD-3-Clause URL: https://github.com/jupyter-widgets/jupyter-sphinx Source: https://github.com/jupyter/jupyter-sphinx/archive/v%{version}.tar.gz#/jupyter-sphinx-%{version}-gh.tar.gz # PATCH-FIX-UPSTREAM jupyter-sphinx-sphinx7.patch gh#jupyter/jupyter-sphinx#280 Patch0: jupyter-sphinx-sphinx7.patch BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module hatchling >= 1.5} BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-IPython Requires: python-Sphinx >= 7 Requires: python-ipykernel >= 4.5.1 Requires: python-ipywidgets >= 7.0.0 Requires: python-nbconvert >= 5.5 Requires: python-nbformat Provides: python-jupyter_sphinx = %{version} Obsoletes: python-jupyter_sphinx < %{version} BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module IPython} BuildRequires: %{python_module Sphinx >= 7} BuildRequires: %{python_module Sphinx-latex} BuildRequires: %{python_module ipykernel >= 4.5.1} BuildRequires: %{python_module ipywidgets >= 7.0.0} BuildRequires: %{python_module nbconvert >= 5.5} BuildRequires: %{python_module nbformat} BuildRequires: %{python_module pytest} # /SECTION %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" Provides: jupyter-jupyter-sphinx = %{version} %endif %python_subpackages %description Jupyter Sphinx extensions enable jupyter-specific features in sphinx. %prep %autosetup -p1 -n jupyter-sphinx-%{version} sed -i 's/"--color=yes", //' pyproject.toml %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export JUPYTER_PLATFORM_DIRS=1 %pytest -k "not test_bash_kernel" %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/jupyter_sphinx-%{version}.dist-info %{python_sitelib}/jupyter_sphinx/ %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