aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-05-17 19:55:20 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-21 08:25:13 +0700
commit2521422d3222fb731fb37914a987dfca80ae9fb0 (patch)
treee604aca1723d21295d9fc858c9391c78e760ae88 /desktop
parente5f7a73aeec771a09569e40e712c93c8c7c386a7 (diff)
desktop/ptwit: Updated for version 0.2. New maintainer.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/ptwit/ptwit.SlackBuild5
-rw-r--r--desktop/ptwit/ptwit.info6
2 files changed, 7 insertions, 4 deletions
diff --git a/desktop/ptwit/ptwit.SlackBuild b/desktop/ptwit/ptwit.SlackBuild
index dcdbaec1b4e1c..4cb5a8cf541fb 100644
--- a/desktop/ptwit/ptwit.SlackBuild
+++ b/desktop/ptwit/ptwit.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for ptwit
+# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
@@ -22,6 +23,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220515 46and2: New maintainer, remove python2, shorten DOWNLOAD url.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ptwit
@@ -79,7 +82,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
+python3 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/desktop/ptwit/ptwit.info b/desktop/ptwit/ptwit.info
index f98543041ae5b..9d6f48d206d5a 100644
--- a/desktop/ptwit/ptwit.info
+++ b/desktop/ptwit/ptwit.info
@@ -1,10 +1,10 @@
PRGNAM="ptwit"
VERSION="0.2"
HOMEPAGE="https://github.com/ptpt/ptwit"
-DOWNLOAD="https://pypi.python.org/packages/08/e9/b2d4ab7f1590d1ebb5c8a8f19704e5cb7ce8765398cf0dfec57a7ef3a10b/ptwit-0.2.tar.gz"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/p/ptwit/ptwit-0.2.tar.gz"
MD5SUM="6c532d592c2c1e573e0a17bc0edbbf9a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python2-twitter click-default-group"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"