Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
python-octave-kernel
python-octave-kernel.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-octave-kernel.spec of Package python-octave-kernel
# # spec file for package python-octave-kernel # # 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/ # # truncate trailing .0 %define distversion 0.36 Name: python-octave-kernel Version: 0.36.0 Release: 0 Summary: A Jupyter kernel for Octave License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/Calysto/octave_kernel Source: https://files.pythonhosted.org/packages/source/o/octave_kernel/octave_kernel-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module hatchling >= 1.5} BuildRequires: %{python_module ipykernel} BuildRequires: %{python_module jupyter-client >= 4.3.0} BuildRequires: %{python_module jupyter_kernel_test} BuildRequires: %{python_module jupyter_packaging} BuildRequires: %{python_module metakernel >= 0.24.0} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-xvfb} BuildRequires: fdupes BuildRequires: jupyter-notebook-filesystem BuildRequires: octave BuildRequires: python-rpm-macros BuildRequires: xvfb-run Requires: jupyter-octave-kernel = %{version} Requires: octave Requires: python-ipykernel Requires: python-jupyter-client >= 4.3.0 Requires: python-metakernel >= 0.24.0 Provides: python-jupyter_octave_kernel = %{version}-%{release} Obsoletes: python-jupyter_octave_kernel < %{version}-%{release} BuildArch: noarch %python_subpackages %description A kernel to allow Octave to be used in Jupyter. This package provides the python interface. %package -n jupyter-octave-kernel Summary: Interactive plotting package for the Jupyter notebook Group: Development/Languages/Python Requires: jupyter-notebook Requires: python3dist(octave-kernel) = %{distversion} Suggests: python3-octave-kernel = %{version} Conflicts: python3-jupyter_octave_kernel < 0.29.0 Provides: jupyter-octave_kernel = %{version}-%{release} Obsoletes: jupyter-octave_kernel < %{version}-%{release} %description -n jupyter-octave-kernel A kernel to allow Octave to be used in Jupyter. This package provides the jupyter notebook extension. %prep %autosetup -p1 -n octave_kernel-%{version} %build %pyproject_wheel %install %pyproject_install %fdupes %{buildroot}%{_jupyter_prefix} %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export JUPYTER_PATH=%{buildroot}%{_jupyter_prefix} xvfb-run python3 -m octave_kernel.check # no test_execute_stdout: gh#Calysto/octave_kernel#240 -- octave does not find qt toolkit backed %pytest test_octave_kernel.py -k "not test_execute_stdout" %files %{python_files} %license LICENSE.txt %doc README.rst %{python_sitelib}/octave_kernel/ %{python_sitelib}/octave_kernel-%{version}*-info %files -n jupyter-octave-kernel %license LICENSE.txt %{_jupyter_kernel_dir}/octave/ %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