13fe38f
%global pypi_name spyder-kernels
13fe38f
13fe38f
Name:           python-%{pypi_name}
ce39fe3
Version:        2.1.1
fe59328
Release:        2%{?dist}
c4b3334
Epoch:          1
13fe38f
Summary:        Jupyter kernels for the Spyder console
13fe38f
13fe38f
License:        MIT
13fe38f
URL:            https://github.com/spyder-ide/spyder-kernels
bc705e6
Source0:        %pypi_source
13fe38f
BuildArch:      noarch
13fe38f
13fe38f
BuildRequires:  python3-devel
13fe38f
BuildRequires:  python3dist(cloudpickle)
13fe38f
BuildRequires:  python3dist(ipykernel)
13fe38f
BuildRequires:  python3dist(setuptools)
8178bb8
BuildRequires:  python3dist(wurlitzer)
13fe38f
13fe38f
# for tests
13fe38f
# python3
bc705e6
BuildRequires:  python3dist(cython)
bc705e6
BuildRequires:  python3dist(flaky)
bc705e6
BuildRequires:  python3dist(jupyter-client)
bc705e6
BuildRequires:  python3dist(matplotlib)
bc705e6
BuildRequires:  python3dist(mock)
bc705e6
BuildRequires:  python3dist(numpy)
13fe38f
BuildRequires:  python3dist(pandas)
13fe38f
BuildRequires:  python3dist(pytest)
bc705e6
BuildRequires:  python3dist(pytest-cov)
bc705e6
BuildRequires:  python3dist(pyzmq)
bc705e6
BuildRequires:  python3dist(scipy)
bc705e6
BuildRequires:  python3dist(xarray)
13fe38f
13fe38f
%description
13fe38f
This package provides jupyter kernels used by spyder on its IPython console.
13fe38f
13fe38f
%package -n     python3-%{pypi_name}
13fe38f
Summary:        %{summary}
13fe38f
%{?python_provide:%python_provide python3-%{pypi_name}}
13fe38f
13fe38f
Requires:       python3dist(cloudpickle)
13fe38f
Requires:       python3dist(ipykernel)
bc705e6
Requires:       python3dist(jupyter-client)
bc705e6
Requires:       python3dist(pyzmq)
8178bb8
Requires:       python3dist(wurlitzer)
13fe38f
13fe38f
%description -n python3-%{pypi_name}
13fe38f
This package provides python3 version of jupyter kernels used by spyder on its
13fe38f
 IPython console.
13fe38f
13fe38f
13fe38f
%prep
13fe38f
%autosetup -n %{pypi_name}-%{version}
13fe38f
rm -rf %{pypi_name}.egg-info
13fe38f
fe59328
# we need jupyter-client > 7 in Fedora
fe59328
# fixes bz#2007627
fe59328
sed -i 's|,<7||g' setup.py
fe59328
13fe38f
%build
13fe38f
%py3_build
13fe38f
13fe38f
%install
13fe38f
%py3_install
13fe38f
13fe38f
%check
bc705e6
# tests not present in pypi source
bc705e6
#export PYTHONPATH={buildroot}{python3_sitelib} pytest-3
13fe38f
13fe38f
%files -n python3-%{pypi_name}
8178bb8
%license LICENSE.txt
13fe38f
%doc README.md
13fe38f
%{python3_sitelib}/spyder_kernels
508f7b4
%{python3_sitelib}/spyder_kernels-%{version}-py%{python3_version}.egg-info
13fe38f
13fe38f
%changelog
fe59328
* Sat Oct 02 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:2.1.1-2
fe59328
- relax jupyter-client version
fe59328
ce39fe3
* Sun Sep 05 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:2.1.1-1
ce39fe3
- Update to 2.1.1
ce39fe3
7458be7
* Sat Aug 14 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:2.1.0-1
7458be7
- Update to 2.1.0
7458be7
cbe1bcf
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.4-2
cbe1bcf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
cbe1bcf
9a0b5bf
* Thu Jun 17 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:2.0.4-1
9a0b5bf
- Update to 2.0.4
9a0b5bf
2133307
* Sat Jun 05 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:2.0.3-1
2133307
- Update to 2.0.3
2133307
ad3691e
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1:1.10.2-2
ad3691e
- Rebuilt for Python 3.10
ad3691e
a5555aa
* Mon Feb 22 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:1.10.2-1
a5555aa
- Update to 1.10.2
a5555aa
a426bc7
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.10.1-2
a426bc7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a426bc7
a4639b6
* Fri Dec 25 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:1.10.1-1
81f5c5b
- Update to 1.10.1
81f5c5b
a4639b6
* Fri Nov 27 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:1.10.0-1
a4639b6
- Update to 1.10.0
a4639b6
17b8be6
* Thu Sep 03 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:1.9.4-1
17b8be6
- Update to 1.9.4
17b8be6
e4da0d0
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9.3-2
e4da0d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e4da0d0
74db419
* Sun Jul 26 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:1.9.3-1
74db419
- Update to 1.9.3
74db419
5841e31
* Fri Jul 10 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:1.9.2-1
5841e31
- Update to 1.9.2
5841e31
9e65d2c
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.9.1-2
9e65d2c
- Rebuilt for Python 3.9
9e65d2c
bc705e6
* Thu May 07 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.9.1-1
bc705e6
- Update to 1.9.1
bc705e6
8178bb8
* Wed Sep 18 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.5.2-2
8178bb8
- Add wurlitzer as dependency
8178bb8
4a2ece8
* Sun Sep 15 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.5.2-1
4a2ece8
- Update to 0.5.2
4a2ece8
488e556
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1:0.2.4-6
488e556
- Rebuilt for Python 3.8
488e556
f9cb929
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.4-5
f9cb929
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f9cb929
28c94df
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.4-4
28c94df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
28c94df
696bdc4
* Sun Oct 28 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1:0.2.4-3
696bdc4
- Drop python2 version
696bdc4
fb70e53
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.2.4-2
fb70e53
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
fb70e53
c4b3334
* Tue Jul 10 2018 Mukundan Ragavan <nonamedotc@gmail.com> - 1:0.2.4-1
c4b3334
- version 0.2.4 (required for spyder 3.3.0)
c4b3334
13fe38f
* Sun Jul 08 2018 Mukundan Ragavan <nonamedotc@gmail.com> - 1.0.1-1
13fe38f
- Initial package for review