1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

add py-simpy 1.4.2

Simulation in Python
This commit is contained in:
Ying-Chieh Liao 2004-06-29 09:05:34 +00:00
parent aeede4bd13
commit d844b23ecd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112525
4 changed files with 55 additions and 0 deletions

View File

@ -1087,6 +1087,7 @@
SUBDIR += py-ro
SUBDIR += py-roxlib
SUBDIR += py-simpleparse
SUBDIR += py-simpy
SUBDIR += py-sip
SUBDIR += py-spark
SUBDIR += py-statgrab

42
devel/py-simpy/Makefile Normal file
View File

@ -0,0 +1,42 @@
# ex:ts=8
# Ports collection makefile for: py-simpy
# Date created: Jun 29, 2004
# Whom: ijliao
#
# $FreeBSD$
PORTNAME= simpy
PORTVERSION= 1.4.2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= SimPy-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simulation in Python
USE_PYTHON= 2.2+
USE_PYDISTUTILS= yes
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
post-install:
@${FIND} ${PYTHON_SITELIBDIR}/SimPy ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHON_SITELIBDIR}/SimPy -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/SimPyDocs/ ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/SimPyModels/ ${EXAMPLESDIR}
@${FIND} ${EXAMPLESDIR} ! -type d | \
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endif
.include <bsd.port.mk>

2
devel/py-simpy/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (SimPy-1.4.2.tar.gz) = 305062bed36bd89d0e70153f0e529d55
SIZE (SimPy-1.4.2.tar.gz) = 480915

10
devel/py-simpy/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
SimPy (= Simulation in Python) is an object-oriented, process-based discrete-
event simulation language based on standard Python and released under the GNU
GPL. It provides the modeler with components of a simulation model including
processes, for active components like customers, messages, and vehicles, and
resources, for passive components that form limited capacity congestion points
like servers, checkout counters, and tunnels. It also provides monitor variables
to aid in gathering statistics. Random variates are provided by the standard
Python random module.
WWW: http://simpy.sourceforge.net/