summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
author Dave Woodfall <dave@slackbuilds.org>2021-05-14 21:34:38 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:01 +0700
commit22a820478e9338a29ffe8f0d59b58f93a377a41b (patch)
tree232660e6529452724c0c6c95996deb2aae1aac86 /python
parentb13eb3db5d307b714e52b6e289e9507262b96317 (diff)
downloadslackbuilds-22a820478e9338a29ffe8f0d59b58f93a377a41b.tar.gz
slackbuilds-22a820478e9338a29ffe8f0d59b58f93a377a41b.tar.xz
python/python-klein: Renamed python2-klein.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-klein/slack-desc19
-rw-r--r--python/python2-klein/README (renamed from python/python-klein/README)0
-rw-r--r--python/python2-klein/python2-klein.SlackBuild (renamed from python/python-klein/python-klein.SlackBuild)4
-rw-r--r--python/python2-klein/python2-klein.info (renamed from python/python-klein/python-klein.info)4
-rw-r--r--python/python2-klein/slack-desc19
5 files changed, 23 insertions, 23 deletions
diff --git a/python/python-klein/slack-desc b/python/python-klein/slack-desc
deleted file mode 100644
index eba10bfaf8..0000000000
--- a/python/python-klein/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-klein: python-klein (micro-framework for web services)
-python-klein:
-python-klein: Klein is a micro-framework for developing production-ready web
-python-klein: services with Python. It has a small API similar to Bottle and Flask.
-python-klein:
-python-klein: https://klein.readthedocs.io/
-python-klein:
-python-klein:
-python-klein:
-python-klein:
-python-klein:
diff --git a/python/python-klein/README b/python/python2-klein/README
index e7bb343918..e7bb343918 100644
--- a/python/python-klein/README
+++ b/python/python2-klein/README
diff --git a/python/python-klein/python-klein.SlackBuild b/python/python2-klein/python2-klein.SlackBuild
index 460ca2788c..08ef98a201 100644
--- a/python/python-klein/python-klein.SlackBuild
+++ b/python/python2-klein/python2-klein.SlackBuild
@@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python-klein
+PRGNAM=python2-klein
VERSION=${VERSION:-17.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,7 +71,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-klein/python-klein.info b/python/python2-klein/python2-klein.info
index 79f92242cd..ef8c057fa5 100644
--- a/python/python-klein/python-klein.info
+++ b/python/python2-klein/python2-klein.info
@@ -1,10 +1,10 @@
-PRGNAM="python-klein"
+PRGNAM="python2-klein"
VERSION="17.10.0"
HOMEPAGE="https://klein.readthedocs.io/"
DOWNLOAD="https://pypi.python.org/packages/94/60/63a2b10f70e2bc949b5280935ab40dd4df8446ea71c1e689a1205970decc/klein-17.10.0.tar.gz"
MD5SUM="d1bc497cd60870f63415cd0e5aebc0d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python-twisted werkzeug"
+REQUIRES="python2-twisted werkzeug"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
diff --git a/python/python2-klein/slack-desc b/python/python2-klein/slack-desc
new file mode 100644
index 0000000000..04214ac213
--- /dev/null
+++ b/python/python2-klein/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-klein: python2-klein (micro-framework for web services)
+python2-klein:
+python2-klein: Klein is a micro-framework for developing production-ready web
+python2-klein: services with Python. It has a small API similar to Bottle and Flask.
+python2-klein:
+python2-klein: https://klein.readthedocs.io/
+python2-klein:
+python2-klein:
+python2-klein:
+python2-klein:
+python2-klein: