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
This commit is contained in:
Matej Cepl 2022-09-19 11:18:49 +00:00 committed by Git OBS Bridge
commit 069ae44ecf
8 changed files with 108 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

9
_service Normal file
View File

@ -0,0 +1,9 @@
<services>
<service name="cargo_vendor" mode="disabled">
<param name="srctar">orjson-3.7.11.tar.gz</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled"></service>
</services>

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

3
orjson-3.7.11.tar.gz Normal file
View File

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

5
python-orjson.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Wed Jul 13 07:52:11 UTC 2022 - Adrian Schröter <adrian@suse.de>
- initial package of version 3.7.7

59
python-orjson.spec Normal file
View File

@ -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

3
vendor.tar.xz Normal file
View File

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