Skip to content

Commit

Permalink
simplejson: Autospec creation for update from version 3.10.0 to versi…
Browse files Browse the repository at this point in the history
…on 3.11.0

Version 3.11.0 released 2017-06-18

* docstring fix in JSONEncoder
  simplejson/simplejson#172
* Call PyObject_IsTrue() only once for the strict argument of scanner
  simplejson/simplejson#170
* Fix a crash with unencodable encoding in the encoder
  simplejson/simplejson#171
* Remove unused imports
  simplejson/simplejson#162
* Remove remnants of Python 2.4 support
  simplejson/simplejson#168
* Fix argument checking errors in _speedups.c
  simplejson/simplejson#169
* Remove the `__init__` methods in extension classes

(NEWS truncated at 15 lines)
  • Loading branch information
fenrus75 authored and clrbuilder committed Jun 26, 2017
1 parent 2094c8f commit 075d451
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 14 deletions.
22 changes: 22 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
Version 3.11.0 released 2017-06-18

* docstring fix in JSONEncoder
https://github.com/simplejson/simplejson/pull/172
* Call PyObject_IsTrue() only once for the strict argument of scanner
https://github.com/simplejson/simplejson/pull/170
* Fix a crash with unencodable encoding in the encoder
https://github.com/simplejson/simplejson/pull/171
* Remove unused imports
https://github.com/simplejson/simplejson/pull/162
* Remove remnants of Python 2.4 support
https://github.com/simplejson/simplejson/pull/168
* Fix argument checking errors in _speedups.c
https://github.com/simplejson/simplejson/pull/169
* Remove the `__init__` methods in extension classes
https://github.com/simplejson/simplejson/pull/166
* Fix typo in the doc for loads
https://github.com/simplejson/simplejson/issues/161
* Add Python 3.6 to testing matrix and PyPI metadata
https://github.com/simplejson/simplejson/pull/153
https://github.com/simplejson/simplejson/pull/152

Version 3.10.0 released 2016-10-28

* Add RawJSON class to allow a faster path for already encoded JSON.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := simplejson
URL := https://github.com/simplejson/simplejson/archive/v3.10.0.tar.gz
URL := https://github.com/simplejson/simplejson/archive/v3.11.0.tar.gz


include ../common/Makefile.common
8 changes: 7 additions & 1 deletion options.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,20 @@ funroll-loops = false
insecure_build = false
# do not remove static libraries
keepstatic = false
# do not require autostart suepackage
# do not require autostart subpackage
no_autostart = false
# disable stripping binaries
nostrip = false
# optimize build for size over speed
optimize_size = false
# set profile for pgo
pgo = false
# set flags for security-sensitive builds
security_sensitive = false
# do not run test suite
skip_tests = false
# add .so files to the lib package instead of dev
so_to_lib = false
# configure build for avx2
use_avx2 = false
# add clang flags
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
32
33
23 changes: 15 additions & 8 deletions simplejson.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : simplejson
Version : 3.10.0
Release : 32
URL : https://github.com/simplejson/simplejson/archive/v3.10.0.tar.gz
Source0 : https://github.com/simplejson/simplejson/archive/v3.10.0.tar.gz
Version : 3.11.0
Release : 33
URL : https://github.com/simplejson/simplejson/archive/v3.11.0.tar.gz
Source0 : https://github.com/simplejson/simplejson/archive/v3.11.0.tar.gz
Summary : No detailed summary available
Group : Development/Tools
License : AFL-2.1
Expand Down Expand Up @@ -34,11 +34,14 @@ python components for the simplejson package.


%prep
%setup -q -n simplejson-3.10.0
%setup -q -n simplejson-3.11.0

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1484575422
export SOURCE_DATE_EPOCH=1497796729
python2 setup.py build -b py2
python3 setup.py build -b py3

Expand All @@ -48,14 +51,18 @@ export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
PYTHONPATH=%{buildroot}/usr/lib/python2.7/site-packages python setup.py test
%install
export SOURCE_DATE_EPOCH=1484575422
export SOURCE_DATE_EPOCH=1497796729
rm -rf %{buildroot}
python2 -tt setup.py build -b py2 install --root=%{buildroot} --force
python3 -tt setup.py build -b py3 install --root=%{buildroot} --force
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
echo ----[ mark ]----

%files
%defattr(-,root,root,-)

%files python
%defattr(-,root,root,-)
/usr/lib/python*/*
/usr/lib/python2*/*
/usr/lib/python3*/*
4 changes: 2 additions & 2 deletions testresults
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Total : 128
Total : 131
Pass : 125
Fail : 0
Skip : 3
Skip : 6
XFail : 0
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
293ee80ecadf758c373584599cad7ae5a33a1aad/v3.10.0.tar.gz
5eb94bfadffaa172cd3798851ee484ee95a3db11/v3.11.0.tar.gz

0 comments on commit 075d451

Please sign in to comment.