summaryrefslogtreecommitdiff
path: root/cad/py-simpy
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-06-05 04:38:46 +0000
committerobache <obache@pkgsrc.org>2010-06-05 04:38:46 +0000
commit6285dfe05dad0ed4befa11b2712305d4d0250d38 (patch)
tree06ddf5b1f65293aada3793f863985cf48b0f3e0f /cad/py-simpy
parenteca8a0ab8d241a88a8d8ead4a92496ccb7ce61ae (diff)
downloadpkgsrc-6285dfe05dad0ed4befa11b2712305d4d0250d38.tar.gz
Update py-simpy to 2.1.0.
Based on PR#43410 by Wen Heping. * add math to CATEGORIES. * set LICENSE=gnu-lgpl-v2.1. * add PyPi to MASTER_SITES. * fixes test target. * simplify PKGNAME. Major changes from 2.0.1 are: * A SimPy debugger which allows users to interactively step through their simulation models. Not just for debugging, but also great for learning and teaching SimPy! * A new document, describing API and tools for gaining insight into and debugging SimPy models. * Two tutorials showing the use of SimPy's advanced object oriented API.
Diffstat (limited to 'cad/py-simpy')
-rw-r--r--cad/py-simpy/Makefile17
-rw-r--r--cad/py-simpy/PLIST8
-rw-r--r--cad/py-simpy/distinfo8
3 files changed, 22 insertions, 11 deletions
diff --git a/cad/py-simpy/Makefile b/cad/py-simpy/Makefile
index a7f3cc066d0..11b5356ef0b 100644
--- a/cad/py-simpy/Makefile
+++ b/cad/py-simpy/Makefile
@@ -1,21 +1,26 @@
-# $NetBSD: Makefile,v 1.9 2009/12/16 17:53:50 drochner Exp $
+# $NetBSD: Makefile,v 1.10 2010/06/05 04:38:46 obache Exp $
#
-DISTNAME= SimPy-2.0.1
-PKGNAME= ${PYPKGPREFIX}-simpy-2.0.1
-CATEGORIES= cad
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=simpy/}
+DISTNAME= SimPy-2.1.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES= cad math
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=simpy/} \
+ http://pypi.python.org/packages/source/S/SimPy/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://simpy.sourceforge.net/
COMMENT= Discrete event simulation framework
+LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
PYDISTUTILSPKG= yes
+TEST_ENV+= PYTHONPATH=${WRKSRC:Q}/build/lib
+
do-test:
- (cd ${WRKSRC} && ${PYTHONBIN} SimPy/testSimPy.py)
+ ${RUN} cd ${WRKSRC}; \
+ ${SETENV} ${TEST_ENV} ${PYTHONBIN} SimPy/testSimPy.py
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/cad/py-simpy/PLIST b/cad/py-simpy/PLIST
index 3bea786fc2d..625cafe20ef 100644
--- a/cad/py-simpy/PLIST
+++ b/cad/py-simpy/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2009/12/16 17:53:50 drochner Exp $
+@comment $NetBSD: PLIST,v 1.4 2010/06/05 04:38:46 obache Exp $
${PYSITELIB}/SimPy/GUIDebug.py
${PYSITELIB}/SimPy/GUIDebug.pyc
${PYSITELIB}/SimPy/GUIDebug.pyo
@@ -44,6 +44,9 @@ ${PYSITELIB}/SimPy/SimulationTrace.pyo
${PYSITELIB}/SimPy/__init__.py
${PYSITELIB}/SimPy/__init__.pyc
${PYSITELIB}/SimPy/__init__.pyo
+${PYSITELIB}/SimPy/stepping.py
+${PYSITELIB}/SimPy/stepping.pyc
+${PYSITELIB}/SimPy/stepping.pyo
${PYSITELIB}/SimPy/testRT_Behavior.py
${PYSITELIB}/SimPy/testRT_Behavior.pyc
${PYSITELIB}/SimPy/testRT_Behavior.pyo
@@ -74,6 +77,9 @@ ${PYSITELIB}/SimPy/testSimPyTrace.pyo
${PYSITELIB}/SimPy/testSimPyTraceOO.py
${PYSITELIB}/SimPy/testSimPyTraceOO.pyc
${PYSITELIB}/SimPy/testSimPyTraceOO.pyo
+${PYSITELIB}/SimPy/testSimPy_simident.py
+${PYSITELIB}/SimPy/testSimPy_simident.pyc
+${PYSITELIB}/SimPy/testSimPy_simident.pyo
${PYSITELIB}/SimPy/tkconsole.py
${PYSITELIB}/SimPy/tkconsole.pyc
${PYSITELIB}/SimPy/tkconsole.pyo
diff --git a/cad/py-simpy/distinfo b/cad/py-simpy/distinfo
index 73f6b019553..afb2e2a1d43 100644
--- a/cad/py-simpy/distinfo
+++ b/cad/py-simpy/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2009/12/16 17:53:50 drochner Exp $
+$NetBSD: distinfo,v 1.5 2010/06/05 04:38:46 obache Exp $
-SHA1 (SimPy-2.0.1.tar.gz) = 4d34bb66faa69938e6f3c3a24089b3307e4d12fd
-RMD160 (SimPy-2.0.1.tar.gz) = 03f07dbb5a396a715c5cfe02e01084b311167139
-Size (SimPy-2.0.1.tar.gz) = 4812183 bytes
+SHA1 (SimPy-2.1.0.tar.gz) = f26b3e6d3e4bfa404b5e0c72b2ea5e6b6ce54e6a
+RMD160 (SimPy-2.1.0.tar.gz) = 07da2d6f881b3029e5fb1db116ee30d12f654743
+Size (SimPy-2.1.0.tar.gz) = 4342621 bytes