Hello,For some reason I sent you a wrong version, please find attached the good one.
Regards, Adam.
diff -Nru pyglet-1.3.0/debian/changelog pyglet-1.3.0/debian/changelog --- pyglet-1.3.0/debian/changelog 2018-01-04 23:15:56.000000000 +0100 +++ pyglet-1.3.0/debian/changelog 2019-02-13 15:27:27.000000000 +0100 @@ -1,3 +1,12 @@ +pyglet (1.3.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Port from CDBS to DH. + * Enable integration unit tests. + * Provide Python 3 packages (Closes: #822766). + + -- Adam Cecile <acec...@le-vert.net> Wed, 13 Feb 2019 15:27:27 +0100 + pyglet (1.3.0-1) unstable; urgency=medium * The released version diff -Nru pyglet-1.3.0/debian/control pyglet-1.3.0/debian/control --- pyglet-1.3.0/debian/control 2018-01-04 23:15:56.000000000 +0100 +++ pyglet-1.3.0/debian/control 2019-02-13 15:27:27.000000000 +0100 @@ -6,22 +6,23 @@ Per B. Sederberg <psederb...@gmail.com>, Stephan Peijnik <deb...@sp.or.at>, Yaroslav Halchenko <deb...@onerussian.com> -Build-Depends: cdbs, - debhelper (>= 9), +Build-Depends: debhelper (>= 9), dh-python, libfontconfig1, libgl1-mesa-dev, libgl1-mesa-dri, libglu1-mesa, - python, - python-pytest, - python-setuptools, + python3-all, python-all, + python3-pytest, python-pytest, + python3-setuptools, python-setuptools, xauth, xvfb Standards-Version: 3.9.8 Homepage: http://www.pyglet.org Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pyglet.git Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pyglet.git +X-Python-Version: >= 2.7 +X-Python3-Version: >= 3.4 Package: python-pyglet Architecture: all @@ -35,7 +36,28 @@ ${shlibs:Depends} Recommends: libasound2 | libopenal1 Provides: ${python:Provides} -Description: cross-platform windowing and multimedia library +Description: cross-platform windowing and multimedia library (Python 2) + This library provides an object-oriented programming interface for developing + games and other visually-rich applications with Python. + pyglet has virtually no external dependencies. For most applications and game + requirements, pyglet needs nothing else besides Python, simplifying + distribution and installation. It also handles multiple windows and + fully aware of multi-monitor setups. + . + pyglet might be seen as an alternative to PyGame. + +Package: python3-pyglet +Architecture: all +Depends: libgl1 | libgl1-mesa-swx11, + libglu1 | libglu1-mesa, + libgtk2.0-0, + python3-future, + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends} +Recommends: libasound2 | libopenal1 +Provides: ${python3:Provides} +Description: cross-platform windowing and multimedia library (Python 3) This library provides an object-oriented programming interface for developing games and other visually-rich applications with Python. pyglet has virtually no external dependencies. For most applications and game diff -Nru pyglet-1.3.0/debian/python3-pyglet.examples pyglet-1.3.0/debian/python3-pyglet.examples --- pyglet-1.3.0/debian/python3-pyglet.examples 1970-01-01 01:00:00.000000000 +0100 +++ pyglet-1.3.0/debian/python3-pyglet.examples 2019-02-13 15:27:27.000000000 +0100 @@ -0,0 +1,2 @@ +examples/* + diff -Nru pyglet-1.3.0/debian/rules pyglet-1.3.0/debian/rules --- pyglet-1.3.0/debian/rules 2018-01-04 23:15:56.000000000 +0100 +++ pyglet-1.3.0/debian/rules 2019-02-13 15:27:27.000000000 +0100 @@ -1,16 +1,29 @@ #!/usr/bin/make -f -# -*- mode: makefile; coding: utf-8 -*- -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/python-distutils.mk +XVFB_OPTS=--auto-servernum --server-num=20 -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" -DEB_COMPRESS_EXCLUDE := .py -DEB_INSTALL_CHANGELOGS_ALL := RELEASE_NOTES -PYGLET_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p' | sed -rne 's,\.dfsg.*$,,p') +EXCLUDED_TESTS := +# Non-interactive tests +EXCLUDED_TESTS += not interactive +# PulseAudio related +EXCLUDED_TESTS += and not PulseAudio +EXCLUDED_TESTS += and not test_pulse +# Failing for unknown reason but looks harmless +EXCLUDED_TESTS += and not test_freetype_face +# These ones are failing in cowbuilder +# Fonts are related to missing "arial" font which is normal +# Driver one looks being related to not having ALSA stuff +# IssueNNN raises StopIteration +EXCLUDED_TESTS += and not test_fontconfig +EXCLUDED_TESTS += and not test_linux_fontconfig +EXCLUDED_TESTS += and not test_driver +EXCLUDED_TESTS += and not test_issue429 +EXCLUDED_TESTS += and not test_issue241 +EXCLUDED_TESTS += and not test_issue471 -XVFB_OPTS=--auto-servernum --server-num=20 -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset" +export PYBUILD_NAME=pyglet +export PYBUILD_TEST_PYTEST=1 +export PYBUILD_TEST_ARGS=>/dev/null 2>&1; cd {build_dir}; xvfb-run $(XVFB_OPTS) python{version} -m pytest -v -k "$(EXCLUDED_TESTS)" -# not sure what is the most legit rule to invoke tests, so here it would be -binary-install/python-pyglet:: - xvfb-run $(XVFB_OPTS) python -m pytest tests/unit # should all pass - xvfb-run $(XVFB_OPTS) python -m pytest tests/integration/ || : # ok to fail for now +%: + dh $@ --with python2,python3 --buildsystem=pybuild
pyglet_1.3.0-1.1.debian.tar.xz
Description: application/xz
Format: 3.0 (quilt) Source: pyglet Binary: python-pyglet, python3-pyglet Architecture: all Version: 1.3.0-1.1 Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org> Uploaders: Michael Hanke <michael.ha...@gmail.com>, Per B. Sederberg <psederb...@gmail.com>, Stephan Peijnik <deb...@sp.or.at>, Yaroslav Halchenko <deb...@onerussian.com> Homepage: http://www.pyglet.org Standards-Version: 3.9.8 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pyglet.git Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pyglet.git Build-Depends: debhelper (>= 9), dh-python, libfontconfig1, libgl1-mesa-dev, libgl1-mesa-dri, libglu1-mesa, python3-all, python-all, python3-pytest, python-pytest, python3-setuptools, python-setuptools, xauth, xvfb Package-List: python-pyglet deb python optional arch=all python3-pyglet deb python optional arch=all Checksums-Sha1: 56bda9bc9b9084d5e0600d9d28b379f1e89854ec 3560046 pyglet_1.3.0.orig.tar.gz bc24d6e5ab9edbe8fd5ca6bac7f94a69cecfad62 6552 pyglet_1.3.0-1.1.debian.tar.xz Checksums-Sha256: 640a8f8e3d7bf8dbb551fa707f14021f619932990ab1401c48ba9dbcc6c2242c 3560046 pyglet_1.3.0.orig.tar.gz ce548e2225619bb813becd1ef4c898a8dca90450fde2c019f7212d610716b6f7 6552 pyglet_1.3.0-1.1.debian.tar.xz Files: 5b4a2dd2d05564ae65c7d4723b522542 3560046 pyglet_1.3.0.orig.tar.gz d53e356bf8eba5cc6bd60ee3789b2bb4 6552 pyglet_1.3.0-1.1.debian.tar.xz