Compare commits
8 Commits
3.6.4-1mam
...
3.12.0-1ma
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f348edec2 | |||
| 49acbd2ad9 | |||
| ab3aa9f7e4 | |||
| 6d46db2e29 | |||
| 55adc504db | |||
| a0dd62cf3d | |||
| 86745e69d7 | |||
| 98b8d5c0ce |
@@ -1,5 +1,5 @@
|
||||
Name: python-simplejson
|
||||
Version: 3.6.4
|
||||
Version: 3.12.0
|
||||
Release: 1mamba
|
||||
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
||||
Group: System/Libraries/Python
|
||||
@@ -7,7 +7,7 @@ Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||
URL: http://undefined.org/python/#simplejson
|
||||
Source: http://pypi.python.org/packages/source/s/simplejson/simplejson-%{version}.tar.gz
|
||||
Source: http://pypi.debian.net/simplejson/simplejson-%{version}.tar.gz
|
||||
License: MIT
|
||||
Requires: python >= %python_version
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
@@ -24,6 +24,10 @@ simplejson was formerly known as simple_json, but changed its name to comply wit
|
||||
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).
|
||||
|
||||
%if "%{?with_pyver}"
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n simplejson-%{version}
|
||||
|
||||
@@ -34,11 +38,11 @@ for p in $(find . -name "*.py"); do
|
||||
done
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} -c 'import setuptools; execfile("setup.py")' install \
|
||||
%{__python} setup.py install \
|
||||
-O1 \
|
||||
--skip-build \
|
||||
--root="%{buildroot}" \
|
||||
@@ -52,7 +56,7 @@ nosetests -q
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%files %{?pyappend}
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/simplejson-%{version}-py%{python_version}.egg-info
|
||||
%{python_sitearch}/simplejson-%{version}-py%{python_version}.egg-info/PKG-INFO
|
||||
@@ -60,12 +64,44 @@ nosetests -q
|
||||
#%{python_sitearch}/simplejson-%{version}-py%{python_version}.egg-info/zip-safe
|
||||
%dir %{python_sitearch}/simplejson
|
||||
%{python_sitearch}/simplejson/*.py*
|
||||
%if "%{?pyappend}" == ""
|
||||
%{python_sitearch}/simplejson/_speedups.so
|
||||
%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
|
||||
%dir %{python_sitearch}/simplejson/tests
|
||||
%{python_sitearch}/simplejson/tests/*.py*
|
||||
%doc LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Mon Nov 06 2017 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 3.11.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Oct 29 2016 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Oct 22 2016 Automatic Build System <autodist@mambasoft.it> 3.9.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Mar 13 2016 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue May 26 2015 Automatic Build System <autodist@mambasoft.it> 3.7.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun May 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.5-2mamba
|
||||
- added python3 subpackage
|
||||
|
||||
* Sun Nov 16 2014 Automatic Build System <autodist@mambasoft.it> 3.6.5-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Oct 13 2014 Automatic Build System <autodist@mambasoft.it> 3.6.4-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user