Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package heroic-gogdl for openSUSE:Factory 
checked in at 2026-02-23 16:12:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/heroic-gogdl (Old)
 and      /work/SRC/openSUSE:Factory/.heroic-gogdl.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "heroic-gogdl"

Mon Feb 23 16:12:12 2026 rev:4 rq:1334316 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/heroic-gogdl/heroic-gogdl.changes        
2026-01-30 18:23:29.176549390 +0100
+++ /work/SRC/openSUSE:Factory/.heroic-gogdl.new.1977/heroic-gogdl.changes      
2026-02-23 16:12:36.765497459 +0100
@@ -1,0 +2,7 @@
+Sun Feb 22 02:15:57 UTC 2026 - Jonatas Gonçalves <[email protected]>
+
+- Update to 1.2.1
+  * Remove setuptools from runtime dependencies by @TomaSajt in #71
+  * Fix download sizes not being calculated properly. @imLinguin in ec9d52b
+ 
+-------------------------------------------------------------------

Old:
----
  heroic-gogdl-1.2.0.tar.gz

New:
----
  _scmsync.obsinfo
  heroic-gogdl-1.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ heroic-gogdl.spec ++++++
--- /var/tmp/diff_new_pack.gkCV9H/_old  2026-02-23 16:12:37.353521670 +0100
+++ /var/tmp/diff_new_pack.gkCV9H/_new  2026-02-23 16:12:37.357521835 +0100
@@ -16,12 +16,12 @@
 #
 
 Name:           heroic-gogdl
-Version:        1.2.0
+Version:        1.2.1
 Release:        0
 Summary:        GOG download module for Heroic Games Launcher
 License:        GPL-3.0-only
 URL:            https://github.com/Heroic-Games-Launcher/heroic-gogdl
-Source0:        
https://github.com/Heroic-Games-Launcher/heroic-gogdl/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:        %{name}-%{version}.tar.gz
 Patch0:         use-system-xdelta3.patch
 BuildRequires:  python313-PyInstaller
 BuildRequires:  %{python_module pip}

++++++ _scmsync.obsinfo ++++++
mtime: 1771729498
commit: 5128e6b0d7b9515edfba1101a23317050339b67f93e97ad67f09fe4d45c9198e
url: https://src.opensuse.org/MaxxedSUSE/heroic-gogdl
revision: master

++++++ heroic-gogdl-1.2.0.tar.gz -> heroic-gogdl-1.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/heroic-gogdl-1.2.0/.github/workflows/build.yaml 
new/heroic-gogdl-1.2.1/.github/workflows/build.yaml
--- old/heroic-gogdl-1.2.0/.github/workflows/build.yaml 2026-01-21 
11:20:18.000000000 +0100
+++ new/heroic-gogdl-1.2.1/.github/workflows/build.yaml 2026-02-06 
15:17:40.000000000 +0100
@@ -71,4 +71,5 @@
 
       - uses: softprops/action-gh-release@v2
         with: 
+          draft: true
           files: release/gogdl*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/heroic-gogdl-1.2.0/.gitmodules 
new/heroic-gogdl-1.2.1/.gitmodules
--- old/heroic-gogdl-1.2.0/.gitmodules  2026-01-21 11:20:18.000000000 +0100
+++ new/heroic-gogdl-1.2.1/.gitmodules  2026-02-06 15:17:40.000000000 +0100
@@ -1,4 +1,4 @@
 [submodule "xdelta3"]
        path = xdelta3
-       url = [email protected]:jmacd/xdelta.git
+       url = https://github.com/jmacd/xdelta.git
        branch = release3_0_apl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/heroic-gogdl-1.2.0/gogdl/__init__.py 
new/heroic-gogdl-1.2.1/gogdl/__init__.py
--- old/heroic-gogdl-1.2.0/gogdl/__init__.py    2026-01-21 11:20:18.000000000 
+0100
+++ new/heroic-gogdl-1.2.1/gogdl/__init__.py    2026-02-06 15:17:40.000000000 
+0100
@@ -7,4 +7,4 @@
 
 
 
-version = "1.2.0"
+version = "1.2.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/heroic-gogdl-1.2.0/gogdl/dl/objects/v1.py 
new/heroic-gogdl-1.2.1/gogdl/dl/objects/v1.py
--- old/heroic-gogdl-1.2.0/gogdl/dl/objects/v1.py       2026-01-21 
11:20:18.000000000 +0100
+++ new/heroic-gogdl-1.2.1/gogdl/dl/objects/v1.py       2026-02-06 
15:17:40.000000000 +0100
@@ -105,17 +105,21 @@
 
         for depot in self.all_depots:
             for product_id in depot.game_ids:
