commit python-vega for openSUSE:Factory

Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-vega for openSUSE:Factory checked in at 2021-02-01 13:27:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-vega (Old) and /work/SRC/openSUSE:Factory/.python-vega.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-vega" Mon Feb 1 13:27:36 2021 rev:8 rq:868155 version:3.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-vega/python-vega.changes 2020-06-10 00:49:57.091185981 +0200 +++ /work/SRC/openSUSE:Factory/.python-vega.new.28504/python-vega.changes 2021-02-01 13:29:38.362237123 +0100 @@ -1,0 +2,7 @@ +Fri Jan 29 16:56:05 UTC 2021 - Ben Greiner <code@bnavigator.de> + +- Build wheel from source +- Remove python-base >= 3.8 requirement +- Merge empty jupyter-vega package into main python package + +------------------------------------------------------------------- Old: ---- vega-3.4.0-py3-none-any.whl New: ---- vega-3.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-vega.spec ++++++ --- /var/tmp/diff_new_pack.54civd/_old 2021-02-01 13:29:39.002238119 +0100 +++ /var/tmp/diff_new_pack.54civd/_new 2021-02-01 13:29:39.002238119 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-vega # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,25 +24,28 @@ Summary: An IPython/Jupyter widget for Vega 3 and Vega-Lite 2 License: BSD-3-Clause URL: https://github.com/vega/ipyvega/ -Source: https://files.pythonhosted.org/packages/py3/v/vega/vega-%{version}-py3-none-any.whl -BuildRequires: %{python_module base >= 3.8} -BuildRequires: %{python_module jupyter-client >= 4.2} +Source: https://files.pythonhosted.org/packages/source/v/vega/vega-%{version}.tar.gz +BuildRequires: %{python_module ipython} +BuildRequires: %{python_module pandas >= 1.0.0} BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry >= 0.12} BuildRequires: fdupes BuildRequires: jupyter-notebook-filesystem BuildRequires: python-rpm-macros -Requires: jupyter-vega = %{version} Requires: python-altair Requires: python-ipython Requires: python-jupyter-client >= 4.2 -Provides: python-jupyter_vega = %{version} -Obsoletes: python-jupyter_vega < %{version} +Recommends: python-ipywidgets +Provides: python-jupyter_vega = %{version}-%{release} +Obsoletes: python-jupyter_vega < %{version}-%{release} +%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" +# notebook >= 5.3 does not need to install a separate nbextension +Provides: jupyter-vega = %{version}-%{release} +Obsoletes: jupyter-vega < %{version}-%{release} +%endif BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module altair} -BuildRequires: %{python_module ipython} -BuildRequires: %{python_module numpy} -BuildRequires: %{python_module pandas >= 1.0.0} +BuildRequires: %{python_module altair >= 4.0.1} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -52,51 +55,25 @@ Polestar, and Voyager. Notebooks with embedded visualizations can be viewed on github and nbviewer. -This package provides the python interface. - -%package -n jupyter-vega -Summary: An IPython/Jupyter widget for Vega 3 and Vega-Lite 2 -Requires: jupyter-notebook -Requires: python3-vega = %{version} -Conflicts: python3-jupyter_vega < 2.1.0 - -%description -n jupyter-vega -IPython/Jupyter notebook module for Vega and Vega-Lite, -Polestar, and Voyager. Notebooks with embedded visualizations -can be viewed on github and nbviewer. - -This package provides the jupyter notebook extension. %prep -%setup -q -c -T +%setup -q -n vega-%{version} %build -# Not Needed +%pyproject_wheel %install -cp -a %{SOURCE0} . %pyproject_install - -# Don't package files with generic names -rm %{buildroot}%{_bindir}/test - -# %%jupyter_move_config -cp %{buildroot}%{python3_sitelib}/vega-%{version}.dist-info/LICENSE . %fdupes %{buildroot}%{_jupyter_prefix} %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export PYTHONDONTWRITEBYTECODE=1 -%pytest %{buildroot}%{$python_sitelib}/vega/ +%pytest %files %{python_files} -%{python_sitelib}/vega/ -%{python_sitelib}/vega-%{version}.dist-info/ -%license %{python_sitelib}/vega-%{version}.dist-info/LICENSE - -%files -n jupyter-vega %license LICENSE -# %%{_jupyter_nbextension_dir}/jupyter-vega/ -# %%config %%{_jupyter_nb_notebook_confdir}/vega.json +%exclude %{_bindir}/test +%{python_sitelib}/vega/ +%{python_sitelib}/vega-%{version}*-info %changelog
participants (1)
-
Source-Sync