2024-01-05 16:39:40 +01:00
|
|
|
Name: python-simplejson
|
2024-01-05 16:39:43 +01:00
|
|
|
Version: 3.19.2
|
|
|
|
Release: 1mamba
|
2024-01-05 16:39:40 +01:00
|
|
|
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 16:39:41 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 16:39:40 +01:00
|
|
|
URL: http://undefined.org/python/#simplejson
|
2024-01-05 16:39:41 +01:00
|
|
|
Source: http://pypi.debian.net/simplejson/simplejson-%{version}.tar.gz
|
2024-01-05 16:39:40 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 16:39:42 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-05 16:39:40 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 16:39:42 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-05 16:39:41 +01:00
|
|
|
BuildRequires: libpython3-devel >= 3.7.4
|
2024-01-05 16:39:40 +01:00
|
|
|
BuildRequires: python-nose
|
|
|
|
BuildRequires: python-setuptools-devel
|
2024-01-05 16:39:41 +01:00
|
|
|
Requires: python >= %python_version
|
2024-01-05 16:39:40 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
simplejson is a simple, fast, complete, correct and extensible JSON <http://json.org> encoder and decoder for Python 2.4+. It is pure Python code with no dependencies, but includes an optional C extension for a serious speed boost.
|
|
|
|
simplejson was formerly known as simple_json, but changed its name to comply with PEP 8 module naming guidelines.
|
|
|
|
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).
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:39:40 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n simplejson-%{version}
|
|
|
|
|
|
|
|
for p in $(find . -name "*.py"); do
|
|
|
|
sed -i '1s|#!/usr/bin/python|#!%{__python}|' $p
|
|
|
|
sed -i '1s|#!/usr/bin/env python|#!/usr/bin/env %{__python}|' $p
|
|
|
|
sed -i '1s|#!python|#!/usr/bin/env %{__python}|' $p
|
|
|
|
done
|
|
|
|
|
|
|
|
%build
|
2024-01-05 16:39:41 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
2024-01-05 16:39:40 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 16:39:41 +01:00
|
|
|
%{__python} setup.py install \
|
2024-01-05 16:39:40 +01:00
|
|
|
-O1 \
|
|
|
|
--skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--single-version-externally-managed
|
|
|
|
|
|
|
|
%check
|
|
|
|
nosetests -q
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-05 16:39:40 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{python_sitearch}/simplejson-%{version}-py%{python_version}.egg-info
|
|
|
|
%{python_sitearch}/simplejson-%{version}-py%{python_version}.egg-info/PKG-INFO
|
|
|
|
%{python_sitearch}/simplejson-%{version}-py%{python_version}.egg-info/*.txt
|
|
|
|
#%{python_sitearch}/simplejson-%{version}-py%{python_version}.egg-info/zip-safe
|
|
|
|
%dir %{python_sitearch}/simplejson
|
|
|
|
%{python_sitearch}/simplejson/*.py*
|
2024-01-05 16:39:41 +01:00
|
|
|
%if "%{?pyappend}" == ""
|
2024-01-05 16:39:40 +01:00
|
|
|
%{python_sitearch}/simplejson/_speedups.so
|
2024-01-05 16:39:41 +01:00
|
|
|
%else
|
|
|
|
%dir %{python_sitearch}/simplejson/__pycache__
|
|
|
|
%{python_sitearch}/simplejson/__pycache__/*
|
|
|
|
%{python_sitearch}/simplejson/_speedups.cpython-*.so
|
|
|
|
%dir %{python_sitearch}/simplejson/tests/__pycache__
|
|
|
|
%{python_sitearch}/simplejson/tests/__pycache__/*
|
|
|
|
%endif
|
2024-01-05 16:39:40 +01:00
|
|
|
%dir %{python_sitearch}/simplejson/tests
|
|
|
|
%{python_sitearch}/simplejson/tests/*.py*
|
|
|
|
%doc LICENSE.txt
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:39:43 +01:00
|
|
|
* Fri Oct 06 2023 Automatic Build System <autodist@mambasoft.it> 3.19.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:42 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 3.19.1-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-05 16:39:42 +01:00
|
|
|
* Fri Apr 07 2023 Automatic Build System <autodist@mambasoft.it> 3.19.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:42 +01:00
|
|
|
* Wed Mar 15 2023 Automatic Build System <autodist@mambasoft.it> 3.18.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:42 +01:00
|
|
|
* Tue Feb 07 2023 Automatic Build System <autodist@mambasoft.it> 3.18.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Wed Jan 04 2023 Automatic Build System <autodist@mambasoft.it> 3.18.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Tue Nov 15 2022 Automatic Build System <autodist@mambasoft.it> 3.18.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Wed Nov 17 2021 Automatic Build System <autodist@mambasoft.it> 3.17.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Tue Aug 24 2021 Automatic Build System <autodist@mambasoft.it> 3.17.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Sat Aug 21 2021 Automatic Build System <autodist@mambasoft.it> 3.17.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Sat Jul 10 2021 Automatic Build System <autodist@mambasoft.it> 3.17.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Sat Jul 18 2020 Automatic Build System <autodist@mambasoft.it> 3.17.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Tue Nov 19 2019 Automatic Build System <autodist@mambasoft.it> 3.17.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.16.0-3mamba
|
|
|
|
- rebuilt with python3 3.7.4
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Fri May 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.16.0-2mamba
|
|
|
|
- rebuilt with py36 support
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Fri Jun 29 2018 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Sun May 13 2018 Automatic Build System <autodist@mambasoft.it> 3.15.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Tue Apr 24 2018 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Sun Dec 31 2017 Automatic Build System <autodist@mambasoft.it> 3.13.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Mon Nov 06 2017 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 3.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Sat Oct 29 2016 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Sat Oct 22 2016 Automatic Build System <autodist@mambasoft.it> 3.9.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Sun Mar 13 2016 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Tue May 26 2015 Automatic Build System <autodist@mambasoft.it> 3.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Sun May 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.5-2mamba
|
|
|
|
- added python3 subpackage
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Sun Nov 16 2014 Automatic Build System <autodist@mambasoft.it> 3.6.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Mon Oct 13 2014 Automatic Build System <autodist@mambasoft.it> 3.6.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Wed Sep 10 2014 Automatic Build System <autodist@mambasoft.it> 3.6.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:39:41 +01:00
|
|
|
* Mon Aug 11 2014 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:39:40 +01:00
|
|
|
* Wed Jul 23 2014 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:39:40 +01:00
|
|
|
* Fri Jul 11 2014 Automatic Build System <autodist@mambasoft.it> 3.5.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:39:40 +01:00
|
|
|
* Mon May 26 2014 Automatic Build System <autodist@mambasoft.it> 3.5.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:39:40 +01:00
|
|
|
* Thu Apr 10 2014 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Mar 11 2014 Automatic Build System <autodist@mambasoft.it> 3.3.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 06 2014 Automatic Build System <autodist@mambasoft.it> 3.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 08 2013 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.0-1mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Thu May 02 2013 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Apr 14 2013 Automatic Build System <autodist@mambasoft.it> 3.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 25 2013 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 28 2013 Automatic Build System <autodist@mambasoft.it> 3.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jan 15 2013 Automatic Build System <autodist@mambasoft.it> 3.0.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jan 01 2013 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jun 25 2011 Automatic Build System <autodist@mambasoft.it> 2.1.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Nov 29 2010 gil <puntogil@libero.it> 2.1.1-2mamba
|
|
|
|
- rebuilt devel
|
|
|
|
|
|
|
|
* Sun Oct 03 2010 gil <puntogil@libero.it> 2.1.1-1mamba
|
|
|
|
- update to 2.1.1
|
|
|
|
|
|
|
|
* Sun Jan 31 2010 gil <puntogil@libero.it> 2.0.9-1mamba
|
|
|
|
- package created by autospec
|