Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jmespath for openSUSE:Factory
checked in at 2021-06-13 23:05:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jmespath (Old)
and /work/SRC/openSUSE:Factory/.python-jmespath.new.32437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jmespath"
Sun Jun 13 23:05:30 2021 rev:18 rq:898355 version:0.10.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jmespath/python-jmespath.changes
2020-06-05 19:59:33.183801467 +0200
+++
/work/SRC/openSUSE:Factory/.python-jmespath.new.32437/python-jmespath.changes
2021-06-13 23:05:37.523612400 +0200
@@ -1,0 +2,8 @@
+Mon May 31 08:00:06 UTC 2021 - [email protected]
+
+- use github tarball to use upstream tests
+- %check: use %pyunittest rpm macro to test the package
+- deleted sources
+ - test_hypothesis.py (not needed)
+
+-------------------------------------------------------------------
Old:
----
test_hypothesis.py
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jmespath.spec ++++++
--- /var/tmp/diff_new_pack.NITp6K/_old 2021-06-13 23:05:37.915613108 +0200
+++ /var/tmp/diff_new_pack.NITp6K/_new 2021-06-13 23:05:37.919613115 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jmespath
#
-# 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
@@ -24,8 +24,7 @@
License: MIT
Group: Development/Languages/Python
URL: https://github.com/jmespath/jmespath.py
-Source:
https://files.pythonhosted.org/packages/source/j/jmespath/jmespath-%{version}.tar.gz
-Source1:
https://raw.githubusercontent.com/jmespath/jmespath.py/develop/extra/test_hypothesis.py
+Source:
https://github.com/jmespath/jmespath.py/archive/refs/tags/%{version}.tar.gz#/jmespath-%{version}.tar.gz
# Testing
BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module nose}
@@ -37,7 +36,7 @@
Requires: python-ply >= 3.4
Requires: python-simplejson
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
@@ -73,8 +72,7 @@
The expression: foo.*.name will return ["one", "two"].
%prep
-%setup -q -n jmespath-%{version}
-cp %{SOURCE1} .
+%setup -q -n jmespath.py-%{version}
%build
%python_build
@@ -86,9 +84,11 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%{python_expand $python setup.py test
-$python test_hypothesis.py
-}
+%if 0%{?suse_version} > 1500
+%pyunittest discover -v
+%else
+%python_exec setup.py test
+%endif
%post
%python_install_alternative jp
++++++ jmespath-0.10.0.tar.gz ++++++
++++ 12594 lines of diff (skipped)