Sync from SUSE:SLFO:Main python-comm revision e3c5ce624c9db74a7af81afb9478ad8c

This commit is contained in:
Adrian Schröter 2024-05-03 20:21:47 +02:00
commit e0f77bbe8a
4 changed files with 99 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
comm-0.1.3-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

11
python-comm.changes Normal file
View File

@ -0,0 +1,11 @@
-------------------------------------------------------------------
Tue Apr 4 14:56:38 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 0.1.3
* feat: provide a default implementation #13 (@maartenbreddels)
-------------------------------------------------------------------
Sun Dec 25 17:48:15 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Initial specfile for v0.1.2
- Required by updated ipykernel

62
python-comm.spec Normal file
View File

@ -0,0 +1,62 @@
#
# spec file for package python-comm
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-comm
Version: 0.1.3
Release: 0
Summary: Jupyter Python Comm implementation
License: BSD-3-Clause
URL: https://github.com/ipython/comm
Source: https://github.com/ipython/comm/archive/refs/tags/v%{version}.tar.gz#/comm-%{version}-gh.tar.gz
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module hatchling >= 1.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module traitlets >= 5.3}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-traitlets >= 5.3
BuildArch: noarch
%python_subpackages
%description
Comm provides a way to register a Kernel Comm implementation,
as per the Jupyter kernel protocol. It also provides a base
Comm implementation and a default CommManager that can be used.
%prep
%setup -q -n comm-%{version}
sed -i -e 's/--color=yes//' pyproject.toml
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/comm
%{python_sitelib}/comm-%{version}*-info
%changelog