diff options
author | wen <wen@pkgsrc.org> | 2015-07-12 07:56:09 +0000 |
---|---|---|
committer | wen <wen@pkgsrc.org> | 2015-07-12 07:56:09 +0000 |
commit | 955cd07dffd4e52b660527fdec385fa879b4ede3 (patch) | |
tree | 0228e6730c303ed3cd8e1e229051767ff2a155ac /cad | |
parent | 1286c9d6f85d04741601a2366377b20a09a1adce (diff) | |
download | pkgsrc-955cd07dffd4e52b660527fdec385fa879b4ede3.tar.gz |
Update to 3.0.8
Update LICENSE HOMEPAGE and MASTER_SITES
Now it is python3 compatible
Complete test target
Upstream changes:
3.0.8 2015-06-23
[NEW] Added a monitoring guide to the documentation.
[FIX] Improved packaging (thanks to Larissa Reis).
[FIX] Fixed and improved various test cases.
3.0.7 2015-03-01
[FIX] State of resources and requests were inconsistent before the request has been processed (issue #62).
[FIX] Empty conditions were never triggered (regression in 3.0.6, issue #63).
[FIX] Environment.run() will fail if the until event does not get triggered (issue #64).
[FIX] Callback modification during event processing is now prohibited (thanks to Andreas Beham).
3.0.6 - 2015-01-30
[NEW] Guide to SimPy resources.
[CHANGE] Improve performance of condition events.
[CHANGE] Improve performance of filter store (thanks to Christoph Körner).
[CHANGE] Exception tracebacks are now more compact.
[FIX] AllOf conditions handle already processed events correctly (issue #52).
[FIX] Add sync() to RealtimeEnvironment to reset its internal wall-clock reference time (issue #42).
[FIX] Only send copies of exceptions into processes to prevent traceback modifications.
[FIX] Documentation improvements.
3.0.5 2014-05-14
[CHANGE] Move interruption and all of the safety checks into a new event (pull request #30)
[FIX] FilterStore.get() now behaves correctly (issue #49).
[FIX] Documentation improvements.
3.0.4 2014-04-07
[NEW] Verified, that SimPy works on Python 3.4.
[NEW] Guide to SimPy events
[CHANGE] The result dictionary for condition events (AllOF / & and AnyOf / |) now is an OrderedDict sorted in the same way as the original events list.
[CHANGE] Condition events now also except processed events.
[FIX] Resource.request() directly after Resource.release() no longer successful. The process now has to wait as supposed to.
[FIX] Event.fail() now accept all exceptions derived from BaseException instead of only Exception.
3.0.3 2014-03-06
[NEW] Guide to SimPy basics.
[NEW] Guide to SimPy Environments.
[FIX] Timing problems with real time simulation on Windows (issue #46).
[FIX] Installation problems on Windows due to Unicode errors (issue #41).
[FIX] Minor documentation issues.
3.0.2 2013-10-24
[FIX] The default capacity for Container and FilterStore is now also inf.
3.0.1 2013-10-24
[FIX] Documentation and default parameters of Store didn’t match. Its default capacity is now inf.
3.0 2013-10-11
SimPy 3 has been completely rewritten from scratch. Our main goals were to simplify the API and code base as well as making SimPy more flexible and extensible. Some of the most important changes are:
Stronger focus on events. Processes yield event instances and are suspended until the event is triggered. An example for an event is a timeout (formerly known as hold), but even processes are now events, too (you can wait until a process terminates).
Events can be combined with & (and) and | (or) to create condition events.
Process can now be defined by any generator function. You don’t have to subclass Process anymore.
No more global simulation state. Every simulation stores its state in an environment which is comparable to the old Simulation class.
Improved resource system with newly added resource types.
Removed plotting and GUI capabilities. Pyside and matplotlib are much better with this.
Greatly improved test suite. Its cleaner, and the tests are shorter and more numerous.
Completely overhauled documentation.
Diffstat (limited to 'cad')
-rw-r--r-- | cad/py-simpy/Makefile | 23 | ||||
-rw-r--r-- | cad/py-simpy/PLIST | 142 | ||||
-rw-r--r-- | cad/py-simpy/distinfo | 8 |
3 files changed, 88 insertions, 85 deletions
diff --git a/cad/py-simpy/Makefile b/cad/py-simpy/Makefile index 949d0ebab54..92c98e7673b 100644 --- a/cad/py-simpy/Makefile +++ b/cad/py-simpy/Makefile @@ -1,23 +1,20 @@ -# $NetBSD: Makefile,v 1.18 2015/01/04 02:13:16 mef Exp $ +# $NetBSD: Makefile,v 1.19 2015/07/12 07:56:09 wen Exp $ -DISTNAME= SimPy-2.3.1 -PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} +DISTNAME= simpy-3.0.8 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= cad math -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=simpy/} \ - http://pypi.python.org/packages/source/S/SimPy/ +MASTER_SITES= http://pypi.python.org/packages/source/s/simpy/ MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://simpy.readthedocs.org/en/latest/ +HOMEPAGE= http://simpy.readthedocs.org/ COMMENT= Discrete event simulation framework -LICENSE= gnu-lgpl-v2.1 +LICENSE= mit -PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 2.3 +# it is only for test +BUILD_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test -TEST_ENV+= PYTHONPATH=${WRKSRC:Q}/build/lib - -# needs py-test (pkgsrc/devel/py-test) -#do-test: -# ${SETENV} ${TEST_ENV} ${PYTHONBIN} -c "import SimPy; SimPy.test()" +do-test: + ${SETENV} ${TEST_ENV} ${PYTHONBIN} -c "import simpy; simpy.test()" .include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" diff --git a/cad/py-simpy/PLIST b/cad/py-simpy/PLIST index 2612886edd1..78be58da745 100644 --- a/cad/py-simpy/PLIST +++ b/cad/py-simpy/PLIST @@ -1,68 +1,74 @@ -@comment $NetBSD: PLIST,v 1.6 2014/01/20 22:17:45 wiz Exp $ -${PYSITELIB}/${EGG_FILE} -${PYSITELIB}/SimPy/GUIDebug.py -${PYSITELIB}/SimPy/GUIDebug.pyc -${PYSITELIB}/SimPy/GUIDebug.pyo -${PYSITELIB}/SimPy/Globals.py -${PYSITELIB}/SimPy/Globals.pyc -${PYSITELIB}/SimPy/Globals.pyo -${PYSITELIB}/SimPy/Lib.py -${PYSITELIB}/SimPy/Lib.pyc -${PYSITELIB}/SimPy/Lib.pyo -${PYSITELIB}/SimPy/Lister.py -${PYSITELIB}/SimPy/Lister.pyc -${PYSITELIB}/SimPy/Lister.pyo -${PYSITELIB}/SimPy/Recording.py -${PYSITELIB}/SimPy/Recording.pyc -${PYSITELIB}/SimPy/Recording.pyo -${PYSITELIB}/SimPy/SimGUI.py -${PYSITELIB}/SimPy/SimGUI.pyc -${PYSITELIB}/SimPy/SimGUI.pyo -${PYSITELIB}/SimPy/SimPlot.py -${PYSITELIB}/SimPy/SimPlot.pyc -${PYSITELIB}/SimPy/SimPlot.pyo -${PYSITELIB}/SimPy/Simulation.py -${PYSITELIB}/SimPy/Simulation.pyc -${PYSITELIB}/SimPy/Simulation.pyo -${PYSITELIB}/SimPy/SimulationGUIDebug.py -${PYSITELIB}/SimPy/SimulationGUIDebug.pyc -${PYSITELIB}/SimPy/SimulationGUIDebug.pyo -${PYSITELIB}/SimPy/SimulationRT.py -${PYSITELIB}/SimPy/SimulationRT.pyc -${PYSITELIB}/SimPy/SimulationRT.pyo -${PYSITELIB}/SimPy/SimulationStep.py -${PYSITELIB}/SimPy/SimulationStep.pyc -${PYSITELIB}/SimPy/SimulationStep.pyo -${PYSITELIB}/SimPy/SimulationTrace.py -${PYSITELIB}/SimPy/SimulationTrace.pyc -${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/test/__init__.py -${PYSITELIB}/SimPy/test/__init__.pyc -${PYSITELIB}/SimPy/test/__init__.pyo -${PYSITELIB}/SimPy/test/support.py -${PYSITELIB}/SimPy/test/support.pyc -${PYSITELIB}/SimPy/test/support.pyo -${PYSITELIB}/SimPy/test/test_monitor.py -${PYSITELIB}/SimPy/test/test_monitor.pyc -${PYSITELIB}/SimPy/test/test_monitor.pyo -${PYSITELIB}/SimPy/test/test_rt_behavior.py -${PYSITELIB}/SimPy/test/test_rt_behavior.pyc -${PYSITELIB}/SimPy/test/test_rt_behavior.pyo -${PYSITELIB}/SimPy/test/test_simident.py -${PYSITELIB}/SimPy/test/test_simident.pyc -${PYSITELIB}/SimPy/test/test_simident.pyo -${PYSITELIB}/SimPy/test/test_simpy.py -${PYSITELIB}/SimPy/test/test_simpy.pyc -${PYSITELIB}/SimPy/test/test_simpy.pyo -${PYSITELIB}/SimPy/tkconsole.py -${PYSITELIB}/SimPy/tkconsole.pyc -${PYSITELIB}/SimPy/tkconsole.pyo -${PYSITELIB}/SimPy/tkprogressbar.py -${PYSITELIB}/SimPy/tkprogressbar.pyc -${PYSITELIB}/SimPy/tkprogressbar.pyo +@comment $NetBSD: PLIST,v 1.7 2015/07/12 07:56:09 wen Exp $ +${PYSITELIB}/${EGG_FILE}/PKG-INFO +${PYSITELIB}/${EGG_FILE}/SOURCES.txt +${PYSITELIB}/${EGG_FILE}/dependency_links.txt +${PYSITELIB}/${EGG_FILE}/top_level.txt +${PYSITELIB}/simpy/__init__.py +${PYSITELIB}/simpy/__init__.pyc +${PYSITELIB}/simpy/__init__.pyo +${PYSITELIB}/simpy/_compat.py +${PYSITELIB}/simpy/_compat.pyc +${PYSITELIB}/simpy/_compat.pyo +${PYSITELIB}/simpy/core.py +${PYSITELIB}/simpy/core.pyc +${PYSITELIB}/simpy/core.pyo +${PYSITELIB}/simpy/events.py +${PYSITELIB}/simpy/events.pyc +${PYSITELIB}/simpy/events.pyo +${PYSITELIB}/simpy/resources/__init__.py +${PYSITELIB}/simpy/resources/__init__.pyc +${PYSITELIB}/simpy/resources/__init__.pyo +${PYSITELIB}/simpy/resources/base.py +${PYSITELIB}/simpy/resources/base.pyc +${PYSITELIB}/simpy/resources/base.pyo +${PYSITELIB}/simpy/resources/container.py +${PYSITELIB}/simpy/resources/container.pyc +${PYSITELIB}/simpy/resources/container.pyo +${PYSITELIB}/simpy/resources/resource.py +${PYSITELIB}/simpy/resources/resource.pyc +${PYSITELIB}/simpy/resources/resource.pyo +${PYSITELIB}/simpy/resources/store.py +${PYSITELIB}/simpy/resources/store.pyc +${PYSITELIB}/simpy/resources/store.pyo +${PYSITELIB}/simpy/rt.py +${PYSITELIB}/simpy/rt.pyc +${PYSITELIB}/simpy/rt.pyo +${PYSITELIB}/simpy/test/__init__.py +${PYSITELIB}/simpy/test/__init__.pyc +${PYSITELIB}/simpy/test/__init__.pyo +${PYSITELIB}/simpy/test/conftest.py +${PYSITELIB}/simpy/test/conftest.pyc +${PYSITELIB}/simpy/test/conftest.pyo +${PYSITELIB}/simpy/test/test_condition.py +${PYSITELIB}/simpy/test/test_condition.pyc +${PYSITELIB}/simpy/test/test_condition.pyo +${PYSITELIB}/simpy/test/test_environment.py +${PYSITELIB}/simpy/test/test_environment.pyc +${PYSITELIB}/simpy/test/test_environment.pyo +${PYSITELIB}/simpy/test/test_event.py +${PYSITELIB}/simpy/test/test_event.pyc +${PYSITELIB}/simpy/test/test_event.pyo +${PYSITELIB}/simpy/test/test_exceptions.py +${PYSITELIB}/simpy/test/test_exceptions.pyc +${PYSITELIB}/simpy/test/test_exceptions.pyo +${PYSITELIB}/simpy/test/test_interrupts.py +${PYSITELIB}/simpy/test/test_interrupts.pyc +${PYSITELIB}/simpy/test/test_interrupts.pyo +${PYSITELIB}/simpy/test/test_process.py +${PYSITELIB}/simpy/test/test_process.pyc +${PYSITELIB}/simpy/test/test_process.pyo +${PYSITELIB}/simpy/test/test_resources.py +${PYSITELIB}/simpy/test/test_resources.pyc +${PYSITELIB}/simpy/test/test_resources.pyo +${PYSITELIB}/simpy/test/test_rt.py +${PYSITELIB}/simpy/test/test_rt.pyc +${PYSITELIB}/simpy/test/test_rt.pyo +${PYSITELIB}/simpy/test/test_timeout.py +${PYSITELIB}/simpy/test/test_timeout.pyc +${PYSITELIB}/simpy/test/test_timeout.pyo +${PYSITELIB}/simpy/test/test_util.py +${PYSITELIB}/simpy/test/test_util.pyc +${PYSITELIB}/simpy/test/test_util.pyo +${PYSITELIB}/simpy/util.py +${PYSITELIB}/simpy/util.pyc +${PYSITELIB}/simpy/util.pyo diff --git a/cad/py-simpy/distinfo b/cad/py-simpy/distinfo index 137d591202a..7dafd8845dd 100644 --- a/cad/py-simpy/distinfo +++ b/cad/py-simpy/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.7 2015/01/04 02:13:16 mef Exp $ +$NetBSD: distinfo,v 1.8 2015/07/12 07:56:09 wen Exp $ -SHA1 (SimPy-2.3.1.tar.gz) = 686844ad7292fae7fa7c3f2906b37d3b2c0556eb -RMD160 (SimPy-2.3.1.tar.gz) = 6b402cafa94ca7ddc729e7ba50c79994a4688bc5 -Size (SimPy-2.3.1.tar.gz) = 6296235 bytes +SHA1 (simpy-3.0.8.tar.gz) = 7b0daac636ef02e33cad597a6c777faf522597a6 +RMD160 (simpy-3.0.8.tar.gz) = 3804ffd31dc1ec1c30d58054b96223bd0172feb6 +Size (simpy-3.0.8.tar.gz) = 402664 bytes |