13fe38f
%global pypi_name spyder-kernels
13fe38f
f1c5ba0
# Use forge macros for pulling from GitHub
f1c5ba0
%global forgeurl https://github.com/spyder-ide/spyder-kernels
f1c5ba0
13fe38f
Name:           python-%{pypi_name}
9a172e8
Version:        3.0.0~b2
e821b9d
Release:        %autorelease
c4b3334
Epoch:          1
f1c5ba0
Summary:        Jupyter kernels for Spyder's console
9a172e8
%global tag v%{version_no_tilde %{quote:%nil}}
f1c5ba0
%forgemeta
13fe38f
License:        MIT
f1c5ba0
URL:            %forgeurl
f1c5ba0
Source0:        %forgesource
13fe38f
BuildArch:      noarch
13fe38f
13fe38f
BuildRequires:  python3-devel
f1c5ba0
f1c5ba0
%global _description %{expand:
f1c5ba0
Package that provides Jupyter kernels for use with the consoles of
f1c5ba0
Spyder, the Scientific Python Development Environment.
f1c5ba0
f1c5ba0
These kernels can launched either through Spyder itself or in an
f1c5ba0
independent Python session, and allow for interactive or file-based
f1c5ba0
execution of Python code inside Spyder.}
f1c5ba0
f1c5ba0
%description %_description
f1c5ba0
13fe38f
13fe38f
%package -n     python3-%{pypi_name}
13fe38f
Summary:        %{summary}
13fe38f
f1c5ba0
%description -n python3-%{pypi_name} %_description
13fe38f
13fe38f
13fe38f
%prep
f1c5ba0
%forgesetup
c6e22bc
e821b9d
f1c5ba0
%generate_buildrequires
f1c5ba0
%pyproject_buildrequires
c6e22bc
13fe38f
13fe38f
%build
f1c5ba0
%pyproject_wheel
f1c5ba0
13fe38f
13fe38f
%install
f1c5ba0
%pyproject_install
f1c5ba0
%pyproject_save_files spyder_kernels
f1c5ba0
13fe38f
13fe38f
%check
f1c5ba0
# Package doesn't provide any tests
f1c5ba0
# For the import test a lot of runtime dependencies are required, so we
f1c5ba0
# skip that as well
f1c5ba0
#%%pyproject_check_import
f1c5ba0
13fe38f
f1c5ba0
%files -n python3-%{pypi_name} -f %{pyproject_files}
f1c5ba0
#%%license LICENSE.txt
13fe38f
%doc README.md
f1c5ba0
13fe38f
13fe38f
%changelog
e821b9d
%autochangelog