From 3fc9210125a94da0c71bf711da5cbe67486ef528 Mon Sep 17 00:00:00 2001 From: bnavigator <> Date: Mar 22 2023 21:45:39 +0000 Subject: Update python-y-py to version 0.5.5 / rev 1 via SR 1073764 https://build.opensuse.org/request/show/1073764 by user bnavigator + dimstar_suse required by jupyterlab 3.6 --- diff --git a/packages/p/python-y-py/.files b/packages/p/python-y-py/.files new file mode 100644 index 0000000..2f0cd98 Binary files /dev/null and b/packages/p/python-y-py/.files differ diff --git a/packages/p/python-y-py/.meta b/packages/p/python-y-py/.meta new file mode 100644 index 0000000..1c7333b --- /dev/null +++ b/packages/p/python-y-py/.meta @@ -0,0 +1,5 @@ + + + + + diff --git a/packages/p/python-y-py/.rev b/packages/p/python-y-py/.rev new file mode 100644 index 0000000..9d8178a --- /dev/null +++ b/packages/p/python-y-py/.rev @@ -0,0 +1,10 @@ + + + 8fa51515692beddd5d135cf1fa629d82 + 0.5.5 + + dimstar_suse + required by jupyterlab 3.6 + 1073764 + + diff --git a/packages/p/python-y-py/_service b/packages/p/python-y-py/_service new file mode 100644 index 0000000..ffef3d9 --- /dev/null +++ b/packages/p/python-y-py/_service @@ -0,0 +1,24 @@ + + + https://github.com/y-crdt/ypy.git + git + @PARENT_TAG@ + @PARENT_TAG@ + v(.*) + \1 + + + + *.tar + xz + + + + ypy + xz + true + + + ypy + + diff --git a/packages/p/python-y-py/cargo_config b/packages/p/python-y-py/cargo_config new file mode 100644 index 0000000..a476f35 --- /dev/null +++ b/packages/p/python-y-py/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/packages/p/python-y-py/python-y-py.changes b/packages/p/python-y-py/python-y-py.changes new file mode 100644 index 0000000..632d16b --- /dev/null +++ b/packages/p/python-y-py/python-y-py.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Sun Feb 5 18:01:35 UTC 2023 - Ben Greiner + +- Initial specfile for v0.5.5 +- Required by jupyter-ydoc, required by jupyterlab 3.6 diff --git a/packages/p/python-y-py/python-y-py.spec b/packages/p/python-y-py/python-y-py.spec new file mode 100644 index 0000000..dba5fdc --- /dev/null +++ b/packages/p/python-y-py/python-y-py.spec @@ -0,0 +1,70 @@ +# +# spec file for package python-y-py +# +# 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-y-py +Version: 0.5.5 +Release: 0 +Summary: Python bindings for the Y-CRDT built from yrs (Rust) +License: MIT +URL: https://github.com/y-crdt/ypy +# Update through `osc service runall` +Source: ypy-%{version}.tar.xz +Source1: vendor.tar.xz +Source2: cargo_config +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module maturin} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: cargo-packaging +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Provides: python-y_py = %{version}-%{release} +%python_subpackages + +%description +Python binding for Y-CRDT. It provides distributed data types that enable +real-time collaboration between devices. Ypy can sync data with any other +platform that has a Y-CRDT binding, allowing for seamless cross-domain +communication. The library is a thin wrapper around Yrs, taking advantage of +the safety and performance of Rust. + +Project is still experimental. Expect the API to change before a version 1.0 +stable release. + +%prep +%setup -q -n ypy-%{version} -a1 +mkdir .cargo +cp %{SOURCE2} .cargo/config + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +%pytest_arch + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitearch}/y_py +%{python_sitearch}/y_py-%{version}.dist-info + +%changelog diff --git a/packages/p/python-y-py/vendor.tar.xz b/packages/p/python-y-py/vendor.tar.xz new file mode 120000 index 0000000..aad8c76 --- /dev/null +++ b/packages/p/python-y-py/vendor.tar.xz @@ -0,0 +1 @@ +/ipfs/bafybeicjpnmzrodr7tqck6ulvkphi2qtvda5c6o2h7gt3o4kabvr4xbcxu \ No newline at end of file diff --git a/packages/p/python-y-py/ypy-0.5.5.tar.xz b/packages/p/python-y-py/ypy-0.5.5.tar.xz new file mode 120000 index 0000000..59771f9 --- /dev/null +++ b/packages/p/python-y-py/ypy-0.5.5.tar.xz @@ -0,0 +1 @@ +/ipfs/bafkreice4s3inzmgr4pojj5rw3glnvi5hxvphbvy6ytfemrqanjsiwvfw4 \ No newline at end of file