summaryrefslogtreecommitdiff
path: root/games/pysolfc/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-03 10:55:26 +0000
committerwiz <wiz@pkgsrc.org>2022-01-03 10:55:26 +0000
commit857a7df72929b65cec564c7640174c3340a10bda (patch)
treef5a8b8aa22effca30e0c5e6e9d61bc194bb70064 /games/pysolfc/patches
parent55519e1d981e8c14db2b7355e12fd2be42df760b (diff)
downloadpkgsrc-857a7df72929b65cec564c7640174c3340a10bda.tar.gz
pysolfc: update to 2.14.1.
2.14.1 This release fixes a number of bugs, including one that causes crashes for some users when opening the select game/cardset/table tile window. 2.14.0 ** 16 new games ** Support for Python 3.10 (Minimum requirement is still Python 2.7) ** A new macOS package. ** Enhancements to the tree select dialogs for selecting games, cardsets, and table tiles. ** Further additions/improvements to the documentation. ** Many bugfixes and cleanups. 2.12.0 ** 40 new games! ** Support for using higher resolution cardsets. The high resolution "Neo" cardset has been added to the Windows Installer package and is available in https://sourceforge.net/projects/pysolfc/files/PySolFC-Cardsets/PySolFC-Cardsets-2.1PRE/[a preview release of PySolFC-Cardsets 2.1]. ** Improved organization and categorization of the games list. ** New display options - added option to center the game layout in the window. ** New audio options - can now disable music without disabling sound effects. ** Improved documentation - added rules to a large number of games that were missing them. ** Bugfixes and cleanup. 2.10.0 ** Fix moving cards in the Scorpion Tail game. ** Make use of https://pypi.org/project/pysol-cards/[the pysol-cards PyPI module] ** One can optionally load the Freecell Solver and the Black Hole Solver using their DLLs. ** Test Windows Version in the installer: https://github.com/shlomif/PySolFC/issues/161 ** Pause when showing statistics: https://github.com/shlomif/PySolFC/pull/162 2.8.0 ** Better kivy/Android support ** Using ttk and configobj as shipped in the python dist (instead of forked versions) ** Requiring https://pypi.org/project/attrs/[attrs] and https://pypi.org/project/pysol-cards/[pysol-cards] from PyPI ** Added tests, bug fixes and refactorings. ** Add the +-g+ and +--deal+ command line options.
Diffstat (limited to 'games/pysolfc/patches')
-rw-r--r--games/pysolfc/patches/patch-pysollib_pysolrandom.py17
-rw-r--r--games/pysolfc/patches/patch-pysollib_settings.py10
2 files changed, 5 insertions, 22 deletions
diff --git a/games/pysolfc/patches/patch-pysollib_pysolrandom.py b/games/pysolfc/patches/patch-pysollib_pysolrandom.py
deleted file mode 100644
index 1c563c2295e..00000000000
--- a/games/pysolfc/patches/patch-pysollib_pysolrandom.py
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-pysollib_pysolrandom.py,v 1.1 2019/06/06 21:53:44 adam Exp $
-
-Use standard random module.
-
---- pysollib/pysolrandom.py.orig 2019-06-06 19:34:50.000000000 +0000
-+++ pysollib/pysolrandom.py
-@@ -30,9 +30,7 @@ from pysollib.mfxutil import SubclassRes
- try:
- import random2
- except ImportError:
-- raise ImportError(
-- "You need to install " +
-- "https://pypi.python.org/pypi/random2 using pip or similar.")
-+ import random as random2
-
-
- # ************************************************************************
diff --git a/games/pysolfc/patches/patch-pysollib_settings.py b/games/pysolfc/patches/patch-pysollib_settings.py
index dc80029f1ea..8026f7f3dd4 100644
--- a/games/pysolfc/patches/patch-pysollib_settings.py
+++ b/games/pysolfc/patches/patch-pysollib_settings.py
@@ -1,17 +1,17 @@
-$NetBSD: patch-pysollib_settings.py,v 1.1 2019/06/06 21:53:44 adam Exp $
+$NetBSD: patch-pysollib_settings.py,v 1.2 2022/01/03 10:55:26 wiz Exp $
Use custom data dir.
---- pysollib/settings.py.orig 2008-11-15 13:04:30.000000000 -0800
-+++ pysollib/settings.py 2008-11-15 13:05:05.000000000 -0800
+--- pysollib/settings.py.orig 2021-12-11 00:44:30.000000000 +0000
++++ pysollib/settings.py
@@ -61,10 +61,7 @@ DATA_DIRS = []
# you can add your extra directories here
if os.name == 'posix':
DATA_DIRS = [
- '/usr/share/PySolFC',
- '/usr/local/share/PySolFC',
-- '/usr/games/PySolFC',
-- '/usr/local/games/PySolFC',
+- '/usr/share/games/PySolFC',
+- '/usr/local/share/games/PySolFC',
+ '@DATADIR@'
]
if os.name == 'nt':