|
|
@ -34,37 +34,9 @@ with Python 2.5. It gets updated more regularly than the json module in the
|
|
|
|
python stdlib.
|
|
|
|
python stdlib.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python2-simplejson
|
|
|
|
|
|
|
|
Summary: Simple, fast, extensible JSON encoder/decoder for Python2
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
|
|
|
BuildRequires: python2-nose
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python2-simplejson}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python2-simplejson
|
|
|
|
|
|
|
|
simplejson is a simple, fast, complete, correct and extensible JSON
|
|
|
|
|
|
|
|
<http://json.org> encoder and decoder for Python 2.5+. It is pure Python code
|
|
|
|
|
|
|
|
with no dependencies, but includes an optional C extension for a serious speed
|
|
|
|
|
|
|
|
boost.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The encoder may be subclassed to provide serialization in any kind of
|
|
|
|
|
|
|
|
situation, without any special support by the objects to be serialized
|
|
|
|
|
|
|
|
(somewhat like pickle).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The decoder can handle incoming JSON strings of any specified encoding (UTF-8
|
|
|
|
|
|
|
|
by default).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
simplejson is the externally maintained development version of the json library
|
|
|
|
|
|
|
|
included with Python 2.6 and Python 3.0, but maintains backwards compatibility
|
|
|
|
|
|
|
|
with Python 2.5. It gets updated more regularly than the json module in the
|
|
|
|
|
|
|
|
python stdlib.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python%{python3_pkgversion}-simplejson
|
|
|
|
%package -n python%{python3_pkgversion}-simplejson
|
|
|
|
Summary: Simple, fast, extensible JSON encoder/decoder for Python3
|
|
|
|
Summary: Simple, fast, extensible JSON encoder/decoder for Python3
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
%if %{with tests}
|
|
|
|
%if %{with tests}
|
|
|
@ -98,7 +70,6 @@ python stdlib.
|
|
|
|
%setup -q -n simplejson-%{version}
|
|
|
|
%setup -q -n simplejson-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%py2_build
|
|
|
|
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with docs}
|
|
|
|
%if %{with docs}
|
|
|
@ -109,23 +80,13 @@ rm docs/.nojekyll
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%py2_install
|
|
|
|
|
|
|
|
%py3_install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
%if %{with tests}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%{__python2} -m nose
|
|
|
|
|
|
|
|
%{__python3} -m nose
|
|
|
|
%{__python3} -m nose
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-simplejson
|
|
|
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
|
|
|
%if %{with docs}
|
|
|
|
|
|
|
|
%doc docs
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%{python2_sitearch}/simplejson/
|
|
|
|
|
|
|
|
%{python2_sitearch}/simplejson-%{version}-py?.?.egg-info/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python%{python3_pkgversion}-simplejson
|
|
|
|
%files -n python%{python3_pkgversion}-simplejson
|
|
|
|
%license LICENSE.txt
|
|
|
|
%license LICENSE.txt
|
|
|
|
%if %{with docs}
|
|
|
|
%if %{with docs}
|
|
|
@ -138,6 +99,7 @@ rm docs/.nojekyll
|
|
|
|
* Mon Nov 18 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 3.17.0-1
|
|
|
|
* Mon Nov 18 2019 Randy Barlow <bowlofeggs@fedoraproject.org> - 3.17.0-1
|
|
|
|
- Update to 3.17.0 (#1773534).
|
|
|
|
- Update to 3.17.0 (#1773534).
|
|
|
|
- https://github.com/simplejson/simplejson/blob/v3.17.0/CHANGES.txt
|
|
|
|
- https://github.com/simplejson/simplejson/blob/v3.17.0/CHANGES.txt
|
|
|
|
|
|
|
|
- Drop python2-simplejson.
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.16.0-5
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.16.0-5
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|