aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-03 06:50:18 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-05-03 01:49:58 -0500
commiteedbb272487e9d6bf7f8c020580f809a1c92a751 (patch)
tree505757030dda60a8d35c52ceb680be1f3e34e299 /python
parent7e8912f3591c6ec8e0c8dec299a997cb2064e951 (diff)
python/python-simpy: Renamed python2-simpy.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-simpy/README18
-rw-r--r--python/python-simpy/slack-desc19
-rw-r--r--python/python2-simpy/README18
-rw-r--r--python/python2-simpy/python2-simpy.SlackBuild (renamed from python/python-simpy/python-simpy.SlackBuild)4
-rw-r--r--python/python2-simpy/python2-simpy.info (renamed from python/python-simpy/python-simpy.info)2
-rw-r--r--python/python2-simpy/slack-desc19
6 files changed, 40 insertions, 40 deletions
diff --git a/python/python-simpy/README b/python/python-simpy/README
deleted file mode 100644
index fc68efa74f83..000000000000
--- 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 d8a22c687b30..000000000000
--- 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 000000000000..e5ce2fe430fa
--- /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
index f7ce00312db5..987afd3600c1 100644
--- a/python/python-simpy/python-simpy.SlackBuild
+++ b/python/python2-simpy/python2-simpy.SlackBuild
@@ -4,7 +4,7 @@
# Written by John Tyree <johntyree+sbo@gmail.com>
-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
index 2ddca2801b1c..e554717a8400 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 000000000000..646abb372e4b
--- /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