Hello community,
here is the log from the commit of package python3-jsonschema for
openSUSE:Factory checked in at 2015-09-30 05:49:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-jsonschema (Old)
and /work/SRC/openSUSE:Factory/.python3-jsonschema.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-jsonschema"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-jsonschema/python3-jsonschema.changes
2014-05-02 14:02:37.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python3-jsonschema.new/python3-jsonschema.changes
2015-09-30 05:49:06.000000000 +0200
@@ -1,0 +2,41 @@
+Thu Aug 13 12:21:32 UTC 2015 - [email protected]
+
+- Implement update-alternatives
+
+-------------------------------------------------------------------
+Mon Jun 15 02:16:17 UTC 2015 - [email protected]
+
+- update to version 2.5.1:
+ (no changelog available)
+
+-------------------------------------------------------------------
+Fri Jun 5 15:46:36 UTC 2015 - [email protected]
+
+- specfile:
+ * add python3-vcversioner
+
+- update to version 2.5.0:
+ * Improved performance on CPython by adding caching around ref
+ resolution (#203)
+
+-------------------------------------------------------------------
+Wed Jan 7 17:03:12 UTC 2015 - [email protected]
+
+- drop test requirements and %check section, which is broken
+- make a symlink out of /usr/bin/jsonschema
+
+-------------------------------------------------------------------
+Mon Jan 5 20:30:08 UTC 2015 - [email protected]
+
+- specfile:
+ * update copyright year
+ * added setuptools as a requirement
+ * add /usr/bin/jsonschema (should this be done using update-alternatives?)
+
+- update to version 2.4.0:
+ * Added a CLI (#134)
+ * Added absolute path and absolute schema path to errors (#120)
+ * Added relevance
+ * Meta-schemas are now loaded via pkgutil
+
+-------------------------------------------------------------------
Old:
----
jsonschema-2.3.0.tar.gz
New:
----
jsonschema-2.5.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-jsonschema.spec ++++++
--- /var/tmp/diff_new_pack.dNoL1a/_old 2015-09-30 05:49:07.000000000 +0200
+++ /var/tmp/diff_new_pack.dNoL1a/_new 2015-09-30 05:49:07.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python3-jsonschema
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python3-jsonschema
-Version: 2.3.0
+Version: 2.5.1
Release: 0
Summary: An implementation of JSON-Schema validation for Python
License: MIT
@@ -26,16 +26,15 @@
Source:
http://pypi.python.org/packages/source/j/jsonschema/jsonschema-%{version}.tar.gz
BuildRequires: python3
BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-vcversioner
# Test build requirements
BuildRequires: python3-mock
-BuildRequires: python3-unittest2
Requires: python3
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python3_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
BuildArch: noarch
-%endif
%description
jsonschema is an implementation of JSON Schema (currently in Draft 3)
@@ -50,14 +49,32 @@
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-%if 0%{?suse_version} > 1110
-%check
-#python3 tests.py
-%endif
+# Prepare for update-alternatives usage
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+mv %{buildroot}%{_bindir}/jsonschema
%{buildroot}%{_bindir}/jsonschema-%{py3_ver}
+ln -s -f %{_sysconfdir}/alternatives/jsonschema
%{buildroot}%{_bindir}/jsonschema
+# create a dummy target for /etc/alternatives/jsonschema
+touch %{buildroot}%{_sysconfdir}/alternatives/jsonschema
+
+# Currently fails on Python 3.x
+# %check
+# python3 -m unittest jsonschema.tests.test_jsonschema_test_suite
+
+%post
+%_sbindir/update-alternatives \
+ --install %{_bindir}/jsonschema jsonschema %{_bindir}/jsonschema-%{py3_ver}
30
+
+%preun
+if [ $1 -eq 0 ] ; then
+ %_sbindir/update-alternatives --remove jsonschema
%{_bindir}/jsonschema-%{py3_ver}
+fi
%files
%defattr(-,root,root,-)
%doc COPYING README.rst
+%{_bindir}/jsonschema
+%{_bindir}/jsonschema-%{py3_ver}
+%ghost %{_sysconfdir}/alternatives/jsonschema
%{python3_sitelib}/*
%changelog
++++++ jsonschema-2.3.0.tar.gz -> jsonschema-2.5.1.tar.gz ++++++
++++ 3512 lines of diff (skipped)