Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jsonslicer for
openSUSE:Factory checked in at 2021-06-01 10:35:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jsonslicer (Old)
and /work/SRC/openSUSE:Factory/.python-jsonslicer.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsonslicer"
Tue Jun 1 10:35:36 2021 rev:4 rq:895335 version:0.1.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jsonslicer/python-jsonslicer.changes
2020-03-10 09:51:17.792021713 +0100
+++
/work/SRC/openSUSE:Factory/.python-jsonslicer.new.1898/python-jsonslicer.changes
2021-06-01 10:36:18.644695471 +0200
@@ -1,0 +2,7 @@
+Tue May 25 09:05:08 UTC 2021 - [email protected]
+
+- version update to 0.1.6
+ * Provide more clear messages on missing dependencies
+- %check: use %pyunittest_arch rpm macro
+
+-------------------------------------------------------------------
Old:
----
jsonslicer-0.1.5.tar.gz
New:
----
jsonslicer-0.1.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jsonslicer.spec ++++++
--- /var/tmp/diff_new_pack.S7Z9Z1/_old 2021-06-01 10:36:19.080696214 +0200
+++ /var/tmp/diff_new_pack.S7Z9Z1/_new 2021-06-01 10:36:19.084696220 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jsonslicer
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-jsonslicer
-Version: 0.1.5
+Version: 0.1.6
Release: 0
Summary: Streaming JSON parser with iterator interface
License: MIT
@@ -55,7 +55,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
-%python_exec setup.py test
+%pyunittest_arch discover -v
%files %{python_files}
%license LICENSE
++++++ jsonslicer-0.1.5.tar.gz -> jsonslicer-0.1.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jsonslicer-0.1.5/CHANGELOG.md
new/jsonslicer-0.1.6/CHANGELOG.md
--- old/jsonslicer-0.1.5/CHANGELOG.md 2019-10-09 21:14:05.000000000 +0200
+++ new/jsonslicer-0.1.6/CHANGELOG.md 2020-06-08 16:01:46.000000000 +0200
@@ -1,5 +1,9 @@
# Changelog
+## 0.1.6
+
+* Provide more clear messages on missing dependencies
+
## 0.1.5
* Python 3.8+ compatibility fix
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jsonslicer-0.1.5/PKG-INFO
new/jsonslicer-0.1.6/PKG-INFO
--- old/jsonslicer-0.1.5/PKG-INFO 2019-10-09 21:21:32.000000000 +0200
+++ new/jsonslicer-0.1.6/PKG-INFO 2020-06-08 18:41:42.298776000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jsonslicer
-Version: 0.1.5
+Version: 0.1.6
Summary: Stream JSON parser with iterator interface
Home-page: https://github.com/AMDmi3/jsonslicer
Author: Dmitry Marakasov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jsonslicer-0.1.5/jsonslicer.egg-info/PKG-INFO
new/jsonslicer-0.1.6/jsonslicer.egg-info/PKG-INFO
--- old/jsonslicer-0.1.5/jsonslicer.egg-info/PKG-INFO 2019-10-09
21:21:31.000000000 +0200
+++ new/jsonslicer-0.1.6/jsonslicer.egg-info/PKG-INFO 2020-06-08
18:41:41.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jsonslicer
-Version: 0.1.5
+Version: 0.1.6
Summary: Stream JSON parser with iterator interface
Home-page: https://github.com/AMDmi3/jsonslicer
Author: Dmitry Marakasov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jsonslicer-0.1.5/setup.py
new/jsonslicer-0.1.6/setup.py
--- old/jsonslicer-0.1.5/setup.py 2019-10-09 21:14:12.000000000 +0200
+++ new/jsonslicer-0.1.6/setup.py 2020-06-08 16:03:37.000000000 +0200
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
import subprocess
+import sys
from os import path
from setuptools import Extension, setup
@@ -8,7 +9,7 @@
here = path.abspath(path.dirname(__file__))
-version = '0.1.5'
+version = '0.1.6'
def pkgconfig(package):
@@ -23,6 +24,21 @@
return result
+def pkgconfig_yajl():
+ try:
+ return pkgconfig('yajl')
+ except subprocess.CalledProcessError:
+ print('MISSING DEPENDENCY: yajl library not found, please install it
to continue', file=sys.stderr)
+ print('\nSee http://lloyd.github.io/yajl/ for installation
instructions, or install', file=sys.stderr)
+ print('it from your package manager', file=sys.stderr)
+ sys.exit(1)
+ except FileNotFoundError:
+ print('MISSING DEPENDENCY: pkg-config not found, please install it to
continue', file=sys.stderr)
+ print('\nSee https://www.freedesktop.org/wiki/Software/pkg-config/ for
installation', file=sys.stderr)
+ print('instructions, or install it from your package manager',
file=sys.stderr)
+ sys.exit(1)
+
+
def get_long_description():
try:
return open(path.join(here, 'README.md')).read()
@@ -84,7 +100,7 @@
'src/pyobjlist.cc',
'src/seek_handlers.cc',
],
- **pkgconfig('yajl')
+ **pkgconfig_yajl()
)
],
test_suite='tests'