Source: kivy Version: 1.8.0+dfsg-1 Severity: wishlist Tags: patch Dear Maintainer,
Please consider applying the attached debdiff to support building a python3-kivy package; it follows the latest python module packaging conventions (https://wiki.debian.org/Python/LibraryStyleGuide) and I've made it as minimal as possible so it's easy for you to review. Thanks for considering! Regards, Vincent -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (700, 'testing'), (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13-5-vclaptop-amd64 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash *** kivy-python3-support.patch diff -Nru kivy-1.8.0+dfsg/debian/control kivy-1.8.0+dfsg/debian/control --- kivy-1.8.0+dfsg/debian/control 2014-02-27 02:31:44.000000000 -0800 +++ kivy-1.8.0+dfsg/debian/control 2014-02-27 13:34:50.000000000 -0800 @@ -4,19 +4,38 @@ Maintainer: Bastian Venthur <vent...@debian.org> Build-Depends: debhelper (>= 8.0.0), python (>= 2.7), python-all-dev (>= 2.7), - cython, - libgl1-mesa-dev, libgles2-mesa-dev + cython, cython3, + libgl1-mesa-dev, libgles2-mesa-dev, + python3-all-dev, dh-python Standards-Version: 3.9.4 Homepage: http://kivy.org Vcs-Git: http://github.com/kivy/kivy.git X-Python-Version: >= 2.7 +X-Python3-Version: >= 3.3 Package: python-kivy Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-pygame, python-gst0.10 -Description: Kivy - Multimedia / Multitouch framework in Python +Description: Kivy - Multimedia / Multitouch framework in Python (Python 2) + Kivy is an open source library for developing multi-touch applications. It is + completely cross platform (Linux/OSX/Win/Android) and released under the terms + of the MIT license. + . + It comes with native support for many multi-touch input devices, a growing + library of multi-touch aware widgets, hardware accelerated OpenGL drawing, and + an architecture that is designed to let you focus on building custom and highly + interactive applications as quickly and easily as possible. + . + Kivy is a mixed Python library with Cython code, to take advantage of its + highly dynamic nature and use any of the thousands of high quality and open + source python libraries out there, with the speed of C code. + +Package: python3-kivy +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} +Description: Kivy - Multimedia / Multitouch framework in Python (Python 3) Kivy is an open source library for developing multi-touch applications. It is completely cross platform (Linux/OSX/Win/Android) and released under the terms of the MIT license. diff -Nru kivy-1.8.0+dfsg/debian/python3-kivy.install kivy-1.8.0+dfsg/debian/python3-kivy.install --- kivy-1.8.0+dfsg/debian/python3-kivy.install 1969-12-31 16:00:00.000000000 -0800 +++ kivy-1.8.0+dfsg/debian/python3-kivy.install 2014-02-27 18:39:06.000000000 -0800 @@ -0,0 +1 @@ +usr/lib/python3* diff -Nru kivy-1.8.0+dfsg/debian/rules kivy-1.8.0+dfsg/debian/rules --- kivy-1.8.0+dfsg/debian/rules 2013-10-02 03:21:57.000000000 -0700 +++ kivy-1.8.0+dfsg/debian/rules 2014-02-27 18:51:07.000000000 -0800 @@ -16,13 +16,10 @@ # This has to be exported to make some magic below work. export DH_OPTIONS +export PYBUILD_DESTDIR=debian/tmp %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild override_dh_auto_test: echo "Tests are currently disabled in debian/rules." - -override_dh_auto_install: - python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb --prefix=/usr --no-compile -
diff -Nru kivy-1.8.0+dfsg/debian/control kivy-1.8.0+dfsg/debian/control --- kivy-1.8.0+dfsg/debian/control 2014-02-27 02:31:44.000000000 -0800 +++ kivy-1.8.0+dfsg/debian/control 2014-02-27 13:34:50.000000000 -0800 @@ -4,19 +4,38 @@ Maintainer: Bastian Venthur <vent...@debian.org> Build-Depends: debhelper (>= 8.0.0), python (>= 2.7), python-all-dev (>= 2.7), - cython, - libgl1-mesa-dev, libgles2-mesa-dev + cython, cython3, + libgl1-mesa-dev, libgles2-mesa-dev, + python3-all-dev, dh-python Standards-Version: 3.9.4 Homepage: http://kivy.org Vcs-Git: http://github.com/kivy/kivy.git X-Python-Version: >= 2.7 +X-Python3-Version: >= 3.3 Package: python-kivy Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-pygame, python-gst0.10 -Description: Kivy - Multimedia / Multitouch framework in Python +Description: Kivy - Multimedia / Multitouch framework in Python (Python 2) + Kivy is an open source library for developing multi-touch applications. It is + completely cross platform (Linux/OSX/Win/Android) and released under the terms + of the MIT license. + . + It comes with native support for many multi-touch input devices, a growing + library of multi-touch aware widgets, hardware accelerated OpenGL drawing, and + an architecture that is designed to let you focus on building custom and highly + interactive applications as quickly and easily as possible. + . + Kivy is a mixed Python library with Cython code, to take advantage of its + highly dynamic nature and use any of the thousands of high quality and open + source python libraries out there, with the speed of C code. + +Package: python3-kivy +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} +Description: Kivy - Multimedia / Multitouch framework in Python (Python 3) Kivy is an open source library for developing multi-touch applications. It is completely cross platform (Linux/OSX/Win/Android) and released under the terms of the MIT license. diff -Nru kivy-1.8.0+dfsg/debian/python3-kivy.install kivy-1.8.0+dfsg/debian/python3-kivy.install --- kivy-1.8.0+dfsg/debian/python3-kivy.install 1969-12-31 16:00:00.000000000 -0800 +++ kivy-1.8.0+dfsg/debian/python3-kivy.install 2014-02-27 18:39:06.000000000 -0800 @@ -0,0 +1 @@ +usr/lib/python3* diff -Nru kivy-1.8.0+dfsg/debian/rules kivy-1.8.0+dfsg/debian/rules --- kivy-1.8.0+dfsg/debian/rules 2013-10-02 03:21:57.000000000 -0700 +++ kivy-1.8.0+dfsg/debian/rules 2014-02-27 18:51:07.000000000 -0800 @@ -16,13 +16,10 @@ # This has to be exported to make some magic below work. export DH_OPTIONS +export PYBUILD_DESTDIR=debian/tmp %: - dh $@ --with python2 + dh $@ --with python2,python3 --buildsystem=pybuild override_dh_auto_test: echo "Tests are currently disabled in debian/rules." - -override_dh_auto_install: - python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb --prefix=/usr --no-compile -