forked from pool/python-pycrdt
Accepting request 1140714 from home:bnavigator:branches:devel:languages:python:jupyter
new package for jupyter-collaboration v2 OBS-URL: https://build.opensuse.org/request/show/1140714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=1
This commit is contained in:
commit
2b7a0ed2f7
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
21
_service
Normal file
21
_service
Normal file
@ -0,0 +1,21 @@
|
||||
<services>
|
||||
<service mode="disabled" name="obs_scm">
|
||||
<param name="url">https://github.com/jupyter-server/pycrdt.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">@PARENT_TAG@</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
</service>
|
||||
<service mode="disabled" name="tar" />
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version"/>
|
||||
<service name="cargo_vendor" mode="disabled">
|
||||
<param name="srcdir">pycrdt</param>
|
||||
<param name="compression">xz</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
</services>
|
3
pycrdt-0.8.6.tar.xz
Normal file
3
pycrdt-0.8.6.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e1c27c0c1870cc18c7e2155ecbb421529052ad3cb690e49a7c8c2b105207eb51
|
||||
size 20780
|
4
pycrdt.obsinfo
Normal file
4
pycrdt.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: pycrdt
|
||||
version: 0.8.6
|
||||
mtime: 1705937814
|
||||
commit: 39924bac3a08633bb149bc4f8435adcbd90cb1b6
|
20
python-pycrdt.changes
Normal file
20
python-pycrdt.changes
Normal file
@ -0,0 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 18:40:34 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.8.6
|
||||
* Resolve "Text data type does not delete as expected" by @jbdyn
|
||||
in #68
|
||||
- Releases in Between:
|
||||
* Bump yrs, pyo3, maturin
|
||||
- Release 0.8.3
|
||||
* Support nested ReadTransaction by @davidbrochart in #59
|
||||
* Fix Map.pop default value handling by @davidbrochart in #60
|
||||
* Add contains method by @davidbrochart in #61
|
||||
* Support bytes by @davidbrochart in #62
|
||||
* Revert PR #58 by @davidbrochart in #63
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 28 17:00:19 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Initial specfile for v0.8.2
|
||||
- Required by jupyter-collaboration 2 (still incubating phase)
|
68
python-pycrdt.spec
Normal file
68
python-pycrdt.spec
Normal file
@ -0,0 +1,68 @@
|
||||
#
|
||||
# spec file for package python-pycrdt
|
||||
#
|
||||
# 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-pycrdt
|
||||
Version: 0.8.6
|
||||
Release: 0
|
||||
Summary: Python bindings for Yrs
|
||||
License: MIT
|
||||
URL: https://github.com/jupyter-server/pycrdt
|
||||
Source0: pycrdt-%{version}.tar.xz
|
||||
Source1: vendor.tar.xz
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module maturin >= 1.4.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest >= 7.4.2 with %python-pytest < 8}
|
||||
#BuildRequires: %%{python_module pydantic >= 2.5.2 with %%python-pydantic < 3}
|
||||
BuildRequires: %{python_module y-py >= 0.7.0~a1}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Pycrdt is a Python CRDT library that provides bindings for Yrs, the Rust port of the Yjs framework.
|
||||
|
||||
Conflict-free Replicated Data Types (CRDTs) allow creating shared documents that can automatically
|
||||
merge changes made concurrently on different "copies" of the data. When the data lives on different
|
||||
machines, they make it possible to build distributed systems that work with local data, leaving the
|
||||
synchronization and conflict resolution with remote data to the CRDT algorithm, which ensures that
|
||||
all data replicas eventually converge to the same state.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pycrdt-%{version} -a1
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
# pydantic is too old
|
||||
%pytest_arch --ignore tests/test_model.py
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitearch}/pycrdt
|
||||
%{python_sitearch}/pycrdt-%{version}.dist-info
|
||||
|
||||
%changelog
|
3
vendor.tar.xz
Normal file
3
vendor.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:81b88678a851a13ba49083509472f7804cad4e389d140ee93eb6d6c95c171a45
|
||||
size 5107804
|
Loading…
x
Reference in New Issue
Block a user