[game-data-packager] 01/01: spear-of-destiny: move description to YAML

Alexandre Detiste detiste-guest at moszumanska.debian.org
Thu Oct 8 10:48:05 UTC 2015


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 8bc3fcac787a25e4f7d8ef7500f2d990400d1dc7
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Thu Oct 8 12:47:38 2015 +0200

    spear-of-destiny: move description to YAML
---
 data/spear-of-destiny-demo-data.control.in |  5 -----
 data/spear-of-destiny.yaml                 | 18 +++++++++++++++++-
 game_data_packager/build.py                |  1 +
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/data/spear-of-destiny-demo-data.control.in b/data/spear-of-destiny-demo-data.control.in
deleted file mode 100644
index 383da68..0000000
--- a/data/spear-of-destiny-demo-data.control.in
+++ /dev/null
@@ -1,5 +0,0 @@
-Description: Game data for Wolfenstein 3D sequel: Spear Of Destiny
- wolf4sdl requires game data to play. This package contains
- the game data from the shareware episode of Spear Of Destiny,
- the sequel of Wolfenstein 3D and was generated
- using the "game-data-packager" program.
diff --git a/data/spear-of-destiny.yaml b/data/spear-of-destiny.yaml
index 4254a7c..3f0e43c 100644
--- a/data/spear-of-destiny.yaml
+++ b/data/spear-of-destiny.yaml
@@ -8,6 +8,8 @@ genre: First-person shooter
 wikibase: http://wolfenstein.wikia.com/wiki/
 wiki: Spear_of_Destiny
 
+# http://legacy.3drealms.com/tech/wolf3d.html
+
 steam:
   id: 9000
   path: common/Spear of Destiny
@@ -32,7 +34,12 @@ help_text: |
 
 packages:
   spear-of-destiny-demo-data:
-    longname: "Spear of Destiny (shareware)"
+    longname: "Spear of Destiny (demo)"
+    description: |
+      Spear of Destiny is the sequel of Wolfenstein 3D.
+
+      This demo provides the 2 first levels of the first mission pack
+      out of 21 in total.
     demo_for: spear-of-destiny-data
     component: non-free
     install_to: usr/share/games/wolf3d
@@ -50,6 +57,9 @@ packages:
 
   spear-of-destiny-data:
     longname: "Spear of Destiny"
+    description: |
+      This package provides the assets shared by the 3 mission packs
+      of Spear of Destiny, the sequel of Wolfenstein 3D, but has no use alone.
     debian:
       depends: spear-of-destiny-mission1-data | spear-of-destiny-mission2-data | spear-of-destiny-mission3-data
     install_to: usr/share/games/wolf3d
@@ -63,6 +73,10 @@ packages:
   spear-of-destiny-mission1-data:
     expansion_for: spear-of-destiny-data
     longname: "Spear of Destiny (registered version, mission 1)"
+    description: |
+      Spear of Destiny is the sequel of Wolfenstein 3D.
+
+      Each mission consists of 21 levels.
     install_to: usr/share/games/wolf3d
     install:
     - gamemaps.sd1
@@ -79,6 +93,7 @@ packages:
   spear-of-destiny-mission2-data:
     expansion_for: spear-of-destiny-data
     longname: "Spear of Destiny - Mission 2: Return to Danger"
+    description: "Each mission pack provides 21 levels."
     wiki: Return_to_Danger
     install_to: usr/share/games/wolf3d
     install:
@@ -89,6 +104,7 @@ packages:
   spear-of-destiny-mission3-data:
     expansion_for: spear-of-destiny-data
     longname: "Spear of Destiny - Mission 3: Ultimate Challenge"
+    description: "Each mission pack provides 21 levels."
     wiki: Ultimate_Challenge
     install_to: usr/share/games/wolf3d
     install:
diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index ccf658c..c125376 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1688,6 +1688,7 @@ class PackagingTask(object):
                 for line in package.description.splitlines():
                     line = line.rstrip() or '.'
                     long_desc += (' ' + line + '\n')
+                long_desc += ' .\n'
 
             if self.game.genre:
                 long_desc += '  Genre: ' + self.game.genre + '\n'

-- 
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