PySolFC is a collection of more than 1000 solitaire card games. It is a fork
of PySol Solitaire. There are games that use the 52 card International Pattern deck, games for the 78 card Tarock deck, eight and ten suit Ganjifa games, Hanafuda games, Matrix games, Mahjongg games, and games for an original hexadecimal-based deck. Its features include modern look and feel (uses Ttk widget set), multiple cardsets and tableau backgrounds, sound, unlimited undo, player statistics, a hint system, demo games, a solitaire wizard, support for user written plug-ins, an integrated HTML help browser, and lots of documentation. OK sthen@
This commit is contained in:
parent
fcab0c5ac5
commit
73dea76a69
33
games/pysol/Makefile
Normal file
33
games/pysol/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2015/05/25 07:10:45 czarkoff Exp $
|
||||
COMMENT = solitaire card games collection
|
||||
MODPY_EGG_VERSION = 2.0
|
||||
DISTNAME = PySolFC-${MODPY_EGG_VERSION}
|
||||
PKGNAME = pysol-${MODPY_EGG_VERSION}
|
||||
CATEGORIES = games
|
||||
|
||||
HOMEPAGE = http://pysolfc.sourceforge.net/
|
||||
|
||||
MAINTAINER = Dmitrij D. Czarkoff <czarkoff@gmail.com>
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pysolfc/}
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
|
||||
MODULES = lang/python \
|
||||
x11/gnome
|
||||
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
|
||||
MODGNOME_TOOLS = desktop-file-utils gtk-update-icon-cache
|
||||
|
||||
RUN_DEPENDS = ${MODPY_TKINTER_DEPENDS} \
|
||||
devel/pygame \
|
||||
graphics/py-Pillow
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
post-install:
|
||||
mv ${PREFIX}/bin/pysol{.py,}
|
||||
${MODPY_BIN_ADJ} ${PREFIX}/share/PySolFC/themes/clearlooks/create_imgs.py
|
||||
|
||||
.include <bsd.port.mk>
|
2
games/pysol/distinfo
Normal file
2
games/pysol/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (PySolFC-2.0.tar.bz2) = 28uOfm0EecIwdFor6RwMm56FJEB80gdfLa4UTl1EG2w=
|
||||
SIZE (PySolFC-2.0.tar.bz2) = 4208776
|
14
games/pysol/patches/patch-data_pysol_desktop
Normal file
14
games/pysol/patches/patch-data_pysol_desktop
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-data_pysol_desktop,v 1.1.1.1 2015/05/25 07:10:45 czarkoff Exp $
|
||||
--- data/pysol.desktop.orig Fri Jun 6 08:58:50 2008
|
||||
+++ data/pysol.desktop Sun May 24 23:52:58 2015
|
||||
@@ -1,8 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=PySol Fan Club Edition
|
||||
-Exec=pysol.py
|
||||
+Exec=pysol
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;CardGame;
|
||||
-Icon=/usr/share/icons/pysol01.png
|
||||
+Icon=pysol01
|
25
games/pysol/patches/patch-pysollib_mfxutil_py
Normal file
25
games/pysol/patches/patch-pysollib_mfxutil_py
Normal file
@ -0,0 +1,25 @@
|
||||
$OpenBSD: patch-pysollib_mfxutil_py,v 1.1.1.1 2015/05/25 07:10:45 czarkoff Exp $
|
||||
--- pysollib/mfxutil.py.orig Thu Dec 3 09:49:41 2009
|
||||
+++ pysollib/mfxutil.py Mon Nov 17 11:58:18 2014
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
# imports
|
||||
import sys, os, time, types, locale
|
||||
-import webbrowser
|
||||
+import thread, webbrowser
|
||||
|
||||
try:
|
||||
from cPickle import Pickler, Unpickler, UnpicklingError
|
||||
@@ -287,11 +287,4 @@ def unpickle(filename):
|
||||
# ************************************************************************
|
||||
|
||||
def openURL(url):
|
||||
- try:
|
||||
- webbrowser.open(url)
|
||||
- except OSError: # raised on windows if link is unreadable
|
||||
- pass
|
||||
- except:
|
||||
- return 0
|
||||
- return 1
|
||||
-
|
||||
+ thread.start_new_thread(webbrowser.open, (url,))
|
13
games/pysol/patches/patch-setup_py
Normal file
13
games/pysol/patches/patch-setup_py
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1.1.1 2015/05/25 07:10:45 czarkoff Exp $
|
||||
--- setup.py.orig Fri Jun 6 08:58:55 2008
|
||||
+++ setup.py Sun May 24 23:44:32 2015
|
||||
@@ -40,8 +40,7 @@ for d in ddirs:
|
||||
data_files.append((os.path.join(data_dir, root[5:]), files))
|
||||
|
||||
if os.name == 'posix':
|
||||
- data_files.append(('share/pixmaps', ['data/pysol.xbm', 'data/pysol.xpm']))
|
||||
- data_files.append(('share/icons',
|
||||
+ data_files.append(('share/pixmaps',
|
||||
['data/images/misc/pysol01.png',
|
||||
'data/images/misc/pysol02.png',]))
|
||||
for l in ('ru', 'ru_RU'):
|
11
games/pysol/pkg/DESCR
Normal file
11
games/pysol/pkg/DESCR
Normal file
@ -0,0 +1,11 @@
|
||||
PySolFC is a collection of more than 1000 solitaire card games. It is a fork
|
||||
of PySol Solitaire.
|
||||
|
||||
There are games that use the 52 card International Pattern deck, games for the
|
||||
78 card Tarock deck, eight and ten suit Ganjifa games, Hanafuda games, Matrix
|
||||
games, Mahjongg games, and games for an original hexadecimal-based deck.
|
||||
|
||||
Its features include modern look and feel (uses Ttk widget set), multiple
|
||||
cardsets and tableau backgrounds, sound, unlimited undo, player statistics, a
|
||||
hint system, demo games, a solitaire wizard, support for user written
|
||||
plug-ins, an integrated HTML help browser, and lots of documentation.
|
2799
games/pysol/pkg/PLIST
Normal file
2799
games/pysol/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user