git: dacfdd233d06 - main - games/brainworkshop: update 5.0.2 → 5.0.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Apr 2024 00:09:54 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=dacfdd233d06cdfaedca5046ff1c5ea3485ca7c5 commit dacfdd233d06cdfaedca5046ff1c5ea3485ca7c5 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2024-04-04 20:10:04 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2024-04-09 00:08:47 +0000 games/brainworkshop: update 5.0.2 → 5.0.3 --- games/brainworkshop/Makefile | 6 +++--- games/brainworkshop/distinfo | 6 +++--- games/brainworkshop/files/patch-brainworkshop.py | 19 ++++--------------- 3 files changed, 10 insertions(+), 21 deletions(-) diff --git a/games/brainworkshop/Makefile b/games/brainworkshop/Makefile index c0ccb9440694..f045317b1968 100644 --- a/games/brainworkshop/Makefile +++ b/games/brainworkshop/Makefile @@ -1,14 +1,14 @@ PORTNAME= brainworkshop DISTVERSIONPREFIX= v -DISTVERSION= 5.0.2 -PORTREVISION= 1 +DISTVERSION= 5.0.3 CATEGORIES= games python MAINTAINER= amdmi3@FreeBSD.org COMMENT= Dual N-Back mental exercise WWW= https://github.com/samcv/brainworkshop -LICENSE= GPLv1+ # version not specified +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSE.md RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyglet1>=0:graphics/py-pyglet1@${PY_FLAVOR} diff --git a/games/brainworkshop/distinfo b/games/brainworkshop/distinfo index cc59e17f3886..4ca65abd5387 100644 --- a/games/brainworkshop/distinfo +++ b/games/brainworkshop/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647450762 -SHA256 (brain-workshop-brainworkshop-v5.0.2_GH0.tar.gz) = 32e5e06908203d8de4353f8837830e583c2c94db4f6f33c33145b5875323561b -SIZE (brain-workshop-brainworkshop-v5.0.2_GH0.tar.gz) = 7998711 +TIMESTAMP = 1712260864 +SHA256 (brain-workshop-brainworkshop-v5.0.3_GH0.tar.gz) = 81fcdde02c34fb057801e9692189ee934e5afea7d475685480cc34d5a4db9c90 +SIZE (brain-workshop-brainworkshop-v5.0.3_GH0.tar.gz) = 8005691 diff --git a/games/brainworkshop/files/patch-brainworkshop.py b/games/brainworkshop/files/patch-brainworkshop.py index 236dd803a690..44519d2b2207 100644 --- a/games/brainworkshop/files/patch-brainworkshop.py +++ b/games/brainworkshop/files/patch-brainworkshop.py @@ -1,16 +1,7 @@ ---- brainworkshop.py.orig 2021-05-08 11:38:01 UTC +--- brainworkshop.py.orig 2023-01-15 15:36:39 UTC +++ brainworkshop.py -@@ -41,7 +41,7 @@ def get_argv(arg): - error_msg("Expected an argument following %s" % arg) - exit(1) +@@ -69,9 +69,9 @@ if sys.version_info >= (3,0): --import random, os, sys, imp, socket, webbrowser, time, math, traceback, datetime, errno -+import random, os, sys, socket, webbrowser, time, math, traceback, datetime, errno - if sys.version_info >= (3,0): - import urllib.request, configparser as ConfigParser - from io import StringIO -@@ -56,9 +56,9 @@ from datetime import date - import gettext if sys.version_info >= (3,0): # TODO check if this is right - gettext.install('messages', localedir='res/i18n') @@ -21,14 +12,12 @@ # Clinical mode? Clinical mode sets cfg.JAEGGI_MODE = True, enforces a minimal user # interface, and saves results into a binary file (default 'logfile.dat') which -@@ -137,14 +137,8 @@ def get_pyglet_media_Player(): +@@ -150,12 +150,8 @@ def get_pyglet_media_Player(): return my_player # some functions to assist in path determination -def main_is_frozen(): -- return (hasattr(sys, "frozen") or # new py2exe -- hasattr(sys, "importers") # old py2exe -- or imp.is_frozen("__main__")) # tools/freeze +- return hasattr(sys, "frozen") # py2exe def get_main_dir(): - if main_is_frozen(): - return os.path.dirname(sys.executable)