diff --git a/python-simplejson.changes b/python-simplejson.changes index 44bf9c2..b704212 100644 --- a/python-simplejson.changes +++ b/python-simplejson.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Fri Jan 11 15:52:36 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + +------------------------------------------------------------------- +Fri Jan 11 15:50:05 UTC 2013 - p.drouand@gmail.com + +- Update to 3.0.5: + * NOTE: this release only changes the tests, it is + not essential to upgrade + * Tests now run with deprecation warnings printed + * Fixed Python 3 syntax error in simplejson.tool + https://github.com/simplejson/simplejson/issues/49 + * Fixed Python 3.3 deprecation warnings in test suite + https://github.com/simplejson/simplejson/issues/48 +- Update to 3.0.4 version: + * MSVC compatibility for Python 3.3 + https://github.com/simplejson/simplejson/pull/47 +- Update to 3.0.3 version: + * Fixes for bugs introduced in 3.0.2 + * Fixes for Python 2.5 compatibility + * MSVC compatibility for Python 2.x + https://github.com/simplejson/simplejson/pull/46 +- Update to 3.0.0 version: + * Python 3.3 is now supported, thanks to Vinay Sajip + https://github.com/simplejson/simplejson/issues/8 + * `sort_keys`/`item_sort_key` now sort on the stringified verison of the + key, rather than the original object. This ensures that the sort + only compares string types and makes the behavior consistent between + Python 2.x and Python 3.x. + * Like other number types, Decimal instances used as keys are now + coerced to strings when use_decimal is True. + ------------------------------------------------------------------- Sat Sep 29 19:35:09 UTC 2012 - os-dev@jacraig.com diff --git a/python-simplejson.spec b/python-simplejson.spec index b1de28c..01c3925 100644 --- a/python-simplejson.spec +++ b/python-simplejson.spec @@ -1,7 +1,7 @@ # # spec file for package python-simplejson # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# 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 @@ -18,7 +18,7 @@ %define modname simplejson Name: python-%{modname} -Version: 2.6.2 +Version: 3.0.5 Release: 0 Url: http://github.com/simplejson/simplejson Summary: Simple, fast, extensible JSON encoder/decoder for Python diff --git a/python3-simplejson.changes b/python3-simplejson.changes new file mode 100644 index 0000000..e9bf651 --- /dev/null +++ b/python3-simplejson.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Fri Jan 11 15:52:52 UTC 2013 - p.drouand@gmail.com + +- Initial python3 support + diff --git a/python3-simplejson.spec b/python3-simplejson.spec new file mode 100644 index 0000000..c4e92d9 --- /dev/null +++ b/python3-simplejson.spec @@ -0,0 +1,61 @@ +# +# 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/ +# + + +%define modname simplejson +Name: python3-%{modname} +Version: 3.0.5 +Release: 0 +Url: http://github.com/simplejson/simplejson +Summary: Simple, fast, extensible JSON encoder/decoder for Python +License: MIT +Group: Development/Languages/Python +Source: http://pypi.python.org/packages/source/s/%{modname}/%{modname}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python3 +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 %{modname}-%{version} + +%build +python3 setup.py build + +%install +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%check +%if 0%{?suse_version} >= 1230 +python3 setup.py test +%endif + +%files +%defattr(-,root,root) +%doc CHANGES.txt LICENSE.txt README.rst +%{python3_sitearch}/%{modname}/ +%{python3_sitearch}/%{modname}-%{version}-py%{py3_ver}.egg-info + +%changelog diff --git a/simplejson-2.6.2.tar.gz b/simplejson-2.6.2.tar.gz deleted file mode 100644 index 50a10f3..0000000 --- a/simplejson-2.6.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b28d0896a76d4db1ab759204c039ab1ca4bf28bd30d6bf9c79172454e750dd3 -size 53228 diff --git a/simplejson-3.0.5.tar.gz b/simplejson-3.0.5.tar.gz new file mode 100644 index 0000000..a685d63 --- /dev/null +++ b/simplejson-3.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e1ce6f22d480ee41eeede51adcda71f8505a259ca87789a70784d7402aae2cf +size 59042