Accepting request 721906 from home:jayvdb:jupyter
Update, add testing and remove unnecessary separate docs package which only contained the changelog OBS-URL: https://build.opensuse.org/request/show/721906 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipykernel?expand=0&rev=8
This commit is contained in:
parent
6a8f7a799f
commit
a678800cd8
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:346189536b88859937b5f4848a6fd85d1ad0729f01724a411de5cae9b618819c
|
|
||||||
size 114024
|
|
3
ipykernel-5.1.2.tar.gz
Normal file
3
ipykernel-5.1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b503913e0b4cce7ed2de965457dfb2edd633e8234161a60e23f2fe2161345d12
|
||||||
|
size 103286
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2e207ec2473affd6ce3af1d0ba8f440162165b46b1c1c463c90bffcd6c40e5f3
|
|
||||||
size 95312
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:528aa98b6b5e4e3a97627ff1dec10ec7d13d77c31bed97d15a3bcc80018bedeb
|
|
||||||
size 9887009
|
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 9 05:20:15 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Replace HTML and PDF version of changelog with the single
|
||||||
|
changelog.rst they contained, obsoleting jupyter-ipykernel-doc
|
||||||
|
- Activated test suite
|
||||||
|
- Update to 5.1.2
|
||||||
|
* Fix socket-binding race conditions
|
||||||
|
* Add a no-op flush method to DummySocket and comply with stream API
|
||||||
|
* Update kernel version to indicate kernel v5.3 support
|
||||||
|
* Add testing for upcoming Python 3.8 and PEP 570 positional parameters
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 16 19:12:11 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
Thu May 16 19:12:11 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
@ -19,45 +19,49 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-ipykernel
|
Name: python-ipykernel
|
||||||
Version: 5.1.1
|
Version: 5.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: IPython Kernel for Jupyter
|
Summary: IPython Kernel for Jupyter
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/ipython/ipykernel
|
URL: https://github.com/ipython/ipykernel
|
||||||
Source0: https://files.pythonhosted.org/packages/py3/i/ipykernel/ipykernel-%{version}-py3-none-any.whl
|
Source: https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz
|
||||||
# Please make sure you update the documentation files at every release
|
BuildRequires: %{python_module setuptools}
|
||||||
Source1: https://media.readthedocs.org/pdf/ipykernel/stable/ipykernel.pdf
|
|
||||||
Source2: https://media.readthedocs.org/htmlzip/ipykernel/stable/ipykernel.zip
|
|
||||||
BuildRequires: %{python_module ipython >= 4.0.0}
|
|
||||||
BuildRequires: %{python_module jupyter_client}
|
|
||||||
BuildRequires: %{python_module jupyter_core}
|
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module tornado >= 4.0}
|
|
||||||
BuildRequires: %{python_module traitlets >= 4.1.0}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
|
||||||
Requires: jupyter-ipykernel = %{version}
|
Requires: jupyter-ipykernel = %{version}
|
||||||
Requires: python-ipython >= 4.0.0
|
Requires: python-ipython >= 5.0.0
|
||||||
Requires: python-jupyter_client
|
Requires: python-jupyter_client
|
||||||
Requires: python-jupyter_core
|
Requires: python-jupyter_core
|
||||||
Requires: python-tornado >= 4.0
|
Requires: python-tornado >= 4.2
|
||||||
Requires: python-traitlets >= 4.1.0
|
Requires: python-traitlets >= 4.1.0
|
||||||
# typing is only built-in for later versions of python
|
|
||||||
Provides: python-jupyter_ipykernel = %{version}
|
Provides: python-jupyter_ipykernel = %{version}
|
||||||
Obsoletes: python-jupyter_ipykernel < %{version}
|
Obsoletes: python-jupyter_ipykernel < %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module ipython >= 5.0.0}
|
||||||
|
BuildRequires: %{python_module jupyter_client}
|
||||||
|
BuildRequires: %{python_module jupyter_core}
|
||||||
BuildRequires: %{python_module nose_warnings_filters}
|
BuildRequires: %{python_module nose_warnings_filters}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
BuildRequires: %{python_module tornado >= 4.0}
|
BuildRequires: %{python_module numpy}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module tornado >= 4.2}
|
||||||
|
BuildRequires: %{python_module traitlets >= 4.1.0}
|
||||||
|
# /SECTION
|
||||||
|
# typing is only built-in for later versions of python
|
||||||
%if 0%{?suse_version} <= 1320
|
%if 0%{?suse_version} <= 1320
|
||||||
BuildRequires: %{python_module typing}
|
BuildRequires: %{python_module typing}
|
||||||
Requires: python-typing
|
Requires: python-typing
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
Provides: %{python_module ipykernel-doc = %{version}}
|
||||||
|
Obsoletes: %{python_module ipykernel-doc < %{version}}
|
||||||
|
Provides: %{python_module jupyter_ipykernel-doc = %{version}}
|
||||||
|
Obsoletes: %{python_module jupyter_ipykernel-doc < %{version}}
|
||||||
|
Provides: %{python_module jupyter-ipykernel-doc = %{version}}
|
||||||
|
Obsoletes: %{python_module jupyter-ipykernel-doc < %{version}}
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -77,64 +81,26 @@ This package provides the IPython kernel for Jupyter.
|
|||||||
|
|
||||||
This package provides the jupyter components.
|
This package provides the jupyter components.
|
||||||
|
|
||||||
%package -n jupyter-ipykernel-doc
|
|
||||||
Summary: Documentation for the IPython kernel for Jupyter
|
|
||||||
Group: Documentation/Other
|
|
||||||
Provides: %{python_module ipykernel-doc = %{version}}
|
|
||||||
Provides: %{python_module jupyter_ipykernel-doc = %{version}}
|
|
||||||
Obsoletes: %{python_module jupyter_ipykernel-doc < %{version}}
|
|
||||||
|
|
||||||
%description -n jupyter-ipykernel-doc
|
|
||||||
Documentation and help files for the IPython kernel for Jupyter.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -T -c
|
%setup -q -n ipykernel-%{version}
|
||||||
cp %{SOURCE1} .
|
|
||||||
unzip %{SOURCE2} -d docs
|
|
||||||
mv docs/ipykernel-* docs/html
|
|
||||||
rm docs/html/.buildinfo
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Not needed
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_expand pip%{$python_bin_suffix} install \
|
%python_install
|
||||||
--root %{buildroot} \
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
--prefix %{_prefix} \
|
|
||||||
--compile \
|
|
||||||
%{SOURCE0}
|
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_docdir}/jupyter-ipykernel
|
|
||||||
|
|
||||||
cp %{SOURCE1} %{buildroot}%{_docdir}/jupyter-ipykernel/
|
|
||||||
cp -r docs/html %{buildroot}%{_docdir}/jupyter-ipykernel/
|
|
||||||
|
|
||||||
%fdupes %{buildroot}%{_docdir}/jupyter-ipykernel/
|
|
||||||
|
|
||||||
|
|
||||||
cp %{buildroot}%{python_sitelib}/ipykernel-%{version}.dist-info/COPYING.md .
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
%pytest
|
||||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
|
||||||
nosetests-%{$python_bin_suffix}
|
|
||||||
}
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/ipykernel-%{version}.dist-info/
|
%doc README.md docs/changelog.rst
|
||||||
%license %{python_sitelib}/ipykernel-%{version}.dist-info/COPYING.md
|
%license COPYING.md
|
||||||
%{python_sitelib}/ipykernel/
|
%{python_sitelib}/*
|
||||||
%{python_sitelib}/ipykernel_launcher.py*
|
|
||||||
%pycache_only %{python_sitelib}/__pycache__/ipykernel_launcher*.py*
|
|
||||||
|
|
||||||
%files -n jupyter-ipykernel
|
%files -n jupyter-ipykernel
|
||||||
%license COPYING.md
|
%license COPYING.md
|
||||||
%{_jupyter_kernel_dir}/python3/
|
%{_jupyter_kernel_dir}/python3/
|
||||||
|
|
||||||
%files -n jupyter-ipykernel-doc
|
|
||||||
%license COPYING.md
|
|
||||||
%dir %{_docdir}/jupyter-ipykernel/
|
|
||||||
%{_docdir}/jupyter-ipykernel/ipykernel.pdf
|
|
||||||
%{_docdir}/jupyter-ipykernel/html
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user