[game-data-packager] 01/01: DotEmu is closing, remove all references

Alexandre Detiste detiste-guest at moszumanska.debian.org
Tue Apr 25 08:05:44 UTC 2017


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 24ed8a2b4b096d7e89470b3146bedea7c6186fec
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Tue Apr 25 10:05:05 2017 +0200

    DotEmu is closing, remove all references
    
    http://www.dotemu.com/the-dotemu-online-store-is-closing/
---
 data/gobliiins.yaml            |  2 --
 data/gobliins2.yaml            |  2 --
 data/goblins3.yaml             | 15 ---------------
 data/t7g.yaml                  |  2 --
 data/tony.yaml                 |  2 --
 debian/changelog               |  1 +
 doc/adding_a_game.mdwn         |  9 ---------
 game_data_packager/__init__.py | 13 +------------
 game_data_packager/data.py     |  3 ---
 tools/babel.py                 |  8 +++-----
 10 files changed, 5 insertions(+), 52 deletions(-)

diff --git a/data/gobliiins.yaml b/data/gobliiins.yaml
index 36ed749..99859e3 100644
--- a/data/gobliiins.yaml
+++ b/data/gobliiins.yaml
@@ -10,8 +10,6 @@ packages:
     gog:
       url: gobliiins_pack
       game: gobliiins
-    dotemu:
-      id: 25
     provides: gobliiins-data
     install:
     - gob.lic
diff --git a/data/gobliins2.yaml b/data/gobliins2.yaml
index 1288a8f..b9d9148 100644
--- a/data/gobliins2.yaml
+++ b/data/gobliins2.yaml
@@ -13,8 +13,6 @@ packages:
     gog:
       url: gobliiins_pack
       game: gobliins_2_the_prince_buffoon
-    dotemu:
-      id: 25
     install:
     - intro.stk
     - gobnew.lic
diff --git a/data/goblins3.yaml b/data/goblins3.yaml
index 1668248..526485c 100644
--- a/data/goblins3.yaml
+++ b/data/goblins3.yaml
@@ -8,13 +8,6 @@ copyright: © 1993 Coktel Vision
 
 missing_langs: [es,pl]
 
-help_text: |
-  DotEmu claims to sell a Spanish & Polish version of this game too.
-
-  Please provide the output of
-  $ game-data-packager make-template <path>
-  if you own these translations.
-
 packages:
   goblins3-floppy-data:
     longname: "Goblins Quest 3 (floppy)"
@@ -30,8 +23,6 @@ packages:
     gog:
       url: gobliiins_pack
       game: goblins_quest_3
-    dotemu:
-      id: 25
     install:
     - ext.stk
     - imd.itk
@@ -51,8 +42,6 @@ packages:
     gog:
       url: gobliiins_pack
       game: goblins_quest_3
-    dotemu:
-      id: 25
     install:
     - ext.stk
     - imd.itk
@@ -72,8 +61,6 @@ packages:
     gog:
       url: gobliiins_pack
       game: goblins_quest_3
-    dotemu:
-      id: 25
     install:
     - ext.stk
     - imd.itk
@@ -93,8 +80,6 @@ packages:
     gog:
       url: gobliiins_pack
       game: goblins_quest_3
-    dotemu:
-      id: 25
     install:
     - ext.stk
     - imd.itk
diff --git a/data/t7g.yaml b/data/t7g.yaml
index 77c8cd6..da4afd1 100644
--- a/data/t7g.yaml
+++ b/data/t7g.yaml
@@ -19,8 +19,6 @@ packages:
       native: true
     gog:
       url: the_7th_guest
-    dotemu:
-      id: 2788
     install:
     - at.gjd
     - assets
diff --git a/data/tony.yaml b/data/tony.yaml
index e42a743..b0ca2f7 100644
--- a/data/tony.yaml
+++ b/data/tony.yaml
@@ -9,8 +9,6 @@ steam:
   id: 356210
   path: common/TonyTough
   native: true
-dotemu:
-  id: 4602
 
 packages:
   tony-tough-en-data:
diff --git a/debian/changelog b/debian/changelog
index 675ec72..79c768b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ game-data-packager (50) UNRELEASED; urgency=medium
     - Ensure that bsdtar/rpmbuild are present
       before attempting to build Arch/RPM packages [adetiste]
     - Bash completion: add --target-format & --target-distro [adetiste]
