From nobody Tue Apr 09 00:09:54 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VD5tq1D4jz5G7Xn; Tue, 9 Apr 2024 00:09:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VD5tq014Dz4Zvh; Tue, 9 Apr 2024 00:09:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712621395; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uADW+S6+Gr/OGE3mI+Ajg9xZq3RWZMvwNgjbPXW+Q7U=; b=U25tw/xs52z5wwD0zCTU4BKdwnxHbPLLr7dop1ETL2zrIOik/e/UEz0AT7ufkLTjKiBzi4 y1WLb6TLWoabmzS7o3m1FfQk7N4kKc9peBxviQFg/x8uoDYZKV5kcgN43GTZRanhfPYHOh Nargjdu/FdbxNJGetf1Pbz9Zf3u2O74ATNOHtdpStalu8RqQPshaRgi4OX5KHNOadLoWLw n/87gxmxaQPmZ1uZx+4trGcTxuznWA99iXp/gp3BNLPSP1BOHRcG9mSKxV7X3w7WJhv4Ca j8BQwvdCD0tpPMxUwTbXrhc17A3NRIdr5KfG65gHbXa+skthj7Tof54vdJP5hA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712621395; a=rsa-sha256; cv=none; b=fMabr1z6dCytGMq00kPYqOof+juS7MGmm2x5HWz6KWHwwIWuvUwWk41E8AxHPSpQIhRI4T d4cHelKw9aS7hQiFojxRuxkfugz2Go1SvlgmlEX+h3lkBSEknMw9tsVhNDzyVXpQRfoSvD chSFlAwRoofZyrLfi0WVAHb0NjYvcaNjGYY7sBUACjkPo7wzChhPmUhEy/HxuyrHvRKJ29 DBtNADozc/wDKBdJmrHa3s80/xN7x7Fft3hxwbjDRsUFd21Uz9O/GDnMhNtDU9z0WTVzMt 7uPyxwQ/d+pGU2ZnG8LylAlcuDBOwc4C+qJWv0izyvUZtzaXBNWi25qN3vsTKw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712621395; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uADW+S6+Gr/OGE3mI+Ajg9xZq3RWZMvwNgjbPXW+Q7U=; b=p3pX6+n049IeFCJQ9w/zUjZYQdp9XFvirrNEM67TbpZXP0ve1tSO3fRP7drEB7Abmx3LPo 6EL76XOXT70wu4ZfOQ3ZPFZAiJf45iboScNFMCml1vUatWf/mZrfTwYUIoedqUipI9u0uR W5uw/xnJnBPv7bByaYY5uEtNu9KtQVBlI5EEr+p6r1+Cz/49ztwh5MwIEcfbUYSWyDROwt cbERMs/eYGmf0pMAddqmZ1ml+jl5y5e0lsu4SqKAvxZWvAvkAIP73lCynxjfm6XR/ElDg8 pnONqkksx4Tud6pvtaPAR7HwkgiWwSyWqtEr2XEEDlTRFB4TIwPJqsSDNJS5VQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VD5tp6l3ZzY9S; Tue, 9 Apr 2024 00:09:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43909sFO015974; Tue, 9 Apr 2024 00:09:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43909snX015971; Tue, 9 Apr 2024 00:09:54 GMT (envelope-from git) Date: Tue, 9 Apr 2024 00:09:54 GMT Message-Id: <202404090009.43909snX015971@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: dacfdd233d06 - main - games/brainworkshop: update 5.0.2 =?utf-8?Q?=E2=86=92?= 5.0.3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dacfdd233d06cdfaedca5046ff1c5ea3485ca7c5 Auto-Submitted: auto-generated The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=dacfdd233d06cdfaedca5046ff1c5ea3485ca7c5 commit dacfdd233d06cdfaedca5046ff1c5ea3485ca7c5 Author: Dmitry Marakasov AuthorDate: 2024-04-04 20:10:04 +0000 Commit: Dmitry Marakasov 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)