forked from pool/python-jsonlines
- Correct requirements to reflect reality.
- Switch to pyproject and pytest macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonlines?expand=0&rev=10
This commit is contained in:
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
|
||||
3
4.0.0.tar.gz
Normal file
3
4.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51df713e1f9b54f520f2a13fa0a9a386b8551686f964008d497c160082e1e295
|
||||
size 13172
|
||||
41
python-jsonlines.changes
Normal file
41
python-jsonlines.changes
Normal file
@@ -0,0 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 30 02:47:56 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Correct requirements to reflect reality.
|
||||
- Switch to pyproject and pytest macros.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 8 09:47:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 4.0.0:
|
||||
* use ‘orjson’ or ‘ujson’ for reading if available
|
||||
* drop support for end-of-life Python versions; this package is now
|
||||
Python 3.8+ only.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 1 09:05:29 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 14:16:46 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to 3.0.0
|
||||
* add type annotations; adopt mypy in strict mode (#58, #62)
|
||||
* ignore UTF-8 BOM sequences in various scenarios (#69)
|
||||
* support dumps() callables returning bytes again (#64)
|
||||
* add basic support for rfc7464 text sequences (#61)
|
||||
* drop support for numbers.Number in type= arguments (#63)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 8 10:08:24 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.0.0:
|
||||
* drop support for python versions older than 3.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 29 11:40:44 UTC 2018 - mcalabkova@suse.com
|
||||
|
||||
- Added python-jsonlines needed by python-cloudflare, which is
|
||||
needed by python-certbot-dns-cloudflare
|
||||
63
python-jsonlines.spec
Normal file
63
python-jsonlines.spec
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# spec file for package python-jsonlines
|
||||
#
|
||||
# Copyright (c) 2025 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/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-jsonlines
|
||||
Version: 4.0.0
|
||||
Release: 0
|
||||
Summary: Library with helpers for the jsonlines file format
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/wbolster/jsonlines
|
||||
Source: https://github.com/wbolster/jsonlines/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module attrs >= 19.2.0}
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module ujson}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
Requires: python-attrs >= 19.2.0
|
||||
Recommends: python-ujson
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Python library to simplify working with jsonlines_ and ndjson_ data.
|
||||
|
||||
%prep
|
||||
%setup -q -n jsonlines-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE.rst
|
||||
%{python_sitelib}/jsonlines
|
||||
%{python_sitelib}/jsonlines-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user