aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-14 21:34:45 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:03 +0700
commita966933011ab23f79d92db3fd99588365d5f3d77 (patch)
tree4cb15a75ace97d1f158685aae002791d77fa908d
parentc8ba3352dd90b4ddc3b4a563a7ad6754cd64ec20 (diff)
python/python-twisted: Renamed python2-twisted.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/python-twisted/slack-desc19
-rw-r--r--python/python2-twisted/README (renamed from python/python-twisted/README)4
-rw-r--r--python/python2-twisted/python2-twisted.SlackBuild (renamed from python/python-twisted/python-twisted.SlackBuild)4
-rw-r--r--python/python2-twisted/python2-twisted.info (renamed from python/python-twisted/python-twisted.info)2
-rw-r--r--python/python2-twisted/slack-desc19
5 files changed, 24 insertions, 24 deletions
diff --git a/python/python-twisted/slack-desc b/python/python-twisted/slack-desc
deleted file mode 100644
index 1afd6dbe7528..000000000000
--- a/python/python-twisted/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-twisted: python-twisted (Python networking engine)
-python-twisted:
-python-twisted: Twisted is an event-driven networking engine written in Python and
-python-twisted: licensed under the MIT license.
-python-twisted:
-python-twisted: Homepage: https://twistedmatrix.com/
-python-twisted:
-python-twisted:
-python-twisted:
-python-twisted:
-python-twisted:
diff --git a/python/python-twisted/README b/python/python2-twisted/README
index b5ce41eb910b..9d6790ec9fdf 100644
--- a/python/python-twisted/README
+++ b/python/python2-twisted/README
@@ -1,5 +1,5 @@
-Twisted is an event-driven networking engine written in Python and licensed
-under the MIT license.
+Twisted is an event-driven networking engine written in Python and
+licensed under the MIT license.
Twisted projects variously support TCP, UDP, SSL/TLS, multicast, Unix
sockets, a large number of protocols (including HTTP, NNTP, IMAP, SSH,
diff --git a/python/python-twisted/python-twisted.SlackBuild b/python/python2-twisted/python2-twisted.SlackBuild
index 8675dbf31b11..c1436c41fb5b 100644
--- a/python/python-twisted/python-twisted.SlackBuild
+++ b/python/python2-twisted/python2-twisted.SlackBuild
@@ -26,7 +26,7 @@
# Originally written by Marco Bonetti - Thanks!
# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
-PRGNAM=python-twisted
+PRGNAM=python2-twisted
SRCNAM=Twisted
VERSION=${VERSION:-17.9.0}
BUILD=${BUILD:-1}
@@ -74,7 +74,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-twisted/python-twisted.info b/python/python2-twisted/python2-twisted.info
index 32c08d9324b1..b7d13a98124a 100644
--- a/python/python-twisted/python-twisted.info
+++ b/python/python2-twisted/python2-twisted.info
@@ -1,4 +1,4 @@
-PRGNAM="python-twisted"
+PRGNAM="python2-twisted"
VERSION="17.9.0"
HOMEPAGE="https://twistedmatrix.com/"
DOWNLOAD="https://files.pythonhosted.org/packages/a2/37/298f9547606c45d75aa9792369302cc63aa4bbcf7b5f607560180dd099d2/Twisted-17.9.0.tar.bz2"
diff --git a/python/python2-twisted/slack-desc b/python/python2-twisted/slack-desc
new file mode 100644
index 000000000000..b92fa12df47d
--- /dev/null
+++ b/python/python2-twisted/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-twisted: python2-twisted (Python networking engine)
+python2-twisted:
+python2-twisted: Twisted is an event-driven networking engine written in Python and
+python2-twisted: licensed under the MIT license.
+python2-twisted:
+python2-twisted: Homepage: https://twistedmatrix.com/
+python2-twisted:
+python2-twisted:
+python2-twisted:
+python2-twisted:
+python2-twisted: