Hello community,
here is the log from the commit of package python-enable for openSUSE:Factory checked in at 2019-03-01 16:46:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-enable (Old)
and /work/SRC/openSUSE:Factory/.python-enable.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-enable"
Fri Mar 1 16:46:27 2019 rev:3 rq:670291 version:4.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-enable/python-enable.changes 2018-11-26 10:23:03.489538641 +0100
+++ /work/SRC/openSUSE:Factory/.python-enable.new.28833/python-enable.changes 2019-03-01 16:46:30.285820026 +0100
@@ -1,0 +2,7 @@
+Thu Jan 31 09:26:20 UTC 2019 - Tomáš Chvátal
+
+- Switch to github tarball, as upstream does not ship cython sources
+ otherwise
+- Make sure we will build with python 3.7
+
+-------------------------------------------------------------------
Old:
----
LICENSE.txt
enable-4.7.2.tar.gz
image_LICENSE.txt
image_LICENSE_CP.txt
image_LICENSE_Eclipse.txt
image_LICENSE_Nuvola.txt
image_LICENSE_OOo.txt
New:
----
4.7.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-enable.spec ++++++
--- /var/tmp/diff_new_pack.srj8Br/_old 2019-03-01 16:46:31.185819686 +0100
+++ /var/tmp/diff_new_pack.srj8Br/_new 2019-03-01 16:46:31.185819686 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-enable
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,16 +24,10 @@
Version: 4.7.2
Release: 0
Summary: Low-level drawing and interaction
-License: BSD-3-Clause and EPL-1.0 and GPL-1.0 and LGPL-2.1 and LGPL-3.0 and SUSE-Public-Domain
+License: BSD-3-Clause AND EPL-1.0 AND GPL-1.0-only AND LGPL-2.1-only AND LGPL-3.0-only AND SUSE-Public-Domain
Group: Development/Languages/Python
Url: https://github.com/enthought/enable/
-Source: https://files.pythonhosted.org/packages/source/e/enable/enable-%{version}.tar.gz
-Source10: https://raw.githubusercontent.com/enthought/enable/%{version}/LICENSE.txt
-Source11: https://raw.githubusercontent.com/enthought/enable/%{version}/image_LICENSE.txt
-Source12: https://raw.githubusercontent.com/enthought/enable/%{version}/image_LICENSE_CP.txt
-Source13: https://raw.githubusercontent.com/enthought/enable/%{version}/image_LICENSE_Eclipse.txt
-Source14: https://raw.githubusercontent.com/enthought/enable/%{version}/image_LICENSE_Nuvola.txt
-Source15: https://raw.githubusercontent.com/enthought/enable/%{version}/image_LICENSE_OOo.txt
+Source: https://github.com/enthought/enable/archive/%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel}
@@ -41,19 +35,19 @@
BuildRequires: Mesa-devel
BuildRequires: bitstream-vera-fonts
BuildRequires: c++_compiler
-BuildRequires: font(adobehelvetica)
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: swig
BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-fonts
BuildRequires: xorg-x11-server
+BuildRequires: font(adobehelvetica)
BuildRequires: pkgconfig(glu)
%if %{with test}
BuildRequires: %{python_module FontTools}
BuildRequires: %{python_module Pillow}
-BuildRequires: %{python_module Pygments}
BuildRequires: %{python_module PyPDF2}
+BuildRequires: %{python_module Pygments}
BuildRequires: %{python_module apptools >= 4.3.0}
BuildRequires: %{python_module cairo}
BuildRequires: %{python_module hypothesis}
@@ -66,8 +60,8 @@
BuildRequires: %{python_module reportlab >= 3.1}
BuildRequires: %{python_module six}
BuildRequires: %{python_module tk}
-BuildRequires: %{python_module traits}
BuildRequires: %{python_module traitsui}
+BuildRequires: %{python_module traits}
BuildRequires: python-wxWidgets
%endif
Requires: python-kiva = %{version}
@@ -92,11 +86,10 @@
%package kiva
Summary: DisplayPDF vector drawing engine for Python
Group: Development/Libraries/Python
-Requires: font(adobehelvetica)
Requires: bitstream-vera-fonts
Requires: python-Cython
-Requires: python-apptools >= 4.3.0
Requires: python-FontTools
+Requires: python-apptools >= 4.3.0
Requires: python-numpy
Requires: python-pyface
Requires: python-reportlab
@@ -105,6 +98,7 @@
Requires: python-traits
Requires: python-traitsui
Requires: xorg-x11-fonts
+Requires: font(adobehelvetica)
Recommends: python-Pillow
Recommends: python-cairo
Recommends: python-kiwisolver
@@ -115,10 +109,10 @@
Recommends: python-reportlab >= 3.1
Recommends: python-tk
Provides: python-kiva = %{version}
-obsoletes: python-kiva < %{version}
+Obsoletes: python-kiva < %{version}
%ifpython2
Provides: %{oldpython}-kiva = %{version}
-obsoletes: %{oldpython}-kiva < %{version}
+Obsoletes: %{oldpython}-kiva < %{version}
%endif
%description kiva
@@ -137,12 +131,6 @@
%prep
%setup -q -n enable-%{version}
-cp %{SOURCE10} .
-cp %{SOURCE11} .
-cp %{SOURCE12} .
-cp %{SOURCE13} .
-cp %{SOURCE14} .
-cp %{SOURCE15} .
sed -i -e '/^#!\//, 1d' enable/savage/compliance/*.py
sed -i -e '/^#!\//, 1d' kiva/setup.py
sed -i -e '/^#!\//, 1d' kiva/*/setup.py
@@ -151,7 +139,11 @@
chmod a-x kiva/tests/agg/clean.py
%build
-export CFLAGS="%{optflags}"
+# regenerate cython sources
+cython-%{python3_version} --cplus kiva/*.pyx
+cython-%{python3_version} --cplus kiva/quartz/*.pyx
+
+export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build
%install
++++++ enable-4.7.2.tar.gz -> 4.7.2.tar.gz ++++++
++++ 8173 lines of diff (skipped)