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.
This commit is contained in:
obache 2010-06-05 04:38:46 +00:00
parent eca8a0ab8d
commit 6285dfe05d
3 changed files with 22 additions and 11 deletions

View file

@ -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"

View file

@ -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

View file

@ -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