forcemerge 380855 380069 retitle 380855 lilypond: needs tight dependency on python # as per Debian Policy 3.5, Python Policy 3.1.1: severity 380855 serious tags 380855 + patch thanks
* madcoder-python-transit...@debian.org, 2006-08-01, 12:32:
Hi, your package has been detected as generating a (for most of that mass bug fill: private) python module/extension that may need an upgrade to the new Python Policy[1].
[...]
[1] http://lists.debian.org/debian-devel-announce/2006/06/msg00009.html
lilypond builds a private Python extension. Such extensions are normally not binary compatible across different Python versions, so the package must declare tight dependency on the version for which the extension was built. The attached patch fixes this bug.
-- Jakub Wilk
diff -u lilypond-2.12.3/debian/control lilypond-2.12.3/debian/control --- lilypond-2.12.3/debian/control +++ lilypond-2.12.3/debian/control @@ -12,6 +12,7 @@ xfonts-intl-japanese, xfonts-intl-japanese-big, xfonts-intl-phonetic, ttf-kochi-gothic, ttf-kochi-mincho, ttf-dejavu, ttf-freefont, gsfonts | gsfonts-x11, rsync +XS-Python-Version: >= 2.4 Section: tex Priority: optional Maintainer: Don Armstrong <d...@debian.org> @@ -22,7 +23,7 @@ Architecture: any Replaces: lilypond1.3 Provides: lilypond1.3 -Depends: ${shlibs:Depends}, python, guile-1.8, ${misc:Depends}, lilypond-data (= ${source:Version}), ghostscript +Depends: ${shlibs:Depends}, ${python:Depends}, guile-1.8, ${misc:Depends}, lilypond-data (= ${source:Version}), ghostscript Conflicts: guile-1.8 (= 1.8.2+1-2) Recommends: lilypond-doc Description: A program for typesetting sheet music diff -u lilypond-2.12.3/debian/rules lilypond-2.12.3/debian/rules --- lilypond-2.12.3/debian/rules +++ lilypond-2.12.3/debian/rules @@ -166,6 +166,7 @@ dh_installchangelogs Documentation/misc/CHANGES* Documentation/misc/ChangeLog* dh_strip + dh_pysupport /usr/share/lilypond/${VERSION}/python dh_compress dh_fixperms dh_installdeb
signature.asc
Description: Digital signature