Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
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) 2019 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/ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-octave-kernel Version: 0.31.0 Release: 0 License: BSD-3-Clause Summary: A Jupyter kernel for Octave Url: http://github.com/Calysto/octave_kernel Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/o/octave-kernel/octave_kernel-%{version}.tar.gz # PATCH-FIX-UPSTREAM fix_octave5.patch -- gh#Calysto/octave_kernel#160 Patch0: fix_octave5.patch BuildRequires: %{python_module ipykernel} BuildRequires: %{python_module jupyter-client >= 4.3.0} BuildRequires: %{python_module metakernel >= 0.24.0} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: jupyter-notebook-filesystem BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module jupyter_kernel_test} BuildRequires: octave-cli # /SECTION Requires: python-ipykernel Requires: python-jupyter-client >= 4.3.0 Requires: python-metakernel >= 0.24.0 Requires: jupyter-octave-kernel = %{version} Provides: python-jupyter_octave_kernel = %{version} Obsoletes: python-jupyter_octave_kernel < %{version} Conflicts: jupyter-octave_kernel < 0.29.0 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 Requires: jupyter-notebook Requires: python3-octave-kernel = %{version} Provides: jupyter-octave_kernel = %{version} Obsoletes: jupyter-octave_kernel < %{version} Conflicts: python3-jupyter_octave_kernel < 0.29.0 %description -n jupyter-octave-kernel A kernel to allow Octave to be used in Jupyter. This package provides the jupyter notebook extension. %prep %setup -q -n octave_kernel-%{version} %patch0 -p1 %build %python_build %install %python_install sed -i "s|\"python\"|\"python3\"|" %{buildroot}%{_jupyter_kernel_dir}/octave/kernel.json %fdupes %{buildroot}%{_jupyter_prefix} %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export JUPYTER_PATH=%{buildroot}%{_jupyter_prefix} %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} $python test_octave_kernel.py} %files %{python_files} %license LICENSE.txt %doc README.rst %{python_sitelib}/octave_kernel/ %{python_sitelib}/octave_kernel-%{version}-py*.egg-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