Package: adonthell-data Version: 0.3.4.cvs.20080529-1 Severity: serious Tags: patch Justification: Python Policy 2.6
It was discovered that adothehell-data is shipping .pyc files. This seems to due to a patch not being updated after a new upstream release. I have attached patches to resolve the issue. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages adonthell-data depends on: ii adonthell 0.3.5-5+b1 A 2D graphical roleplaying game ii python-support 1.0.9 automated rebuilding support for P ii python2.6 2.6.5+20100706-1 An interactive high-level object-o adonthell-data recommends no packages. adonthell-data suggests no packages. -- no debconf information
* updated bytecompile patch --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -2,12 +2,11 @@ pkgdatadir = $(gamedatadir)/scripts -pkgdata_DATA = *.pyc +pkgdata_DATA = *.py EXTRA_DIST = init.py all: - $(adonthell_binary) -c *.pyc: *.py --- a/scripts/actions/Makefile.am +++ b/scripts/actions/Makefile.am @@ -1,11 +1,10 @@ pkgdatadir = $(gamedatadir)/scripts/actions -pkgdata_DATA = *.pyc +pkgdata_DATA = *.py EXTRA_DIST = talk.py __init__.py all: - $(adonthell_binary) -c *.pyc: *.py --- a/scripts/dialogues/Makefile.am +++ b/scripts/dialogues/Makefile.am @@ -1,6 +1,6 @@ pkgdatadir = $(gamedatadir)/scripts/dialogues -pkgdata_DATA = *.pyc +pkgdata_DATA = *.py EXTRA_DIST = orloth_start.py lucia_start.py sarin_start.py \ janesta_start.py erek_start.py oliver_start.py bjarn_start.py \ @@ -9,7 +9,6 @@ silverhair_start.py fellnir_start.py __init__.py all: - $(adonthell_binary) -c *.pyc: *.py --- a/scripts/game_events/Makefile.am +++ b/scripts/game_events/Makefile.am @@ -1,6 +1,6 @@ pkgdatadir = $(gamedatadir)/scripts/game_events -pkgdata_DATA = *.pyc +pkgdata_DATA = *.py EXTRA_DIST = teleport.py cellar_to_bjarn.py fst_to_silverhair.py \ character_speak.py open_inn_door.py silverhair_to_fst.py \ @@ -9,7 +9,6 @@ speak.py all: - $(adonthell_binary) -c *.pyc: *.py --- a/scripts/modules/Makefile.am +++ b/scripts/modules/Makefile.am @@ -1,12 +1,11 @@ pkgdatadir = $(gamedatadir)/scripts/modules -pkgdata_DATA = *.pyc +pkgdata_DATA = *.py EXTRA_DIST = console.py main_menu.py events.py character_screen.py intro.py \ player_text.py all: - $(adonthell_binary) -c *.pyc: *.py --- a/scripts/schedules/Makefile.am +++ b/scripts/schedules/Makefile.am @@ -2,11 +2,11 @@ pkgdatadir = $(gamedatadir)/scripts/schedules -pkgdata_DATA = *.pyc +pkgdata_DATA = *.py EXTRA_DIST = control.py __init__.py *.pyc: *.py - $(adonthell_binary) -c + CLEANFILES = *.pyc --- a/scripts/schedules/audio/Makefile.am +++ b/scripts/schedules/audio/Makefile.am @@ -1,11 +1,10 @@ pkgdatadir = $(gamedatadir)/scripts/schedules/audio -pkgdata_DATA = *.pyc +pkgdata_DATA = *.py EXTRA_DIST = in_game.py __init__.py all: - $(adonthell_binary) -c *.pyc: *.py --- a/scripts/schedules/mapcharacters/Makefile.am +++ b/scripts/schedules/mapcharacters/Makefile.am @@ -1,6 +1,6 @@ pkgdatadir = $(gamedatadir)/scripts/schedules/mapcharacters -pkgdata_DATA = *.pyc +pkgdata_DATA = *.py EXTRA_DIST = alek.py erek.py frostbloom.py janesta.py jelom.py bjarn.py \ keyboard_control.py oliver.py orloth.py sarin.py silverhair.py \ @@ -8,7 +8,6 @@ extro.py __init__.py schedule.py all: - $(adonthell_binary) -c *.pyc: *.py --- a/scripts/schedules/mapviews/Makefile.am +++ b/scripts/schedules/mapviews/Makefile.am @@ -1,11 +1,10 @@ pkgdatadir = $(gamedatadir)/scripts/schedules/mapviews -pkgdata_DATA = *.pyc +pkgdata_DATA = *.py EXTRA_DIST = center_character.py __init__.py all: - $(adonthell_binary) -c *.pyc: *.py
--- old/adonthell-data-0.3.4.cvs.20080529/debian/rules 2010-08-06 01:40:08.000000000 -0400 +++ new/adonthell-data-0.3.4.cvs.20080529/debian/rules 2010-08-06 01:34:21.000000000 -0400 @@ -24,6 +24,8 @@ QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + ./autogen.sh + ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \