commit 069ae44ecfaadbd04f5e19e6822c592273152c60bb38bde03bd398145d3cff56 Author: Matej Cepl Date: Mon Sep 19 11:18:49 2022 +0000 Accepting request 1004332 from home:VortexAcherontic:bottles:Next I'd like to submit this package on my own even though I did not packaged it myself. But I'll require this module to be in this repo and Factory in order to submit python-fvs from home:VortexAcherontic:bottles:Next to this repo and Factory too. To finally update bottles in games:tools to it's most recent release as libadwaita 1.2 is now stable. Which was a long time blocker for bottles to be updated in games:tools. If I should better ask the original maintainer to submit this package please let me know. All the best, V. OBS-URL: https://build.opensuse.org/request/show/1004332 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-orjson?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..f1ac79e --- /dev/null +++ b/_service @@ -0,0 +1,9 @@ + + + orjson-3.7.11.tar.gz + xz + true + + + + 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/orjson-3.7.11.tar.gz b/orjson-3.7.11.tar.gz new file mode 100644 index 0000000..53ac241 --- /dev/null +++ b/orjson-3.7.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4e6517861a397d9a1c72e7f8e8c72d6baf96d732a64637fb090ea49ead6042c +size 946563 diff --git a/python-orjson.changes b/python-orjson.changes new file mode 100644 index 0000000..4c09800 --- /dev/null +++ b/python-orjson.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Jul 13 07:52:11 UTC 2022 - Adrian Schröter + +- initial package of version 3.7.7 + diff --git a/python-orjson.spec b/python-orjson.spec new file mode 100644 index 0000000..d88216e --- /dev/null +++ b/python-orjson.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-orjson +# +# Copyright (c) 2021 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-orjson +Version: 3.7.11 +Release: 0 +Summary: Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy +License: MIT +URL: https://github.com/ijl/orjson +Source: https://files.pythonhosted.org/packages/source/o/orjson/orjson-%{version}.tar.gz +Source1: vendor.tar.xz +Source2: cargo_config +BuildRequires: python-rpm-macros +BuildRequires: %{python_module maturin >= 0.12.19} +BuildRequires: %{python_module wheel} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: cargo-packaging +%python_subpackages + +%description +orjson is a fast JSON library for Python. +It benchmarks as the fastest Python library for JSON. + + +%prep +%autosetup -a1 -n orjson-%{version} +mkdir .cargo +cp %{SOURCE2} .cargo/config + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc README.md +%{python_sitearch}/* + +%changelog diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..4361c78 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed4d12f6b39949d5d2129c0c640e02d357e16080a5e630b8a811a794f8c44a45 +size 2035588