Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:illuusio:python
python-jupyter_console
python-jupyter_console.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-jupyter_console.spec of Package python-jupyter_console
# # spec file for package python-jupyter_console # # 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/ # %define skip_python39 1 Name: python-jupyter_console Version: 6.6.3 Release: 0 Summary: Jupyter terminal console License: BSD-3-Clause URL: https://github.com/jupyter/jupyter_console Source0: https://files.pythonhosted.org/packages/source/j/jupyter_console/jupyter_console-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module hatchling >= 1.5} BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module Pygments} BuildRequires: %{python_module flaky} BuildRequires: %{python_module ipykernel >= 6.14} BuildRequires: %{python_module ipython} BuildRequires: %{python_module jupyter-client >= 7} BuildRequires: %{python_module jupyter-core >= 5.1} BuildRequires: %{python_module pexpect} BuildRequires: %{python_module prompt_toolkit >= 3.0.30} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pyzmq >= 17} BuildRequires: %{python_module traitlets >= 5.4} # /SECTION Requires: jupyter-jupyter_console = %{version} Requires: python-Pygments Requires: python-ipykernel >= 6.14 Requires: python-ipython Requires: python-jupyter-client >= 7 Requires: python-jupyter-core >= 5.1 Requires: python-prompt_toolkit >= 3.0.30 Requires: python-pyzmq >= 17 Requires: python-traitlets >= 5.4 Requires(post): update-alternatives Requires(postun): update-alternatives Provides: python-jupyter-console = %{version}-%{release} # %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" Provides: jupyter-jupyter_console = %{version}-%{release} Obsoletes: jupyter-jupyter_console < %{version}-%{release} Provides: jupyter-jupyter_console-doc = %{version}-%{release} Obsoletes: jupyter-jupyter_console-doc < %{version}-%{release} # %endif BuildArch: noarch %python_subpackages %description A terminal-based console frontend for Jupyter kernels. This code is based on the single-process IPython terminal. %prep %setup -q -n jupyter_console-%{version} %build %pyproject_wheel %install %pyproject_install %python_clone -a %{buildroot}%{_bindir}/jupyter-console %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest -s --force-flaky --max-runs=10 %post %python_install_alternative jupyter-console %postun %python_uninstall_alternative jupyter-console %files %{python_files} %doc CONTRIBUTING.md README.md %license LICENSE %python_alternative %{_bindir}/jupyter-console %{python_sitelib}/jupyter_console %{python_sitelib}/jupyter_console-%{version}*-info %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