| |
@@ -2,8 +2,8 @@
|
| |
%global pypi_name_dash jupyter-client
|
| |
|
| |
Name: python-%{pypi_name_dash}
|
| |
- Version: 6.1.5
|
| |
- Release: 2%{?dist}
|
| |
+ Version: 6.1.7
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Jupyter protocol implementation and client libraries
|
| |
|
| |
License: BSD
|
| |
@@ -12,33 +12,14 @@
|
| |
|
| |
BuildArch: noarch
|
| |
|
| |
- BuildRequires: python3-setuptools
|
| |
BuildRequires: python3-devel
|
| |
+ BuildRequires: pyproject-rpm-macros
|
| |
|
| |
%bcond_without doc
|
| |
%bcond_without tests
|
| |
|
| |
- %if %{with doc}
|
| |
- BuildRequires: python3-sphinx
|
| |
- BuildRequires: python3-sphinx_rtd_theme
|
| |
- BuildRequires: python3-sphinxcontrib-napoleon
|
| |
- BuildRequires: python3-sphinxcontrib-github-alt
|
| |
-
|
| |
- BuildRequires: python3-dateutil
|
| |
- BuildRequires: python3-ipython-doc
|
| |
- BuildRequires: python3-traitlets
|
| |
- BuildRequires: python3-ipykernel
|
| |
- BuildRequires: python3-jupyter-core
|
| |
- BuildRequires: python3-zmq
|
| |
- %endif
|
| |
-
|
| |
%if %{with tests}
|
| |
- BuildRequires: python3-dateutil
|
| |
- BuildRequires: python3-ipykernel
|
| |
- BuildRequires: python3-ipython
|
| |
- BuildRequires: python3-jupyter-core >= 4.6
|
| |
- BuildRequires: python3-pytest
|
| |
- BuildRequires: python3-tornado
|
| |
+ # The zmq tests are split in RPM only, the dependency is not tracked on Python level:
|
| |
BuildRequires: python3-zmq-tests
|
| |
%endif
|
| |
|
| |
@@ -66,6 +47,10 @@
|
| |
%if %{with doc}
|
| |
%package -n python-%{pypi_name_dash}-doc
|
| |
Summary: Documentation of the Jupyter protocol reference implementation
|
| |
+ BuildRequires: python3-sphinx
|
| |
+ BuildRequires: python3-sphinx_rtd_theme
|
| |
+ BuildRequires: python3-sphinxcontrib-github-alt
|
| |
+
|
| |
%description -n python-%{pypi_name_dash}-doc
|
| |
Documentation of the reference implementation of the Jupyter protocol
|
| |
%endif
|
| |
@@ -79,8 +64,12 @@
|
| |
%endif
|
| |
|
| |
|
| |
+ %generate_buildrequires
|
| |
+ %pyproject_buildrequires %{?with_tests:-x test}
|
| |
+
|
| |
+
|
| |
%build
|
| |
- %py3_build
|
| |
+ %pyproject_wheel
|
| |
|
| |
%if %{with doc}
|
| |
PYTHONPATH=build/lib/ sphinx-build-3 docs html
|
| |
@@ -90,7 +79,8 @@
|
| |
|
| |
|
| |
%install
|
| |
- %py3_install
|
| |
+ %pyproject_install
|
| |
+ %pyproject_save_files %{pypi_name}
|
| |
|
| |
|
| |
%if %{with tests}
|
| |
@@ -103,14 +93,12 @@
|
| |
|
| |
%global _docdir_fmt %{name}
|
| |
|
| |
- %files -n python3-%{pypi_name_dash}
|
| |
+ %files -n python3-%{pypi_name_dash} -f %{pyproject_files}
|
| |
%doc README.md
|
| |
%license COPYING.md
|
| |
%{_bindir}/jupyter-kernel
|
| |
%{_bindir}/jupyter-kernelspec
|
| |
%{_bindir}/jupyter-run
|
| |
- %{python3_sitelib}/%{pypi_name}-%{version}-py?.*.egg-info/
|
| |
- %{python3_sitelib}/%{pypi_name}/
|
| |
|
| |
%if %{with doc}
|
| |
%files -n python-%{pypi_name_dash}-doc
|
| |
@@ -118,6 +106,9 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Thu Sep 17 2020 Tomas Hrnciar <thrnciar@redhat.com> - 6.1.7-1
|
| |
+ - Update to 6.1.7 (#1868821)
|
| |
+
|
| |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.5-2
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
| |
|
| |
I'll update specfile with
async_generator
dependency.