Name: python-pyjson5 Version: 2.0.0 Release: %autorelease Summary: JSON5 serializer and parser for Python 3 written in Cython. License: Apache-2.0 AND MIT AND BSL-1.0 URL: https://github.com/Kijewski/pyjson5 Source: %{pypi_source pyjson5} Patch0: flags.patch BuildRequires: python3-devel BuildRequires: gcc-c++ Provides: bundled(fast_double_parser) %global _description %{expand: The serializer returns ASCII data that can safely be used in an HTML template. Apostrophes, ampersands, greater-than, and less-then signs are encoded as unicode escaped sequences. } %description %_description %package -n python3-pyjson5 Summary: %{summary} %description -n python3-pyjson5 %_description %prep %autosetup -p1 -n pyjson5-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l pyjson5 %check %pyproject_check_import PYTHONPATH="${PYTHONPATH}:%{buildroot}%{python3_sitearch}" ./scripts/run-tests.py PYTHONPATH="${PYTHONPATH}:%{buildroot}%{python3_sitearch}" ./scripts/run-minefield-test.py %files -n python3-pyjson5 -f %{pyproject_files} %changelog %autochangelog