-                if not product_id in data:
+                if product_id not in data:
                     data[product_id] = dict()
                 product_data = data[product_id]
+                
                 for lang in depot.languages:
-                    if lang == "Neutral":
-                        lang = "*"
-                    if not lang in product_data:
-                        product_data[lang] = {"download_size": 0, "disk_size": 
0}
+                    # Normalize language code
+                    lang_code = "*" if lang == "Neutral" else lang
+                    parsed_lang = Language.parse(lang_code)
+                    lang_key = parsed_lang.code if parsed_lang else lang_code
                     
-                    product_data[lang]["download_size"] += depot.size
-                    product_data[lang]["disk_size"] += depot.size
+                    if lang_key not in product_data:
+                        product_data[lang_key] = {"download_size": 0, 
"disk_size": 0}
+                    
+                    product_data[lang_key]["download_size"] += depot.size
+                    product_data[lang_key]["disk_size"] += depot.size
         
         return data 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/heroic-gogdl-1.2.0/gogdl/dl/objects/v2.py 
new/heroic-gogdl-1.2.1/gogdl/dl/objects/v2.py
--- old/heroic-gogdl-1.2.0/gogdl/dl/objects/v2.py       2026-01-21 
11:20:18.000000000 +0100
+++ new/heroic-gogdl-1.2.1/gogdl/dl/objects/v2.py       2026-02-06 
15:17:40.000000000 +0100
@@ -107,16 +107,21 @@
         data = dict()
 
         for depot in self.all_depots:
-            if not depot.product_id in data:
+            if depot.product_id not in data:
                 data[depot.product_id] = dict()
                 data[depot.product_id]['*'] = {"download_size": 0, 
"disk_size": 0}
             product_data = data[depot.product_id]
+            
             for lang in depot.languages:
-                if not lang in product_data:
-                    product_data[lang] = {"download_size":0, "disk_size":0} 
+                # Map to standard language code
+                parsed_lang = Language.parse(lang)
+                lang_key = parsed_lang.code if parsed_lang else lang
                 
-                product_data[lang]["download_size"] += depot.compressed_size
-                product_data[lang]["disk_size"] += depot.size
+                if lang_key not in product_data:
+                    product_data[lang_key] = {"download_size": 0, "disk_size": 
0}
+                
+                product_data[lang_key]["download_size"] += 
depot.compressed_size
+                product_data[lang_key]["disk_size"] += depot.size
 
         return data 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/heroic-gogdl-1.2.0/gogdl/languages.py 
new/heroic-gogdl-1.2.1/gogdl/languages.py
--- old/heroic-gogdl-1.2.0/gogdl/languages.py   2026-01-21 11:20:18.000000000 
+0100
+++ new/heroic-gogdl-1.2.1/gogdl/languages.py   2026-02-06 15:17:40.000000000 
+0100
@@ -29,6 +29,8 @@
 
     @staticmethod
     def parse(val: str):
+        if val == '*':
+            return None
         for lang in LANGUAGES:
             if lang == val:
                 return lang
@@ -40,7 +42,7 @@
     Language("ar", "Arabic", "العربية", []),
     Language("az-AZ", "Azeri", "Azərbaycan­ılı", []),
     Language("be-BY", "Belarusian", "Беларускі", ["be"]),
-    Language("bn-BD", "Bengali", "বাংলা", ["bn_BD"]),
+    Language("bn-BD", "Bengali", "বাং", ["bn_BD"]),
     Language("bg-BG", "Bulgarian", "български", ["bg", "bl"]),
     Language("bs-BA", "Bosnian", "босански", []),
     Language("ca-ES", "Catalan", "Català", ["ca"]),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/heroic-gogdl-1.2.0/pyproject.toml 
new/heroic-gogdl-1.2.1/pyproject.toml
--- old/heroic-gogdl-1.2.0/pyproject.toml       2026-01-21 11:20:18.000000000 
+0100
+++ new/heroic-gogdl-1.2.1/pyproject.toml       2026-02-06 15:17:40.000000000 
+0100
@@ -31,7 +31,6 @@
   "Programming Language :: Python :: Implementation :: CPython"
 ]
 dependencies = [
-  "setuptools",
   "requests"
 ]
 dynamic = ["version"]

Reply via email to