forked from pool/python-jupyter-events
- Update to 0.6.3
* Clean up typing #64 (@blink1073) - Release 0.6.2 * Decrease pyyaml dependency floor to increase compatibility #63 (@kevin-bates) - Release 0.6.1 * Remove artificial cap on jsonschema dependency #61 (@kevin-bates) * Try dropping jsonschema dependency #59 (@bretttully) - Release 0.6.0 * Add typing file #60 (@blink1073) * Use base setup dependency type #47 (@blink1073) * (CI and lint cleanups in multiple PRs) - allow update-alternatives for backported 15.x packages --------------------------------------------------------- OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-events?expand=0&rev=4
This commit is contained in:
parent
308a2ea83c
commit
641fffc6f8
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e27ffdd6138699d47d42cb65ae6d79334ff7c0d923694381c991ce56a140f2cd
|
|
||||||
size 55838
|
|
3
jupyter_events-0.6.3.tar.gz
Normal file
3
jupyter_events-0.6.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9a6e9995f75d1b7146b436ea24d696ce3a35bfa8bfe45e0c33c334c79464d0b3
|
||||||
|
size 59393
|
@ -1,4 +1,22 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 15 21:04:58 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 0.6.3
|
||||||
|
* Clean up typing #64 (@blink1073)
|
||||||
|
- Release 0.6.2
|
||||||
|
* Decrease pyyaml dependency floor to increase compatibility #63
|
||||||
|
(@kevin-bates)
|
||||||
|
- Release 0.6.1
|
||||||
|
* Remove artificial cap on jsonschema dependency #61
|
||||||
|
(@kevin-bates)
|
||||||
|
* Try dropping jsonschema dependency #59 (@bretttully)
|
||||||
|
- Release 0.6.0
|
||||||
|
* Add typing file #60 (@blink1073)
|
||||||
|
* Use base setup dependency type #47 (@blink1073)
|
||||||
|
* (CI and lint cleanups in multiple PRs)
|
||||||
|
- allow update-alternatives for backported 15.x packages
|
||||||
|
|
||||||
|
---------------------------------------------------------
|
||||||
Sun Dec 25 22:08:53 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Sun Dec 25 22:08:53 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
- Initial specfile for v0.5
|
- Initial specfile for v0.5
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jupyter-events
|
# spec file for package python-jupyter-events
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,36 +16,43 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
# This is with alts/libalternatives only and has never been something else
|
%if 0%{suse_version} >= 1550
|
||||||
%bcond_without libalternatives
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
Name: python-jupyter-events
|
Name: python-jupyter-events
|
||||||
Version: 0.5.0
|
Version: 0.6.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Jupyter Event System library
|
Summary: Jupyter Event System library
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/jupyter/jupyter_events
|
URL: https://github.com/jupyter/jupyter_events
|
||||||
Source: https://files.pythonhosted.org/packages/source/j/jupyter_events/jupyter_events-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/j/jupyter_events/jupyter_events-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
BuildRequires: %{python_module hatchling}
|
BuildRequires: %{python_module hatchling >= 1.5}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: alts
|
BuildRequires: alts
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: alts
|
Requires: alts
|
||||||
Requires: python-PyYAML >= 6.0
|
Requires: python-PyYAML >= 5.3
|
||||||
Requires: python-jsonschema-format-nongpl >= 4.3.0
|
Requires: python-jsonschema-format-nongpl >= 3.2.0
|
||||||
Requires: python-python-json-logger >= 2.0.4
|
Requires: python-python-json-logger >= 2.0.4
|
||||||
|
Requires: python-rfc3339-validator
|
||||||
|
Requires: python-rfc3986-validator >= 0.1.1
|
||||||
Requires: python-traitlets >= 5.3
|
Requires: python-traitlets >= 5.3
|
||||||
Provides: python-jupyter_events = %{version}-%{release}
|
Provides: python-jupyter_events = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module PyYAML >= 6.0}
|
BuildRequires: %{python_module rfc3339-validator}
|
||||||
|
BuildRequires: %{python_module PyYAML >= 5.3}
|
||||||
BuildRequires: %{python_module click}
|
BuildRequires: %{python_module click}
|
||||||
BuildRequires: %{python_module jsonschema-format-nongpl >= 4.3.0}
|
BuildRequires: %{python_module jsonschema-format-nongpl >= 3.2.0}
|
||||||
BuildRequires: %{python_module pytest >= 6.1.0}
|
BuildRequires: %{python_module pytest >= 7}
|
||||||
BuildRequires: %{python_module pytest-asyncio >= 0.19.0}
|
BuildRequires: %{python_module pytest-asyncio >= 0.19.0}
|
||||||
BuildRequires: %{python_module pytest-console-scripts}
|
BuildRequires: %{python_module pytest-console-scripts}
|
||||||
BuildRequires: %{python_module python-json-logger >= 2.0.4}
|
BuildRequires: %{python_module python-json-logger >= 2.0.4}
|
||||||
|
BuildRequires: %{python_module rfc3986-validator >= 0.1.1}
|
||||||
BuildRequires: %{python_module rich}
|
BuildRequires: %{python_module rich}
|
||||||
BuildRequires: %{python_module traitlets >= 5.3}
|
BuildRequires: %{python_module traitlets >= 5.3}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@ -71,13 +78,15 @@ sed -i 's/--color=yes//' pyproject.toml
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# flavored not yet installed libalts are not supported by python-rpm-macros
|
%{python_expand # provide flavored command in case not yet installed libalts are not supported by python_flavored_alternatives
|
||||||
%{python_expand #
|
|
||||||
mkdir -p build/flavorbin
|
mkdir -p build/flavorbin
|
||||||
ln -s %{buildroot}%{_bindir}/jupyter-events-%{$python_bin_suffix} build/flavorbin/jupyter-events
|
which jupyter-events || ln -s %{buildroot}%{_bindir}/jupyter-events-%{$python_bin_suffix} build/flavorbin/jupyter-events
|
||||||
}
|
}
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative jupyter-events
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative jupyter-events
|
%python_install_alternative jupyter-events
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user