14
0

- 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:
Alexandre Rogoski
2011-05-09 03:32:26 +00:00
committed by Git OBS Bridge
parent 2ba885bb82
commit b2d93ab269
4 changed files with 44 additions and 45 deletions

View File

@@ -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

View File

@@ -11,49 +11,38 @@
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# 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
Name: python-simplejson
Version: 2.1.3
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
License: MIT License
Group: Development/Languages/Python
Source: %{mod_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
BuildRequires: python-devel
BuildRequires: python-distribute
%if 0%{?suse_version}
%py_requires
%endif
%description
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.
%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.
simplejson is a simple, fast, complete, correct and extensible
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 boost.
%prep
%setup -q -n simplejson-%{version}
%setup -q -n %{mod_name}-%{version}
%build
export CFLAGS="%{optflags}"
@@ -61,18 +50,12 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes %{buildroot}
%clean
%{__rm} -rf %{buildroot}
rm -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc LICENSE.txt CHANGES.txt
%{py_sitedir}*
%files doc
%defattr(0644, root, root, 0755)
%doc docs index.rst
%defattr(-,root,root)
%{python_sitearch}/*
%changelog

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f46be3ba8d1c9da82db96ccb9e41f5eaef02bca21f6b58862ad051bde099b46
size 45020