commit 93e21e3d1ef9d01346097fd94802a9b3ef058c929349f52c55869bf4b074080b Author: Dirk Mueller Date: Mon Mar 27 19:39:50 2023 +0000 Accepting request 1074192 from home:ojkastl_buildservice:Branch_devel_languages_python new package python-rpds-py, required by jsonschema 1.18.x or later OBS-URL: https://build.opensuse.org/request/show/1074192 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpds-py?expand=0&rev=1 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..0fa983f --- /dev/null +++ b/_service @@ -0,0 +1,23 @@ + + + https://github.com/Julian/rpds.py + git + .git + v0.7.1 + @PARENT_TAG@ + enable + v(.*) + + + + *.tar + gz + + + rpds.py + true + + + rpds.py + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..b528258 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/Julian/rpds.py + bb7264c86e006b74b30c10436913ae4616e5cb76 \ No newline at end of file diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..6fb4ff4 --- /dev/null +++ b/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/python-rpds-py.changes b/python-rpds-py.changes new file mode 100644 index 0000000..eb41ccd --- /dev/null +++ b/python-rpds-py.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Mar 20 14:29:30 UTC 2023 - Johannes Kastl + +- new package python-rpds-py, needed as dependency for jsonschema diff --git a/python-rpds-py.spec b/python-rpds-py.spec new file mode 100644 index 0000000..b48dae7 --- /dev/null +++ b/python-rpds-py.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-rpds-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/ +# + + +%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' + +Name: python-rpds-py +Version: 0.7.1 +Release: 0 +Summary: Python bindings to Rust's persistent data structures (rpds) +License: MIT +URL: https://github.com/Julian/rpds.py +Source: rpds.py-%{version}.tar.gz +Source1: vendor.tar.zst +Source2: cargo_config +BuildRequires: zstd +BuildRequires: cargo +BuildRequires: cargo-packaging +BuildRequires: rust +BuildRequires: python-rpm-macros +BuildRequires: %{python_module maturin} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +# Tests +BuildRequires: %{python_module pytest} +BuildRequires: fdupes +%python_subpackages + +%description +Python bindings to Rust's persistent data structures (rpds) + +%prep +%autosetup -a1 -n rpds.py-%{version} +mkdir .cargo +cp %{SOURCE2} .cargo/config + +%build +export RUSTFLAGS=%{rustflags} +%pyproject_wheel + +%install +export RUSTFLAGS=%{rustflags} +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%files %{python_files} +%{python_sitearch}/rpds +%{python_sitearch}/rpds_py-%{version}.dist-info/ + +%changelog diff --git a/rpds.py-0.7.1.obscpio b/rpds.py-0.7.1.obscpio new file mode 100644 index 0000000..af9901c --- /dev/null +++ b/rpds.py-0.7.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f1945b235ef07463e80dea994be57f9e82974932d74352e56eff299cc01285e +size 58379 diff --git a/rpds.py.obsinfo b/rpds.py.obsinfo new file mode 100644 index 0000000..4534e02 --- /dev/null +++ b/rpds.py.obsinfo @@ -0,0 +1,4 @@ +name: rpds.py +version: 0.7.1 +mtime: 1679340311 +commit: bb7264c86e006b74b30c10436913ae4616e5cb76 diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..07b2bdc --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d9a36333dfccdd1c45a9b232cfa9e0f34d4e34699d919ec100c7340bdea52ec +size 7542665