Hello community,

here is the log from the commit of package ski for openSUSE:Leap:15.2 checked 
in at 2020-04-05 17:07:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/ski (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.ski.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ski"

Sun Apr  5 17:07:08 2020 rev:11 rq:789982 version:6.13

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/ski/ski.changes        2020-01-15 
16:02:54.083908956 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.ski.new.3248/ski.changes      2020-04-05 
17:07:15.634225508 +0200
@@ -1,0 +2,7 @@
+Mon Mar 30 11:21:50 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Update to 6.13:
+  * Rehosted at GitLab
+  * Prevent ski from aborting in the Homebrew test environment.
+
+-------------------------------------------------------------------

Old:
----
  ski-6.11.tar.gz

New:
----
  ski-6.13.tar.gz

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

Other differences:
------------------
++++++ ski.spec ++++++
--- /var/tmp/diff_new_pack.Fpj7RW/_old  2020-04-05 17:07:16.086225990 +0200
+++ /var/tmp/diff_new_pack.Fpj7RW/_new  2020-04-05 17:07:16.090225994 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ski
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,25 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           ski
-Version:        6.11
+Version:        6.13
 Release:        0
 Summary:        Skiing simulation with curses interface in python
 License:        BSD-3-Clause
 Group:          Amusements/Games/Action/Race
-Url:            http://catb.org/~esr/ski/
+URL:            http://catb.org/~esr/ski/
 Source0:        http://www.catb.org/~esr/%{name}/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM - ski-ski.desktop.patch -- Adjust to Desktop Menu 
Specification
 Patch0:         %{name}-%{name}.desktop.patch
-%if 0%{?suse_version}
-BuildRequires:  update-desktop-files
-%endif
 Requires:       python3
 Requires:       python3-curses
 Requires:       python3-pygame
+BuildRequires:  update-desktop-files
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Imagine you are skiing down an infinite slope, facing such hazards as
@@ -51,22 +48,21 @@
 %patch0
 
 %build
-make %{?_smp_mflags} CFLAGS="%{optflags}"
+%make_build CFLAGS="%{optflags}"
 
 %install
 %make_install
 
-%if 0%{?suse_version}
-    %suse_update_desktop_file %{name}
-%endif
+%suse_update_desktop_file %{name}
 
 %files
-%defattr(-,root,root,-)
-%doc COPYING NEWS README
+%license COPYING
+%doc NEWS README
+%dir %{_datadir}/appdata/
 %{_bindir}/%{name}
-%{_mandir}/man6/%{name}.6%{ext_man}
-%{_datadir}/appdata/
+%{_datadir}/appdata/ski.xml
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/pixmaps/%{name}.png
+%{_mandir}/man6/%{name}.6%{?ext_man}
 
 %changelog

++++++ ski-6.11.tar.gz -> ski-6.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ski-6.11/Makefile new/ski-6.13/Makefile
--- old/ski-6.11/Makefile       2016-02-18 14:24:59.000000000 +0100
+++ new/ski-6.13/Makefile       2019-04-26 20:24:26.000000000 +0200
@@ -43,7 +43,7 @@
 PYLINTOPTS = --rcfile=/dev/null --reports=n \
        --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" \
        --dummy-variables-rgx='^_'
-SUPPRESSIONS = 
"C0103,C0111,C0301,C0325,C0326,C0330,C1001,R0902,R0911,R0912,W0621,W0622,W0141"
+SUPPRESSIONS = 
"C0103,C0111,C0301,C0325,C0326,C0330,C0410,C1001,R0902,R0911,R0912,W0621,W0622,W0141"
 pylint:
        @pylint $(PYLINTOPTS) --disable=$(SUPPRESSIONS) ski
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ski-6.11/NEWS new/ski-6.13/NEWS
--- old/ski-6.11/NEWS   2016-02-18 14:27:22.000000000 +0100
+++ new/ski-6.13/NEWS   2019-04-26 20:52:10.000000000 +0200
@@ -1,7 +1,13 @@
                                ski project history
 
+6.2: 2019-04-26
+  Rehosted at GitLab.
+
+6.12: 2016-02-02
+  Prevent ski from aborting in the Homebrew test environment.
+
 6.11: 2016-02-18
-  Tweaked to run either on Python2 pr Python3.
+  Tweaked to run either on Python2 or Python3.
 
 6.10: 2016-01-27
   Ported to Python 3.
@@ -27,7 +33,7 @@
 
 6.2: 2003-12-31
   Emit reset on keyboard interrupt, just in case user bails out in the
-  middle af a row refresh.  Fix bug in ! command interpretation.
+  middle of a row refresh.  Fix bug in ! command interpretation.
   Terrain key is now colorized.
 
 6.1: 2003-12-30
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ski-6.11/README new/ski-6.13/README
--- old/ski-6.11/README 2006-05-15 21:40:26.000000000 +0200
+++ new/ski-6.13/README 2019-04-26 20:20:50.000000000 +0200
@@ -28,3 +28,5 @@
 >1981.  Your Python version should keep Ski! viable for another 10-20
 >years, but I might try to put up a Ruby version for the heck of it....
 
+Years later I learned that the game had originally been written to use
+VT-100 terminals.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ski-6.11/control new/ski-6.13/control
--- old/ski-6.11/control        2015-04-03 10:36:14.000000000 +0200
+++ new/ski-6.13/control        2019-04-26 20:29:27.000000000 +0200
@@ -20,11 +20,7 @@
 
 XBS-HTML-Target: index.html
 
-XBS-Repository-URL: http://thyrsus.com/gitweb/?p=ski.git
-
-XBS-Developer-Clone: [email protected]:ski
-
-XBS-Anonymous-Clone: git://thyrsus.com/repositories/ski.git
+XBS-Repository-URL: https://gitlab.com/esr/ski
 
 XBS-Logo: ski.png
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ski-6.11/ski new/ski-6.13/ski
--- old/ski-6.11/ski    2016-02-18 14:27:34.000000000 +0100
+++ new/ski-6.13/ski    2019-04-26 20:51:36.000000000 +0200
@@ -19,7 +19,7 @@
 
 import time, random, curses, copy, sys, os
 
-version = "6.11"
+version = "6.13"
 
 REP_SNOW       = '.'
 REP_TREE       = 'Y'
@@ -69,7 +69,7 @@
 PROB_SLIP_ON_ICE       = 2.0   # Of slipping when on ice.
 PROB_FALL_ON_GROUND    = 10.0  # Of falling down on bare ground.
 PROB_HIT_TREE          = 25.0  # Of hitting tree, each turn in trees
-PROB_BAD_LANDING       = 3.0   # Of land badly from jump or hop.
+PROB_BAD_LANDING       = 3.0   # Of landing badly from jump or hop.
 
 # Number of points awarded to the player for the successful completion
 # of one jump.  For scoring purposes, a hop is considered to consist
@@ -454,12 +454,12 @@
 
 def colorize(picture):
     "Colorize special characters in a display list."
-    for i in range(len(picture)):
-        if (i == 0 or (picture[i] != picture[i-1][-1])):
-            if picture[i] in colordict:
-                picture[i] = colordict[picture[i]].decode("ascii") + picture[i]
+    for (i, c) in enumerate(picture):
+        if (i == 0 or (c != picture[i-1][-1])):
+            if c in colordict:
+                picture[i] = colordict[c].decode("ascii") + c
             else:
-                picture[i] = reset + picture[i]
+                picture[i] = reset + c
     picture += reset
     return "".join(picture)
 
@@ -481,7 +481,7 @@
             colordict[ch] = curses.tparm(color, idx)
         else:
             colordict[ch] = ""
-    reset = curses.tigetstr("sgr0").decode("ascii") or ""
+    reset = (curses.tigetstr("sgr0") or "").decode("ascii")
     terrain_key = colorize(terrain_key)
 
     print("SKI!  Version %s.  Type ? for help." % version)


Reply via email to