SHA256
1
0
forked from pool/python-comm

- Initial specfile

- Required by updated ipykernel

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-comm?expand=0&rev=1
This commit is contained in:
Benjamin Greiner 2022-12-25 17:53:57 +00:00 committed by Git OBS Bridge
commit 4df4e21634
5 changed files with 95 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
comm-0.1.2-gh.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f6ce2ae0a4aefaa6a7a071e68988c17b089b0af40633e1aafd276b5190649878
size 5382

5
python-comm.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Sun Dec 25 17:48:15 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Initial specfile
- Required by updated ipykernel

63
python-comm.spec Normal file
View File

@ -0,0 +1,63 @@
#
# spec file for package python-comm
#
# Copyright (c) 2022 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/
#
%define skip_python2 1
Name: python-comm
Version: 0.1.2
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/%{version}.tar.gz#/comm-0.1.2-gh.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module traitlets >= 5.3}
BuildRequires: python-rpm-macros
BuildRequires: fdupes
Requires: python-traitlets >= 5.3
Suggests: python-pytest
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