Hello community, here is the log from the commit of package python-Kivy for openSUSE:Factory checked in at 2016-01-12 16:12:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Kivy (Old) and /work/SRC/openSUSE:Factory/.python-Kivy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Kivy" Changes: -------- --- /work/SRC/openSUSE:Factory/python-Kivy/python-Kivy.changes 2014-11-13 09:17:29.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-Kivy.new/python-Kivy.changes 2016-01-12 16:12:11.000000000 +0100 @@ -1,0 +2,17 @@ +Mon Jan 4 07:54:42 UTC 2016 - bo...@steki.net + +- updated to latest release 1.9.1 + + a lot of changes VERY SMALL cherry picked list follows + - move to SDL2 + - implement Window.show_cursor for pygame and sdl2 + - Adds kivy namespaces. + - audio_sdl2: support sequenced formats + - Initial support for rendering of SVG + - hid input: default is inverted now, + also the invertion function was wrong + - add error logging for opengl + - core/audio: new pure-python/pyobjus AVFoundation audio player +- Added rpmlintrc file to filter out fsf address and python abi noise +- removed patch python-Kivy-Cython-0.21.patch as it is in package + +------------------------------------------------------------------- Old: ---- Kivy-1.8.0.tar.gz python-Kivy-Cython-0.21.patch New: ---- kivy-1.9.1.tar.gz python-Kivy-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Kivy.spec ++++++ --- /var/tmp/diff_new_pack.rN6sWF/_old 2016-01-12 16:12:12.000000000 +0100 +++ /var/tmp/diff_new_pack.rN6sWF/_new 2016-01-12 16:12:12.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Kivy # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,19 +17,29 @@ Name: python-Kivy -Version: 1.8.0 +Version: 1.9.1 Release: 0 Url: http://kivy.org/ Summary: Hardware-accelerated multitouch application library License: LGPL-3.0 Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/K/Kivy/Kivy-%{version}.tar.gz -# PATCH-FIX-UPSTREAM python-Kivy-Cython-0.21.patch dims...@opensuse.org -- Fix build with Cython 0.21, taken from git -Patch0: python-Kivy-Cython-0.21.patch +Source0: https://pypi.python.org/packages/source/K/Kivy/kivy-%{version}.tar.gz +# +# Suppressing wrong fsf address and python abi warnings - not really relevant +# +Source1: python-Kivy-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: Mesa-devel +%if 0%{?suse_version} > 1310 +BuildRequires: SDL2-devel +BuildRequires: SDL2_image-devel +BuildRequires: SDL2_mixer-devel +BuildRequires: SDL2_ttf-devel +%endif BuildRequires: fdupes +BuildRequires: gstreamer-devel BuildRequires: mtdev +BuildRequires: pkg-config BuildRequires: python-Cython BuildRequires: python-Pillow BuildRequires: python-Sphinx @@ -64,16 +74,28 @@ This package contains the developer documentation and examples +%package devel +Summary: Development files for %{name} +Group: Development/Languages/Python +Requires: %{name} = %{version} + +%description devel +Kivy is an open source software library for rapid development of applications +that make use of innovative user interfaces, such as multi-touch apps. + +This package contains the headers and source files for extending kivy + %prep -%setup -q -n Kivy-%{version} -%patch0 -p1 +%setup -q -n kivy-%{version} + sed -i "s|data_file_prefix = 'share/kivy-'|data_file_prefix = '%{_docdir}/%{name}/'|" setup.py sed -i "s|#!/usr/bin/python||" kivy/lib/osc/OSC.py # Fix non-executable script rm examples/demo/pictures/images/.empty # Remove empty file rm -r examples/audio # Remove content with non-commercial only license (bnc#749340) +find examples -name android.txt -exec chmod 644 {} \; #drop usr/bin/kivy shebang to not produce dependency on itself -sed -i 's@#!/usr/bin/kivy@@' \ +sed -i 's@#!/usr/bin/kivy@#!/usr/bin/env kivy@' \ examples/demo/showcase/main.py \ examples/demo/kivycatalog/main.py \ examples/demo/pictures/main.py \ @@ -85,17 +107,31 @@ cd doc && make html && rm -r build/html/.buildinfo # Build HTML documentation %install +install -dm0755 %{buildroot}%{_defaultdocdir}/%{name}-doc python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%fdupes %{buildroot}%{_docdir}/%{name} %{buildroot}%{_docdir}/%{name}-doc +# workaround to make fdupes its magic as if %%doc macro is used +# would be used after fdupes so rpmlint would complain about duplicates... +cp -a examples %{buildroot}%{_defaultdocdir}/%{name}-doc + +%fdupes %{buildroot}%{_defaultdocdir} +%fdupes %{buildroot}%{python_sitearch} %files %defattr(-,root,root,-) %doc AUTHORS LICENSE %{python_sitearch}/kivy/ %{python_sitearch}/Kivy-%{version}-py*.egg-info +%exclude %{python_sitearch}/kivy/graphics/*.h +%exclude %{python_sitearch}/kivy/tools/gles_compat/gl2.h %files doc -%defattr(-,root,root,-) -%doc examples doc/build/html +%defattr(644,root,root,-) +%doc doc/build/html +%{_defaultdocdir}/%{name}-doc + +%files devel +%defattr(644,root,root,-) +%{python_sitearch}/kivy/graphics/*.h +%{python_sitearch}/kivy/tools/gles_compat/gl2.h %changelog ++++++ python-Kivy-rpmlintrc ++++++ # Is this just a noise or real addFilter("no-dependency-on python.abi."); # upstream problem... addFilter("incorrect-fsf-address .*kivy-mode.el");