SHA256
1
0
forked from pool/python-ijson

7 Commits

Author SHA256 Message Date
d22fc7d0dc Accepting request 1280858 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1280858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ijson?expand=0&rev=7
2025-05-30 12:34:07 +00:00
b370acda16 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ijson?expand=0&rev=12
2025-05-28 12:13:01 +00:00
1d8d57f35e Accepting request 1181244 from devel:languages:python
- update to 3.3.0:
  * Removed support for Python 2.7 and 3.4, 3.5+ is still
    supported.
  * Distribute the existing `benchmark.py` script
    as ``ijson.benchmark``.

  * Adapted ``yajl2_c`` async generators to work against PyPy
    when building ijson to force/skip building the
- update to 3.1.4

OBS-URL: https://build.opensuse.org/request/show/1181244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ijson?expand=0&rev=6
2024-06-17 17:30:14 +00:00
55125b11ef Accepting request 1100746 from devel:languages:python
- update to 3.2.3:
  * Fixed several issues in the ``yajl2_c`` backend
    and its async generators that were only made apparent
    when running it with PyPy and/or a CPython debug build (#101).
  * Adapted ``yajl2_c`` async generators to work against PyPy 
    shortcomings
  * Fixed compilation and ``async`` support
    of the ``yajl2_c`` backend in pyhthon 3.12 (#98).
  * Check ``IJSON_BUILD_YAJL2C`` environment variable
    when building ijson to force/skip building the 
    ``yajl2_c`` backend (#102).
  * Added support for Python 3.12.
  * Fixed a memory leak in the ``yajl2_c`` backend
    triggered only when the underlying ``yajl`` functions
    reported a failure (#97).
  * New ``ijson.dump`` command-line utility
  * Fixed bug in ``yajl2_c`` backend introduced in 3.1.2
    where random crashes could occur due to an unsafe reference decrement
    when constructing the parse/items/kvitems generators (#66).
  * Mark Python 3.10 and 3.11 as explicitly supported.
- drop tests_asyncio.py source - this comes in the tarball now

OBS-URL: https://build.opensuse.org/request/show/1100746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ijson?expand=0&rev=5
2023-07-26 11:24:30 +00:00
cd949e82c5 Accepting request 1092288 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1092288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ijson?expand=0&rev=4
2023-06-11 17:56:13 +00:00
9ad0dbc93f Accepting request 934416 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/934416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ijson?expand=0&rev=3
2021-11-28 20:30:22 +00:00
1b19e6338f Accepting request 793337 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/793337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ijson?expand=0&rev=2
2020-04-13 10:53:07 +00:00
2 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 28 12:12:47 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Mon Jun 17 06:32:50 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ijson
#
# Copyright (c) 2024 SUSE LLC
# 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
@@ -26,8 +26,11 @@ Group: Development/Languages/Python
URL: https://github.com/ICRAR/ijson
Source: https://files.pythonhosted.org/packages/source/i/ijson/ijson-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: python3-asyncio
BuildRequires: pkgconfig(yajl)
@@ -41,10 +44,10 @@ Iterative JSON parser with a standard Python iterator interface.
%build
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -53,6 +56,7 @@ export CFLAGS="%{optflags}"
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitearch}/*
%{python_sitearch}/ijson
%{python_sitearch}/ijson-%{version}*-info
%changelog