From e0f77bbe8a5511d0865a5fbe2c7394f8ac177530f4207cf3b593012647831327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 20:21:47 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-comm revision e3c5ce624c9db74a7af81afb9478ad8c --- .gitattributes | 23 ++++++++++++++++ comm-0.1.3-gh.tar.gz | 3 +++ python-comm.changes | 11 ++++++++ python-comm.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 99 insertions(+) create mode 100644 .gitattributes create mode 100644 comm-0.1.3-gh.tar.gz create mode 100644 python-comm.changes create mode 100644 python-comm.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/comm-0.1.3-gh.tar.gz b/comm-0.1.3-gh.tar.gz new file mode 100644 index 0000000..e9d2967 --- /dev/null +++ b/comm-0.1.3-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bdea650a6194bf1628b17c2668bf74bf5295c87a7528a8aa4fe4472904b26f2 +size 7345 diff --git a/python-comm.changes b/python-comm.changes new file mode 100644 index 0000000..8f39672 --- /dev/null +++ b/python-comm.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Tue Apr 4 14:56:38 UTC 2023 - Ben Greiner + +- Update to 0.1.3 + * feat: provide a default implementation #13 (@maartenbreddels) + +------------------------------------------------------------------- +Sun Dec 25 17:48:15 UTC 2022 - Ben Greiner + +- Initial specfile for v0.1.2 +- Required by updated ipykernel diff --git a/python-comm.spec b/python-comm.spec new file mode 100644 index 0000000..e781f89 --- /dev/null +++ b/python-comm.spec @@ -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