Subject: pkg/20483: games/pysol pkg does not work with Python 2.2
To: None <gnats-bugs@gnats.netbsd.org>
From: Jeff Rizzo <riz@boogers.sf.ca.us>
List: netbsd-bugs
Date: 02/24/2003 16:50:15
>Number:         20483
>Category:       pkg
>Synopsis:       the games/pysol pkg does not work in default install w/python 2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 24 16:51:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Rizzo
>Release:        NetBSD 1.6.1_RC1
>Organization:
Jeff Rizzo                                         http://boogers.sf.ca.us/~riz
>Environment:
	
	
System: NetBSD hubba.boogers.sf.ca.us 1.6.1_RC1 NetBSD 1.6.1_RC1 (HUBBA-ALTQ) #1: Thu Jan 30 06:53:23 PST 2003 riz@random.tastylime.net:/usr/netbsd-16/src/sys/arch/i386/compile/HUBBA-ALTQ i386
Architecture: i386
Machine: i386
>Description:
	The python-based solitare game "pysol" in games/pysol does
	not work with Python 2.2, yet the default build will happily
	build it against python 2.2, producing a package that doesn't
	run.

>How-To-Repeat:
	Build the games/pysol package with python2.2 as the installed
	python on the system.

>Fix:
	The newest version of pysol, 4.81, corrects the problem.  The
	package is easily upgraded with the following patch, which does
	nothing more than change the version which is downloaded.  (The
	distinfo file must also be rebuilt, of course):


Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/pysol/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	2002/10/24 20:55:41	1.13
+++ Makefile	2003/02/25 00:46:36
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.13 2002/10/24 20:55:41 drochner Exp $
 # FreeBSD Id: ports/games/pysol/Makefile,v 1.20 1999/12/08 11:01:01 tg Exp
 
-DISTNAME=       pysol-4.72
+DISTNAME=       pysol-4.81
 CATEGORIES=	games
 MASTER_SITES=	http://wildsau.idv.uni-linz.ac.at/mfx/download/pysol/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${CARDSETS}${EXTRACT_SUFX}
>Release-Note:
>Audit-Trail:
>Unformatted: