added python3 subpackage [release 3.6.5-2mamba;Sun May 17 2015]
This commit is contained in:
parent
98b8d5c0ce
commit
86745e69d7
@ -1,6 +1,6 @@
|
|||||||
Name: python-simplejson
|
Name: python-simplejson
|
||||||
Version: 3.6.5
|
Version: 3.6.5
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -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 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).
|
The decoder can handle incoming JSON strings of any specified encoding (UTF-8 by default).
|
||||||
|
|
||||||
|
%if "%{?with_pyver}"
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n simplejson-%{version}
|
%setup -q -n simplejson-%{version}
|
||||||
|
|
||||||
@ -34,11 +38,11 @@ for p in $(find . -name "*.py"); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} -c 'import setuptools; execfile("setup.py")' install \
|
%{__python} setup.py install \
|
||||||
-O1 \
|
-O1 \
|
||||||
--skip-build \
|
--skip-build \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
@ -52,7 +56,7 @@ nosetests -q
|
|||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files %{?pyappend}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{python_sitearch}/simplejson-%{version}-py%{python_version}.egg-info
|
%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/PKG-INFO
|
||||||
@ -60,12 +64,23 @@ nosetests -q
|
|||||||
#%{python_sitearch}/simplejson-%{version}-py%{python_version}.egg-info/zip-safe
|
#%{python_sitearch}/simplejson-%{version}-py%{python_version}.egg-info/zip-safe
|
||||||
%dir %{python_sitearch}/simplejson
|
%dir %{python_sitearch}/simplejson
|
||||||
%{python_sitearch}/simplejson/*.py*
|
%{python_sitearch}/simplejson/*.py*
|
||||||
|
%if "%{?pyappend}" == ""
|
||||||
%{python_sitearch}/simplejson/_speedups.so
|
%{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
|
%dir %{python_sitearch}/simplejson/tests
|
||||||
%{python_sitearch}/simplejson/tests/*.py*
|
%{python_sitearch}/simplejson/tests/*.py*
|
||||||
%doc LICENSE.txt
|
%doc LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Sun Nov 16 2014 Automatic Build System <autodist@mambasoft.it> 3.6.5-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user