[game-data-packager] 01/01: move "Arthur: the Quest for Excalibur" from WIP to production

Alexandre Detiste detiste-guest at moszumanska.debian.org
Fri Feb 5 11:07:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit 02eeb6a8d4d3fb4cf17cd84f3948261cdf0954cf
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Fri Feb 5 12:07:29 2016 +0100

    move "Arthur: the Quest for Excalibur" from WIP to production
---
 data/{wip => }/arthur.yaml         | 4 +---
 debian/changelog                   | 1 +
 debian/control                     | 1 +
 game_data_packager/games/z_code.py | 4 +++-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/data/wip/arthur.yaml b/data/arthur.yaml
similarity index 92%
rename from data/wip/arthur.yaml
rename to data/arthur.yaml
index 5cdbb39..354bc78 100644
--- a/data/wip/arthur.yaml
+++ b/data/arthur.yaml
@@ -2,9 +2,7 @@
 longname: "Arthur: the Quest for Excalibur"
 plugin: z_code
 copyright: © 1985 Infocom
-engine: zoom
-
-# This needs zoom in the archive, and appropriate engine support in z_code.py
+engine: zoom-player
 
 packages:
   arthur-data:
diff --git a/debian/changelog b/debian/changelog
index dfd7775..63474ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ game-data-packager (45) UNRELEASED; urgency=medium
     - The Secret of Monkey Island [adetiste]
     - Mortville Manor [adetiste]
     - Zork Zero [adetiste]
+    - Arthur: the Quest for Excalibur [skitt]
   * Support for new languages and versions:
     - Indiana Jones and the Last Crusade (English CD) [skitt]
   * Enhancements and bug fixes:
diff --git a/debian/control b/debian/control
index 768baf9..9c6f2b4 100644
--- a/debian/control
+++ b/debian/control
@@ -87,6 +87,7 @@ Description: Installer for game data files
   * 3 Skulls of the Toltecs
   * A Mind Forever Voyaging
   * Amazon: Guardians of Eden
+  * Arthur: the Quest for Excalibur
   * Arx Fatalis
   * Baldur's Gate 1 and 2
   * Ballyhoo
diff --git a/game_data_packager/games/z_code.py b/game_data_packager/games/z_code.py
index 3cf00d2..a5e299b 100644
--- a/game_data_packager/games/z_code.py
+++ b/game_data_packager/games/z_code.py
@@ -69,7 +69,9 @@ class ZCodeTask(PackagingTask):
             entry['Categories'] = 'Game;'
             entry['GenericName'] = self.game.genre + ' Game'
             entry['Name'] = package.longname or self.game.longname
-            engine = package.engine or 'zcode-interpreter'
+            engine = self.packaging.substitute(package.engine or self.game.engine,
+                    package.name)
+            engine = engine.split('|')[-1].strip()
             engine = self.packaging.tool_for_package(engine)
             entry['Terminal'] = 'false'
             if FORMAT != 'deb':

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list