mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
games/brainworkshop: update 5.0.2 → 5.0.3
This commit is contained in:
parent
0e161e1bd0
commit
dacfdd233d
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user