forked from pool/python-simplejson
Accepting request 180006 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory. OBS-URL: https://build.opensuse.org/request/show/180006 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simplejson?expand=0&rev=25
This commit is contained in:
@@ -1,65 +0,0 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed May 8 09:51:08 UTC 2013 - benny.gaechter@gmail.com
|
|
||||||
|
|
||||||
- Update to version 3.3.0
|
|
||||||
* Unpaired surrogates once again pass through the decoder, to match older
|
|
||||||
behavior and the RFC-4627 spec.
|
|
||||||
https://github.com/simplejson/simplejson/issues/62
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Feb 21 15:39:09 UTC 2013 - p.drouand@gmail.com
|
|
||||||
|
|
||||||
- Disable building on python3 < 3.3 since it is not supported
|
|
||||||
- Update to version 3.1.3
|
|
||||||
* Updated documentation to discourage subclassing whenever possible.
|
|
||||||
default, object_hook, and object_pairs_hook provide almost all of
|
|
||||||
the functionality of subclassing.
|
|
||||||
- Update to version 3.1.2
|
|
||||||
* Updated documentation to reflect separators behavior when indent is
|
|
||||||
not None
|
|
||||||
* Test suite should be compatible with debug builds of Python 2.x and 3.x
|
|
||||||
- Update to version 3.1.1
|
|
||||||
* setup.py now has another workaround for Windows machines without
|
|
||||||
MSVC installed
|
|
||||||
- Update to version 3.1.0
|
|
||||||
* Updated JSON conformance test suite
|
|
||||||
* simplejson.tool tests and bugfix for Python 3.x
|
|
||||||
* Improve error messages for certain kinds of truncated input
|
|
||||||
* Moved JSONDecodeError to json.scanner (still available for import
|
|
||||||
from json.decoder)
|
|
||||||
* Changed scanner to use JSONDecodeError directly rather than
|
|
||||||
StopIteration to improve error messages
|
|
||||||
- Update to version 3.0.9
|
|
||||||
* Fix an off-by-one error in the colno property of JSONDecodeError
|
|
||||||
(when lineno == 1)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Feb 21 15:39:09 UTC 2013 - p.drouand@gmail.com
|
|
||||||
|
|
||||||
- Update to version 3.0.8:
|
|
||||||
* Fix a Python 2.x compiler warning for narrow unicode builds
|
|
||||||
https://github.com/simplejson/simplejson/issues/56
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jan 30 12:00:26 UTC 2013 - saschpe@suse.de
|
|
||||||
|
|
||||||
- Use 2to3 to fix build, disable testsuite for now
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jan 17 14:19:25 UTC 2013 - toddrme2178@gmail.com
|
|
||||||
|
|
||||||
- Update to 3.0.7
|
|
||||||
* NOTE: this release only changes the license.
|
|
||||||
* simplejson is now dual-licensed software, MIT or AFL v2.1. It is
|
|
||||||
also made explicit that this code is also licensed to the PSF under
|
|
||||||
a Contributor Agreement.
|
|
||||||
- Update to 3.0.7
|
|
||||||
* Fix for major Python 2.x ensure_ascii=False encoding regression
|
|
||||||
introduced in simplejson 3.0.0. If you use this setting, please
|
|
||||||
upgrade immediately.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jan 11 15:52:52 UTC 2013 - p.drouand@gmail.com
|
|
||||||
|
|
||||||
- Initial python3 support
|
|
||||||
|
|
@@ -1,61 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package python3-simplejson
|
|
||||||
#
|
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# 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/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
Name: python3-simplejson
|
|
||||||
Version: 3.3.0
|
|
||||||
Release: 0
|
|
||||||
Url: http://github.com/simplejson/simplejson
|
|
||||||
Summary: Simple, fast, extensible JSON encoder/decoder for Python
|
|
||||||
License: MIT or AFL-2.1
|
|
||||||
Group: Development/Languages/Python
|
|
||||||
Source: http://pypi.python.org/packages/source/s/simplejson/simplejson-%{version}.tar.gz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: python3 >= 3.3
|
|
||||||
BuildRequires: python3-2to3
|
|
||||||
BuildRequires: python3-devel
|
|
||||||
BuildRequires: python3-distribute
|
|
||||||
Requires: python3-coverage
|
|
||||||
Requires: python3-nose
|
|
||||||
|
|
||||||
%description
|
|
||||||
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}
|
|
||||||
|
|
||||||
%build
|
|
||||||
2to3 -w -n ./
|
|
||||||
CFLAGS="%{optflags} -fno-strict-aliasing" python3 setup.py build
|
|
||||||
|
|
||||||
%install
|
|
||||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
||||||
|
|
||||||
#NOTE(saschpe): Recursion error, check back:
|
|
||||||
#%%check
|
|
||||||
#python3 setup.py test
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc CHANGES.txt LICENSE.txt README.rst
|
|
||||||
%{python3_sitearch}/simplejson/
|
|
||||||
%{python3_sitearch}/simplejson-%{version}-py%{py3_ver}.egg-info
|
|
||||||
|
|
||||||
%changelog
|
|
Reference in New Issue
Block a user