Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2007 02:26:05 +0800 (CST)
From:      Li-Wen Hsu <lwhsu@lwhsu.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        xride@FreeBSD.org, lwhsu@lwhsu.org
Subject:   ports/109240: [PATCH] devel/py-simpy: update to 1.8
Message-ID:  <200702161826.l1GIQ5Nu064430@jail0.lwhsu.csie.net>
Resent-Message-ID: <200702161830.l1GIU46U050368@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109240
>Category:       ports
>Synopsis:       [PATCH] devel/py-simpy: update to 1.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 16 18:30:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Li-Wen Hsu
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD jail0.lwhsu.csie.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jan 26 00:04:54 CST 2007
>Description:
- Update to 1.8
- Change DOCSDIR and EXAMPLESDIR, I think adding "py-" prefix is more suitable
- Add py-tkinter into RUN_DEPENDS and a option for it, since some plot functions need it

Port maintainer (xride@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- py24-simpy-1.8.patch begins here ---
diff -ruN -ruN --exclude=CVS /usr/ports/devel/py-simpy/Makefile /home/lwhsu/ports/devel/py-simpy/Makefile
--- /usr/ports/devel/py-simpy/Makefile	Sat Sep 30 06:01:21 2006
+++ /home/lwhsu/ports/devel/py-simpy/Makefile	Sat Feb 17 02:23:58 2007
@@ -6,7 +6,7 @@
 # $FreeBSD: ports/devel/py-simpy/Makefile,v 1.6 2006/09/29 22:01:21 xride Exp $
 
 PORTNAME=	simpy
-PORTVERSION=	1.7.1
+PORTVERSION=	1.8
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,11 +16,22 @@
 MAINTAINER=	xride@FreeBSD.org
 COMMENT=	Simulation in Python
 
-USE_PYTHON=	2.2+
+USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 
+OPTIONS=	TKINTER		"Install py-tkinter for plot"      off
+OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
+
 .if !defined(NOPORTDOCS)
 PORTDOCS=	*
+DOCSDIR=	${TARGETDIR}/share/doc/py-${PORTNAME}
+.endif
+EXAMPLESDIR=	${TARGETDIR}/share/examples/py-${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TKINTER)
+RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
 .endif
 
 post-install:
@@ -33,4 +44,4 @@
 	(cd ${WRKSRC}/SimPyModels && ${FIND} . | \
 		${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR})
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN -ruN --exclude=CVS /usr/ports/devel/py-simpy/distinfo /home/lwhsu/ports/devel/py-simpy/distinfo
--- /usr/ports/devel/py-simpy/distinfo	Wed Sep 13 03:27:02 2006
+++ /home/lwhsu/ports/devel/py-simpy/distinfo	Sat Feb 17 02:23:58 2007
@@ -1,3 +1,3 @@
-MD5 (SimPy-1.7.1.tar.gz) = 3ec045f8d02fc1008258d00d0f97c7ff
-SHA256 (SimPy-1.7.1.tar.gz) = 32cc8eb49b04c74c39b629086471b5e04c0efe9eb52e70de14036b0894a33097
-SIZE (SimPy-1.7.1.tar.gz) = 1137394
+MD5 (SimPy-1.8.tar.gz) = 7abc6365009375b6f3d814288eeeb283
+SHA256 (SimPy-1.8.tar.gz) = 041fba78eaf040002e7ebaed3e7b1988b31f9199c3124f74900159e4be56c83a
+SIZE (SimPy-1.8.tar.gz) = 2373837
diff -ruN -ruN --exclude=CVS /usr/ports/devel/py-simpy/pkg-plist /home/lwhsu/ports/devel/py-simpy/pkg-plist
--- /usr/ports/devel/py-simpy/pkg-plist	Wed Sep 13 03:27:02 2006
+++ /home/lwhsu/ports/devel/py-simpy/pkg-plist	Sat Feb 17 02:23:58 2007
@@ -60,16 +60,16 @@
 %%EXAMPLESDIR%%/SimGUIStep.py
 %%EXAMPLESDIR%%/SimPy_worker_extend.py
 %%EXAMPLESDIR%%/WidgetPacking.py
-%%EXAMPLESDIR%%/airport.py
+%%EXAMPLESDIR%%/bakery.py
 %%EXAMPLESDIR%%/bank08renege.py
 %%EXAMPLESDIR%%/bank11GUI.py
 %%EXAMPLESDIR%%/bank11Plot.py
 %%EXAMPLESDIR%%/bcc.py
+%%EXAMPLESDIR%%/callCenter.py
 %%EXAMPLESDIR%%/cellphone.py
 %%EXAMPLESDIR%%/centralserver.py
 %%EXAMPLESDIR%%/demoSimPyEvents.py
 %%EXAMPLESDIR%%/jacksonnetwork.py
-%%EXAMPLESDIR%%/lemmings.py
 %%EXAMPLESDIR%%/needResources.py
 %%EXAMPLESDIR%%/shortestPath_SimPy.py
 @dirrm %%EXAMPLESDIR%%
--- py24-simpy-1.8.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702161826.l1GIQ5Nu064430>