Hello community,
here is the log from the commit of package python-PeachPy for
openSUSE:Leap:15.2 checked in at 2020-04-25 19:06:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-PeachPy (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-PeachPy.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PeachPy"
Sat Apr 25 19:06:31 2020 rev:2 rq:797195 version:0.2.0~pre.1583266105.f189ad2
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-PeachPy/python-PeachPy.changes
2020-02-26 13:33:13.570353171 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-PeachPy.new.2738/python-PeachPy.changes
2020-04-25 19:06:35.635790416 +0200
@@ -1,0 +2,6 @@
+Thu Apr 23 10:26:45 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+- Fix the version to match reality as it is git repo snapshot
+
+-------------------------------------------------------------------
Old:
----
PeachPy-0.2.0.obscpio
New:
----
PeachPy-0.2.0~pre.1583266105.f189ad2.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PeachPy.spec ++++++
--- /var/tmp/diff_new_pack.bAJIxc/_old 2020-04-25 19:06:37.407794225 +0200
+++ /var/tmp/diff_new_pack.bAJIxc/_new 2020-04-25 19:06:37.411794234 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-PeachPy
#
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
Name: python-PeachPy
-Version: 0.2.0
+Version: 0.2.0~pre.1583266105.f189ad2
Release: 0
Summary: Portable Efficient Assembly Codegen in Higher-level Python
License: BSD-2-Clause
@@ -26,14 +27,20 @@
URL: https://github.com/Maratyszcza/PeachPy
Source0: PeachPy-%{version}.tar.xz
Patch1: automated-convertion-form-2to3.patch
-BuildRequires: %{python_module opcodes}
+BuildRequires: %{python_module opcodes >= 0.3.13}
BuildRequires: %{python_module rednose}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module six}
BuildRequires: fdupes
-BuildRequires: python-enum34
BuildRequires: python-rpm-macros
+Requires: python-six
ExclusiveArch: x86_64
-
+%ifpython2
+Requires: python-enum34
+%endif
+%if %{with python2}
+BuildRequires: python-enum34
+%endif
%python_subpackages
%description
@@ -67,9 +74,9 @@
%check
# we use the local build install for the nosetests
sed -i '/no-path-adjustment=1/d' setup.cfg
-%python_expand nosetests-%{$python_bin_suffix}
+%python_expand nosetests-%{$python_bin_suffix} -v
-%files %python_files
+%files %{python_files}
%doc README.rst
%license LICENSE.rst
%{python_sitelib}/*
++++++ PeachPy.obsinfo ++++++
--- /var/tmp/diff_new_pack.bAJIxc/_old 2020-04-25 19:06:37.439794294 +0200
+++ /var/tmp/diff_new_pack.bAJIxc/_new 2020-04-25 19:06:37.439794294 +0200
@@ -1,5 +1,5 @@
name: PeachPy
-version: 0.2.0
-mtime: 1567643222
-commit: 5fb95df0f380773b8c079e920bd46b24e3cf5e44
+version: 0.2.0~pre.1583266105.f189ad2
+mtime: 1583266105
+commit: f189ad26e898171c17c96df9898d581d026d9c6d
++++++ _service ++++++
--- /var/tmp/diff_new_pack.bAJIxc/_old 2020-04-25 19:06:37.455794328 +0200
+++ /var/tmp/diff_new_pack.bAJIxc/_new 2020-04-25 19:06:37.455794328 +0200
@@ -1,8 +1,7 @@
<services>
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/Maratyszcza/PeachPy.git</param>
- <param name="version">0.2.0</param>
- <param name="revision">5fb95df0f380773b8c079e920bd46b24e3cf5e44</param>
+ <param name="versionprefix">0.2.0~pre</param>
<param name="scm">git</param>
</service>
<service mode="buildtime" name="tar" />