From eedbb272487e9d6bf7f8c020580f809a1c92a751 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Mon, 3 May 2021 06:50:18 +0100 Subject: [PATCH] python/python-simpy: Renamed python2-simpy. Signed-off-by: Dave Woodfall --- python/python-simpy/README | 18 ------------------ python/python-simpy/slack-desc | 19 ------------------- python/python2-simpy/README | 18 ++++++++++++++++++ .../python2-simpy.SlackBuild} | 4 ++-- .../python2-simpy.info} | 2 +- python/python2-simpy/slack-desc | 19 +++++++++++++++++++ 6 files changed, 40 insertions(+), 40 deletions(-) delete mode 100644 python/python-simpy/README delete mode 100644 python/python-simpy/slack-desc create mode 100644 python/python2-simpy/README rename python/{python-simpy/python-simpy.SlackBuild => python2-simpy/python2-simpy.SlackBuild} (96%) rename python/{python-simpy/python-simpy.info => python2-simpy/python2-simpy.info} (93%) create mode 100644 python/python2-simpy/slack-desc diff --git a/python/python-simpy/README b/python/python-simpy/README deleted file mode 100644 index fc68efa74f..0000000000 --- a/python/python-simpy/README +++ /dev/null @@ -1,18 +0,0 @@ -SimPy -===== - -SimPy is a process-based discrete-event simulation language based on standard -Python and released under the GNU LGPL. - -It provides the modeller with components of a simulation model. These include -processes for active components like customers, messages and vehicles as well -as 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. SimPy comes with extensive plotting -capabilities. - -The distribution contains in-depth documentation, tutorials, and a large number -of simulation models. - -To build documentation, pass DOCS=yes to the slackbuild. Requires the optional -dependency Sphinx. diff --git a/python/python-simpy/slack-desc b/python/python-simpy/slack-desc deleted file mode 100644 index d8a22c687b..0000000000 --- a/python/python-simpy/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-simpy: python-simpy (Object Oriented Discrete Event Simulation in Python) -python-simpy: -python-simpy: SimPy (= Simulation in Python) is an object-oriented, process-based -python-simpy: discrete-event simulation language based on standard Python. It -python-simpy: provides the modeller with components of a simulation model including -python-simpy: processes, for active components like customers, messages, and -python-simpy: vehicles, and resources, for passive components that form limited -python-simpy: capacity congestion points like servers, checkout counters, and -python-simpy: tunnels. -python-simpy: -python-simpy: https://pypi.python.org/pypi/simpy diff --git a/python/python2-simpy/README b/python/python2-simpy/README new file mode 100644 index 0000000000..e5ce2fe430 --- /dev/null +++ b/python/python2-simpy/README @@ -0,0 +1,18 @@ +SimPy +===== + +SimPy is a process-based discrete-event simulation language based on +standard Python and released under the GNU LGPL. + +It provides the modeller with components of a simulation model. These +include processes for active components like customers, messages and +vehicles as well as 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. SimPy comes with extensive plotting capabilities. + +The distribution contains in-depth documentation, tutorials, and a large +number of simulation models. + +To build documentation, pass DOCS=yes to the slackbuild. Requires the +optional dependency Sphinx. diff --git a/python/python-simpy/python-simpy.SlackBuild b/python/python2-simpy/python2-simpy.SlackBuild similarity index 96% rename from python/python-simpy/python-simpy.SlackBuild rename to python/python2-simpy/python2-simpy.SlackBuild index f7ce00312d..987afd3600 100644 --- a/python/python-simpy/python-simpy.SlackBuild +++ b/python/python2-simpy/python2-simpy.SlackBuild @@ -4,7 +4,7 @@ # Written by John Tyree -PRGNAM=python-simpy +PRGNAM=python2-simpy VERSION=${VERSION:-3.0.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,7 +53,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG +python2 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/python-simpy/python-simpy.info b/python/python2-simpy/python2-simpy.info similarity index 93% rename from python/python-simpy/python-simpy.info rename to python/python2-simpy/python2-simpy.info index 2ddca2801b..e554717a84 100644 --- a/python/python-simpy/python-simpy.info +++ b/python/python2-simpy/python2-simpy.info @@ -1,4 +1,4 @@ -PRGNAM="python-simpy" +PRGNAM="python2-simpy" VERSION="3.0.10" HOMEPAGE="https://pypi.python.org/pypi/simpy" DOWNLOAD="https://pypi.python.org/packages/81/87/074e97b833d35e2979e6a67fe2fdc26c0178bf1ce5a3a6ea999e771688dd/simpy-3.0.10.tar.gz" diff --git a/python/python2-simpy/slack-desc b/python/python2-simpy/slack-desc new file mode 100644 index 0000000000..646abb372e --- /dev/null +++ b/python/python2-simpy/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python2-simpy: python2-simpy (Object Oriented Discrete Event Simulation in Python) +python2-simpy: +python2-simpy: SimPy (= Simulation in Python) is an object-oriented, process-based +python2-simpy: discrete-event simulation language based on standard Python. It +python2-simpy: provides the modeller with components of a simulation model including +python2-simpy: processes, for active components like customers, messages, and +python2-simpy: vehicles, and resources, for passive components that form limited +python2-simpy: capacity congestion points like servers, checkout counters, and +python2-simpy: tunnels. +python2-simpy: +python2-simpy: https://pypi.python.org/pypi/simpy