Hello community, here is the log from the commit of package python-pivy for openSUSE:Factory checked in at 2017-10-18 10:50:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pivy (Old) and /work/SRC/openSUSE:Factory/.python-pivy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pivy" Wed Oct 18 10:50:46 2017 rev:2 rq:533184 version:0.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pivy/python-pivy.changes 2017-05-09 18:01:44.688806339 +0200 +++ /work/SRC/openSUSE:Factory/.python-pivy.new/python-pivy.changes 2017-10-18 10:51:02.315306664 +0200 @@ -1,0 +2,11 @@ +Thu Sep 14 19:37:16 UTC 2017 - kkae...@suse.com + +- update to 0.6.2 + * builds for python3 (linux: 3.4, 3.5, 3.6; win: 3.5, 3.6) + or python2 (2.7) + * uses pyside instead of pyqt for soqt4 bindings + * has many fixes (especially for FreeCAD) + +- switch to github.com/FreeCAD/pivy, coin3d.org is dead + +------------------------------------------------------------------- Old: ---- Pivy-0.5.0hg.609.tar.bz2 New: ---- Pivy-0.6.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pivy.spec ++++++ --- /var/tmp/diff_new_pack.KeQWo7/_old 2017-10-18 10:51:03.035272887 +0200 +++ /var/tmp/diff_new_pack.KeQWo7/_new 2017-10-18 10:51:03.043272511 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pivy # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,22 +17,27 @@ Name: python-pivy -Version: 0.5.0hg.609 +Version: 0.6.2 Release: 0 Summary: Coin Binding for Python License: ISC and GPL-2.0+ Group: Development/Libraries/Python -Url: http://pivy.coin3d.org/ -Source0: Pivy-%{version}.tar.bz2 -BuildRequires: gcc +Url: https://github.com/FreeCAD/pivy +Source0: Pivy-%{version}.tar.gz BuildRequires: Coin-devel BuildRequires: SoQt-devel +BuildRequires: gcc %if 0%{?suse_version} > 1210 BuildRequires: libXmu-devel %else BuildRequires: xorg-x11-devel %endif +%if 0%{?suse_version} >= 1330 +# python3 +BuildRequires: python3-devel +%else BuildRequires: python-devel +%endif BuildRequires: swig %{py_requires} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -52,20 +57,25 @@ executing Python code and callbacks %prep -%setup -q -n default-8eab90908f2a - -# Fix rpmlint warning "non-executable-script" -sed -i "/#\!\/usr\/bin\/env python/d" pivy/sogui.py +%setup -q -n pivy-%{version} %build export CFLAGS="%{optflags}" +%if 0%{?suse_version} >= 1330 +python3 setup.py build +%else python setup.py build +%endif %install +%if 0%{?suse_version} >= 1330 +python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES +%else python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES +%endif %files -f INSTALLED_FILES %defattr(-,root,root,-) -%doc AUTHORS LICENSE NEWS README THANKS +%doc AUTHORS HACKING LICENSE NEWS README.md THANKS %changelog