|
Thomas Spura |
19edb37 |
%global pypi_name jupyter_client
|
|
Thomas Spura |
19edb37 |
%global pypi_name_dash jupyter-client
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
Name: python-%{pypi_name_dash}
|
|
|
dcbbe15 |
Version: 5.3.4
|
|
|
8ceb473 |
Release: 2%{?dist}
|
|
Thomas Spura |
19edb37 |
Summary: Jupyter protocol implementation and client libraries
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
License: BSD
|
|
Thomas Spura |
19edb37 |
URL: http://jupyter.org
|
|
|
4409941 |
Source0: %pypi_source
|
|
|
4409941 |
# Eliminate a python 3.8 warning about use of "is" with a literal
|
|
|
4409941 |
Patch0: %{name}-is.patch
|
|
|
4409941 |
|
|
Thomas Spura |
19edb37 |
BuildArch: noarch
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
BuildRequires: python3-setuptools
|
|
Thomas Spura |
19edb37 |
BuildRequires: python3-devel
|
|
Thomas Spura |
19edb37 |
|
|
|
0cbed06 |
%bcond_without doc
|
|
|
c12797c |
%bcond_without tests
|
|
|
c3b0978 |
|
|
|
c3b0978 |
%if %{with doc}
|
|
|
355d679 |
BuildRequires: python3-sphinx
|
|
|
5600a75 |
BuildRequires: python3-sphinx_rtd_theme
|
|
|
355d679 |
BuildRequires: python3-sphinxcontrib-napoleon
|
|
|
355d679 |
BuildRequires: python3-sphinxcontrib-github-alt
|
|
|
355d679 |
|
|
|
25c96c6 |
BuildRequires: python3-dateutil
|
|
|
4409941 |
BuildRequires: python3-ipython-doc
|
|
|
355d679 |
BuildRequires: python3-traitlets
|
|
|
25c96c6 |
BuildRequires: python3-ipykernel
|
|
|
355d679 |
BuildRequires: python3-jupyter-core
|
|
|
4409941 |
BuildRequires: python3-zmq
|
|
|
c3b0978 |
%endif
|
|
|
355d679 |
|
|
|
c12797c |
%if %{with tests}
|
|
|
c12797c |
BuildRequires: python3-dateutil
|
|
|
c12797c |
BuildRequires: python3-ipykernel
|
|
|
c12797c |
BuildRequires: python3-ipython
|
|
|
c12797c |
BuildRequires: python3-jupyter-core >= 4.6
|
|
|
c12797c |
BuildRequires: python3-pytest
|
|
|
c12797c |
BuildRequires: python3-tornado
|
|
|
c12797c |
BuildRequires: python3-zmq-tests
|
|
|
c12797c |
%endif
|
|
|
c12797c |
|
|
Thomas Spura |
19edb37 |
%description
|
|
Thomas Spura |
19edb37 |
This package contains the reference implementation of the Jupyter protocol.
|
|
Thomas Spura |
19edb37 |
It also provides client and kernel management APIs for working with kernels.
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
It also provides the `jupyter kernelspec` entrypoint for installing kernelspecs
|
|
Thomas Spura |
19edb37 |
for use with Jupyter frontends.
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
%package -n python3-%{pypi_name_dash}
|
|
Thomas Spura |
19edb37 |
Summary: Jupyter protocol implementation and client libraries
|
|
Thomas Spura |
19edb37 |
%{?python_provide:%python_provide python3-%{pypi_name_dash}}
|
|
Thomas Spura |
19edb37 |
|
|
|
522d895 |
# It fallbacks to ifconfig without this, and ifconfig is deprecated
|
|
|
522d895 |
Recommends: python3-netifaces
|
|
|
522d895 |
|
|
Thomas Spura |
19edb37 |
%description -n python3-%{pypi_name_dash}
|
|
Thomas Spura |
19edb37 |
This package contains the reference implementation of the Jupyter protocol.
|
|
Thomas Spura |
19edb37 |
It also provides client and kernel management APIs for working with kernels.
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
It also provides the `jupyter kernelspec` entrypoint for installing kernelspecs
|
|
Thomas Spura |
19edb37 |
for use with Jupyter frontends.
|
|
Thomas Spura |
19edb37 |
|
|
|
c3b0978 |
%if %{with doc}
|
|
Thomas Spura |
19edb37 |
%package -n python-%{pypi_name_dash}-doc
|
|
Thomas Spura |
19edb37 |
Summary: Documentation of the Jupyter protocol reference implementation
|
|
Thomas Spura |
19edb37 |
%description -n python-%{pypi_name_dash}-doc
|
|
Thomas Spura |
19edb37 |
Documentation of the reference implementation of the Jupyter protocol
|
|
|
c3b0978 |
%endif
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
%prep
|
|
|
4409941 |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
4409941 |
|
|
|
4409941 |
%if %{with doc}
|
|
|
4409941 |
# Use local objects.inv for intersphinx:
|
|
|
4409941 |
sed -i "s|\(('http://ipython.readthedocs.io/en/stable/', \)None)|\1'/usr/share/doc/python3-ipython-doc/html/objects.inv')|" docs/conf.py
|
|
|
4409941 |
%endif
|
|
Thomas Spura |
19edb37 |
|
|
|
c12797c |
|
|
Thomas Spura |
19edb37 |
%build
|
|
Thomas Spura |
19edb37 |
%py3_build
|
|
|
c3b0978 |
|
|
|
c3b0978 |
%if %{with doc}
|
|
|
355d679 |
PYTHONPATH=build/lib/ sphinx-build-3 docs html
|
|
Thomas Spura |
19edb37 |
# remove the sphinx-build leftovers
|
|
Thomas Spura |
19edb37 |
rm -r html/.{doctrees,buildinfo}
|
|
|
c3b0978 |
%endif
|
|
Thomas Spura |
19edb37 |
|
|
|
c12797c |
|
|
Thomas Spura |
19edb37 |
%install
|
|
|
532c2b9 |
%py3_install
|
|
Thomas Spura |
19edb37 |
|
|
|
09ed26c |
|
|
|
c12797c |
%if %{with tests}
|
|
|
c12797c |
%check
|
|
|
c12797c |
export PYTHONPATH=%{buildroot}%{python3_sitelib}
|
|
|
c12797c |
export PATH="%{buildroot}%{_bindir}:$PATH"
|
|
|
c12797c |
pytest-3 -v
|
|
|
c12797c |
%endif
|
|
|
c12797c |
|
|
|
c12797c |
|
|
Thomas Spura |
19edb37 |
%global _docdir_fmt %{name}
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
%files -n python3-%{pypi_name_dash}
|
|
Thomas Spura |
19edb37 |
%doc README.md
|
|
Thomas Spura |
19edb37 |
%license COPYING.md
|
|
|
355d679 |
%{_bindir}/jupyter-kernel
|
|
Thomas Spura |
19edb37 |
%{_bindir}/jupyter-kernelspec
|
|
|
355d679 |
%{_bindir}/jupyter-run
|
|
|
dcbbe15 |
%{python3_sitelib}/%{pypi_name}-%{version}-py?.*.egg-info/
|
|
Thomas Spura |
19edb37 |
%{python3_sitelib}/%{pypi_name}/
|
|
Thomas Spura |
19edb37 |
|
|
|
c3b0978 |
%if %{with doc}
|
|
Thomas Spura |
19edb37 |
%files -n python-%{pypi_name_dash}-doc
|
|
Thomas Spura |
19edb37 |
%doc html
|
|
|
c3b0978 |
%endif
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
%changelog
|
|
|
8ceb473 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.4-2
|
|
|
8ceb473 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
8ceb473 |
|
|
|
dcbbe15 |
* Tue Nov 12 2019 Miro Hrončok <mhroncok@redhat.com> - 5.3.4-1
|
|
|
dcbbe15 |
- Update to 5.3.4 (#1759726)
|
|
|
c12797c |
- Run tests
|
|
|
dcbbe15 |
|
|
|
4409941 |
* Thu Sep 26 2019 Jerry James <loganjerry@gmail.com> - 5.3.3-1
|
|
|
4409941 |
- Update to 5.3.3 (bz 1727659, also fixes bz 1755635)
|
|
|
4409941 |
- Drop old workaround for dual python2/python3 builds
|
|
|
4409941 |
- Use local objects.inv for intersphinx, BR python3-ipython-doc
|
|
|
4409941 |
|
|
|
206365d |
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 5.2.3-10
|
|
|
206365d |
- Rebuilt for Python 3.8
|
|
|
206365d |
|
|
|
95b3f81 |
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 5.2.3-9
|
|
|
95b3f81 |
- Bootstrap for Python 3.8
|
|
|
95b3f81 |
|
|
|
97c1b62 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.3-8
|
|
|
97c1b62 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
97c1b62 |
|
|
|
5c140b1 |
* Thu Feb 14 2019 Miro Hrončok <mhroncok@redhat.com> - 5.2.3-7
|
|
|
5c140b1 |
- Subpackage python2-jupyter-client has been removed
|
|
|
5c140b1 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
5c140b1 |
|
|
|
779a6c6 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.3-6
|
|
|
779a6c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
779a6c6 |
|
|
|
5247d3e |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.3-5
|
|
|
5247d3e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
5247d3e |
|
|
|
0cbed06 |
* Wed Jun 20 2018 Miro Hrončok <mhroncok@redhat.com> - 5.2.3-4
|
|
|
0cbed06 |
- Rebuilt for Python 3.7
|
|
|
0cbed06 |
|
|
|
1f44bbe |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 5.2.3-3
|
|
|
c3b0978 |
- Bootstrap for Python 3.7
|
|
|
fa83a17 |
|
|
|
09ed26c |
* Wed Mar 14 2018 Miro Hrončok <mhroncok@redhat.com> - 5.2.3-1
|
|
|
09ed26c |
- Updated to 5.2.3 (#1538378)
|
|
|
09ed26c |
- Do not have 3.6 bytecode in 2.7 package
|
|
|
09ed26c |
|
|
|
76827d8 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-4
|
|
|
76827d8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
76827d8 |
|
|
|
482e7fd |
* Tue Jan 30 2018 Miro Hrončok <mhroncok@redhat.com> - 5.2.1-3
|
|
|
482e7fd |
- Enable automatic dependency generator, drop manual Python requires
|
|
|
482e7fd |
- Fixes missing dependency on dateutil
|
|
|
25c96c6 |
- Add missing BRs for docs
|
|
|
482e7fd |
|
|
|
522d895 |
* Sun Jan 14 2018 Miro Hrončok <mhroncok@redhat.com> - 5.2.1-2
|
|
|
522d895 |
- Recommend netifaces (#1534203)
|
|
|
522d895 |
|
|
|
355d679 |
* Thu Jan 04 2018 Miro Hrončok <mhroncok@redhat.com> - 5.2.1-1
|
|
|
355d679 |
- Updated to 5.2.1 (#1425248)
|
|
|
355d679 |
- Use Python 3 to build the docs, add BR on python3-sphinxcontrib-github-alt
|
|
|
355d679 |
|
|
|
532c2b9 |
* Fri Sep 01 2017 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-5
|
|
|
532c2b9 |
- Remove -2, -3, etc. executables (#1410332)
|
|
|
532c2b9 |
|
|
|
d11d11f |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-4
|
|
|
d11d11f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
d11d11f |
|
|
|
1e6ce33 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-3
|
|
|
1e6ce33 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
1e6ce33 |
|
|
|
e4adac7 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-2
|
|
|
e4adac7 |
- Rebuild for Python 3.6
|
|
|
e4adac7 |
|
|
Thomas Spura |
a13fc84 |
* Mon Sep 26 2016 Thomas Spura <tomspur@fedoraproject.org> - 4.4.0-1
|
|
Thomas Spura |
a13fc84 |
- update to 4.4.0
|
|
Thomas Spura |
a13fc84 |
- Source0: use files.pythonhosted.org
|
|
Thomas Spura |
a13fc84 |
|
|
Thomas Spura |
19edb37 |
* Mon Apr 25 2016 Thomas Spura <tomspur@fedoraproject.org> - 4.2.2-4
|
|
Thomas Spura |
19edb37 |
- Use simpler docdir_fmt
|
|
Thomas Spura |
19edb37 |
- Fix BR/R requires
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
* Tue Apr 19 2016 Thomas Spura <tomspur@fedoraproject.org> - 4.2.2-3
|
|
Thomas Spura |
19edb37 |
- Fix docs generation (Zbigniew, #1327989)
|
|
Thomas Spura |
19edb37 |
- Require python2- instead python- where possible
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
* Mon Apr 18 2016 Thomas Spura <tomspur@fedoraproject.org> - 4.2.2-2
|
|
Thomas Spura |
19edb37 |
- Use dash in name
|
|
Thomas Spura |
19edb37 |
- Adjust description
|
|
Thomas Spura |
19edb37 |
- Use %%license
|
|
Thomas Spura |
19edb37 |
|
|
Thomas Spura |
19edb37 |
* Mon Apr 18 2016 Thomas Spura <tomspur@fedoraproject.org> - 4.2.2-1
|
|
Thomas Spura |
19edb37 |
- Initial package.
|