forked from pool/python-simplejson
- Update to 2.1.6:
* Prevent segfaults with deeply nested JSON documents https://github.com/simplejson/simplejson/issues/11 * Fix compatibility with Python 2.5 https://github.com/simplejson/simplejson/issues/5 - Aditional changes from 2.1.5 released 2011-04-17: * Built sdist tarball with setuptools_git installed. Argh. - Aditional changes from 2.1.4 released 2011-04-17: * Does not try to build the extension when using PyPy * Trailing whitespace after commas no longer emitted when indent is used * Migrated to github http://github.com/simplejson/simplejson - Regenerate spec file with py2pack. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simplejson?expand=0&rev=19
This commit is contained in:
committed by
Git OBS Bridge
parent
2ba885bb82
commit
b2d93ab269
@@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 9 03:20:42 UTC 2011 - alexandre@exatati.com.br
|
||||||
|
|
||||||
|
- Update to 2.1.6:
|
||||||
|
* Prevent segfaults with deeply nested JSON documents
|
||||||
|
https://github.com/simplejson/simplejson/issues/11
|
||||||
|
* Fix compatibility with Python 2.5
|
||||||
|
https://github.com/simplejson/simplejson/issues/5
|
||||||
|
- Aditional changes from 2.1.5 released 2011-04-17:
|
||||||
|
* Built sdist tarball with setuptools_git installed. Argh.
|
||||||
|
- Aditional changes from 2.1.4 released 2011-04-17:
|
||||||
|
* Does not try to build the extension when using PyPy
|
||||||
|
* Trailing whitespace after commas no longer emitted when indent is used
|
||||||
|
* Migrated to github http://github.com/simplejson/simplejson
|
||||||
|
- Regenerate spec file with py2pack.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 3 08:33:53 UTC 2011 - saschpe@suse.de
|
Thu Mar 3 08:33:53 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
@@ -11,49 +11,38 @@
|
|||||||
# case the license is the MIT License). An "Open Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
#
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
|
%define mod_name simplejson
|
||||||
|
|
||||||
|
Name: python-%{mod_name}
|
||||||
|
Version: 2.1.6
|
||||||
|
Release: 0
|
||||||
|
Url: http://github.com/simplejson/simplejson
|
||||||
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
||||||
|
License: MIT License
|
||||||
Name: python-simplejson
|
Group: Development/Languages/Python
|
||||||
Version: 2.1.3
|
Source: %{mod_name}-%{version}.tar.bz2
|
||||||
Release: 1
|
|
||||||
License: BSD
|
|
||||||
Url: http://undefined.org/python/#simplejson
|
|
||||||
Group: Development/Libraries/Python
|
|
||||||
Source: simplejson-%{version}.tar.bz2
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: python
|
|
||||||
BuildRequires: python-devel
|
|
||||||
BuildRequires: python-setuptools
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{py_requires}
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-distribute
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%py_requires
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
simplejson is a simple, fast, complete, correct and extensible JSON
|
simplejson is a simple, fast, complete, correct and extensible
|
||||||
<http://json.org> encoder and decoder for Python 2.3+. It is pure Python code
|
JSON 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
|
with no dependencies, but includes an optional C extension for a
|
||||||
boost.
|
serious speed boost.
|
||||||
|
|
||||||
%package doc
|
|
||||||
License: BSD
|
|
||||||
Summary: Documentation for simplejson
|
|
||||||
Group: Development/Libraries/Python
|
|
||||||
Requires: %name = %version
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
simplejson is a simple, fast, complete, correct and extensible JSON
|
|
||||||
<http://json.org> encoder and decoder for Python 2.3+. It is pure Python code
|
|
||||||
with no dependencies, but includes an optional C extension for a serious speed
|
|
||||||
boost.
|
|
||||||
|
|
||||||
This package contains documentation for simplejson.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n simplejson-%{version}
|
%setup -q -n %{mod_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
@@ -61,18 +50,12 @@ python setup.py build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
%fdupes %{buildroot}
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root, 0755)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE.txt CHANGES.txt
|
%{python_sitearch}/*
|
||||||
%{py_sitedir}*
|
|
||||||
|
|
||||||
%files doc
|
|
||||||
%defattr(0644, root, root, 0755)
|
|
||||||
%doc docs index.rst
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f8b827106b23c7cdc1f7345dcb60646ef009a9dadf7d0a29ca2579a687635efc
|
|
||||||
size 116014
|
|
3
simplejson-2.1.6.tar.bz2
Normal file
3
simplejson-2.1.6.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3f46be3ba8d1c9da82db96ccb9e41f5eaef02bca21f6b58862ad051bde099b46
|
||||||
|
size 45020
|
Reference in New Issue
Block a user