Package: adonthell Followup-For: Bug #392492
Patch attached
diff -u adonthell-0.3.4.cvs.20050813/debian/rules adonthell-0.3.4.cvs.20050813/debian/rules --- adonthell-0.3.4.cvs.20050813/debian/rules +++ adonthell-0.3.4.cvs.20050813/debian/rules @@ -26,6 +26,7 @@ configure: configure-stamp configure-stamp: dh_testdir + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ @@ -42,7 +43,6 @@ build-stamp: dh_testdir - QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 $(MAKE) CXXFLAGS="$(CXXFLAGS)" INSTALL_PROGRAM="$(INSTALL_PROGRAM)" touch build-stamp @@ -83,6 +83,7 @@ dh_installmenu dh_installman debian/adonthell.6 dh_installchangelogs ChangeLog + dh_pysupport -V $(shell pyversions -d -v) adonthell /usr/share/games/adonthell/modules/ dh_link dh_strip dh_compress diff -u adonthell-0.3.4.cvs.20050813/debian/changelog adonthell-0.3.4.cvs.20050813/debian/changelog --- adonthell-0.3.4.cvs.20050813/debian/changelog +++ adonthell-0.3.4.cvs.20050813/debian/changelog @@ -1,3 +1,11 @@ +adonthell (0.3.4.cvs.20050813-2.4) unstable; urgency=low + + * NMU. + * Avoid shipping .pyc files. Ship .py files instead and use + dh_pysupport for byte compiling (closes #392492). + + -- Luis Rodrigo Gallardo Cruz <[EMAIL PROTECTED]> Sun, 22 Oct 2006 17:42:08 -0500 + adonthell (0.3.4.cvs.20050813-2.3) unstable; urgency=low * Non-maintainer upload. diff -u adonthell-0.3.4.cvs.20050813/debian/patches/series adonthell-0.3.4.cvs.20050813/debian/patches/series --- adonthell-0.3.4.cvs.20050813/debian/patches/series +++ adonthell-0.3.4.cvs.20050813/debian/patches/series @@ -3,0 +4 @@ +04_do_not_ship_pyc.diff only in patch2: unchanged: --- adonthell-0.3.4.cvs.20050813.orig/debian/patches/04_do_not_ship_pyc.diff +++ adonthell-0.3.4.cvs.20050813/debian/patches/04_do_not_ship_pyc.diff @@ -0,0 +1,28 @@ +Avoid shipping .pyc files +Do ship .py files +Index: adonthell-0.3.4.cvs.20050813/src/modules/Makefile.am +=================================================================== +--- adonthell-0.3.4.cvs.20050813.orig/src/modules/Makefile.am 2006-10-22 17:31:00.000000000 -0500 ++++ adonthell-0.3.4.cvs.20050813/src/modules/Makefile.am 2006-10-22 17:32:53.000000000 -0500 +@@ -3,7 +3,7 @@ + pyc_files = dialogue.pyc adonthell.pyc + py_files = dialogue.py adonthell.py + +-moddata_DATA = dialogue.pyc adonthell.pyc ++moddata_DATA = dialogue.py adonthell.py + + EXTRA_DIST = $(py_files) + +Index: adonthell-0.3.4.cvs.20050813/src/modules/Makefile.in +=================================================================== +--- adonthell-0.3.4.cvs.20050813.orig/src/modules/Makefile.in 2006-10-22 17:31:00.000000000 -0500 ++++ adonthell-0.3.4.cvs.20050813/src/modules/Makefile.in 2006-10-22 17:33:48.000000000 -0500 +@@ -179,7 +179,7 @@ + pyc_files = dialogue.pyc adonthell.pyc + py_files = dialogue.py adonthell.py + +-moddata_DATA = dialogue.pyc adonthell.pyc ++moddata_DATA = dialogue.py adonthell.py + + EXTRA_DIST = $(py_files) +