+    - DotEmu online store is closing, remove all references [adetiste]
   * Internal changes:
     - Fix typo in TODO [nyav] (Closes: #857880)
     - Use locale 'C.UTF-8' instead of 'C' in Makefile,
diff --git a/doc/adding_a_game.mdwn b/doc/adding_a_game.mdwn
index db4a8c0..bf705a0 100644
--- a/doc/adding_a_game.mdwn
+++ b/doc/adding_a_game.mdwn
@@ -160,15 +160,6 @@ with these keys:
 Use the `url_misc` top-level key for Origin download URLs: see
 `data/syndicate.yaml` and `data/theme-hospital.yaml` for examples.
 
-#### dotemu games
-
-Similar to Steam, games sold on dotemu can have a mapping named `dotemu`
-with these keys:
-
-* `id`: the numeric identifier of the game
-* `pp`: an affiliate ID, typically used to donate to a relevant game engine
-  (if not specified, g-d-p will use ScummVM's affiliate ID)
-
 ### Step 2: required files for the `.deb`
 
 #### things to include in the template package
diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 43e91ff..80250f9 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -109,13 +109,11 @@ class GameData(object):
         # online stores metadata
         self.steam = {}
         self.gog = {}
-        self.dotemu = {}
         self.origin = {}
 
         # full url of online game shops
         self.url_steam = None
         self.url_gog = None
-        self.url_dotemu = None
         self.url_misc = None
 
         self.data = data
@@ -131,7 +129,7 @@ class GameData(object):
 
         for k in ('longname', 'copyright', 'compression', 'help_text', 'disks', 'fanmade',
                   'engine', 'genre', 'missing_langs', 'franchise', 'wiki', 'wikibase',
-                  'steam', 'gog', 'dotemu', 'origin', 'url_misc', 'wikipedia',
+                  'steam', 'gog', 'origin', 'url_misc', 'wikipedia',
                   'binary_executables', 'copyright_notice'):
             if k in self.data:
                 setattr(self, k, self.data[k])
@@ -262,16 +260,12 @@ class GameData(object):
         gog_url = self.gog.get('url')
         gog_pp = '22d200f8670dbdb3e253a90eee5098477c95c23d' # ScummVM
         steam_id = {self.steam.get('id')}
-        dotemu_id = self.dotemu.get('id')
-        dotemu_pp = '32202' # ScummVM
         for p in sorted(self.packages.keys(), reverse=True):
             package = self.packages[p]
             if package.gog:
                 gog_url = package.gog.get('url', gog_url)
                 gog_pp = package.gog.get('pp', gog_pp)
             steam_id.add(package.steam.get('id'))
-            dotemu_id = package.dotemu.get('id', dotemu_id)
-            dotemu_pp = package.dotemu.get('pp', dotemu_pp)
             if package.url_misc:
                 self.url_misc = package.url_misc
         steam_id.discard(None)
@@ -279,9 +273,6 @@ class GameData(object):
             self.url_steam = 'http://store.steampowered.com/app/%s/' % min(steam_id)
         if gog_url:
             self.url_gog = 'http://www.gog.com/game/' + gog_url + '?pp=' + gog_pp
-        if dotemu_id:
-            self.url_dotemu = 'http://www.dotemu.com/affiliate/%s/node/%d' % (
-                              dotemu_pp, dotemu_id)
 
     def edit_help_text(self):
         help_text = ''
@@ -332,8 +323,6 @@ class GameData(object):
                 www.append(self.url_steam)
         if self.url_gog and '://www.gog.com/' not in self.help_text:
                 www.append(self.url_gog)
-        if self.url_dotemu:
-            www.append(self.url_dotemu)
         if self.url_misc:
             www.append(self.url_misc)
         if www:
diff --git a/game_data_packager/data.py b/game_data_packager/data.py
index 043832c..d706048 100644
--- a/game_data_packager/data.py
+++ b/game_data_packager/data.py
@@ -479,7 +479,6 @@ class Package(object):
         # online stores metadata
         self.steam = {}
         self.gog = {}
-        self.dotemu = {}
         self.origin = {}
         self.url_misc = None
 
@@ -537,7 +536,6 @@ class Package(object):
                 'copyright_notice',
                 'description',
                 'disks',
-                'dotemu',
                 'empty',
                 'engine',
                 'expansion_for',
@@ -746,7 +744,6 @@ class Package(object):
                 'aliases',
                 'better_versions',
                 'demo_for',
-                'dotemu',
                 'gog',
                 'origin',
                 'rip_cd',
diff --git a/tools/babel.py b/tools/babel.py
index 01b4777..2f474c7 100755
--- a/tools/babel.py
+++ b/tools/babel.py
@@ -74,7 +74,6 @@ for name, game in load_games().items():
     stats['url_wikipedia'] = game.wikipedia
     stats['url_steam'] = game.url_steam
     stats['url_gog'] = game.url_gog
-    stats['url_dotemu'] = game.url_dotemu
     stats['url_misc'] = game.url_misc
     for l in game.missing_langs:
         if l not in langs:
@@ -170,7 +169,6 @@ for lang in langs_order:
 html.write('''<td>Demo</td>
 <td><a href="https://steamcommunity.com/groups/debian_gdp#curation">Steam</a></td>
 <td><a href="https://www.gog.com/mix/games_supported_by_debians_gamedatapackager">GOG.com</a></td>
-<td>DotEmu</td>
 <td>Misc.</td></tr>
 ''')
 
@@ -226,7 +224,7 @@ for game in games:
             html.write('  <td> </td>\n')
 
     if game.get('fullfree', False):
-        html.write('  <td colspan=5 align=center%s><b>freeload</b></td>\n' % css)
+        html.write('  <td colspan=4 align=center%s><b>freeload</b></td>\n' % css)
     else:
         if 'demos' in game:
             demos += game['demos']
@@ -235,7 +233,7 @@ for game in games:
             html.write('  <td align=center><b>X</b></td>\n')
         else:
             html.write('  <td> </td>\n')
-        for url in ('url_steam', 'url_gog', 'url_dotemu', 'url_misc'):
+        for url in ('url_steam', 'url_gog', 'url_misc'):
             if url in game and game[url]:
                 html.write('  <td align=center%s><a href="%s"><b>X</b></a></td>\n' % (css, game[url]))
             else:
@@ -243,7 +241,7 @@ for game in games:
     html.write('</tr>\n')
 
 # TOTAL
-html.write('<tr><td colspan=4><b>Total</b></td>\n')
+html.write('<tr><td colspan=3><b>Total</b></td>\n')
 for lang in langs_order:
     html.write('  <td><b>%i</b></td>\n' % langs[lang])
 

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