summaryrefslogtreecommitdiffstats
path: root/desktop/ptwit
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/ptwit')
-rw-r--r--desktop/ptwit/ptwit.SlackBuild5
-rw-r--r--desktop/ptwit/ptwit.info8
2 files changed, 8 insertions, 5 deletions
diff --git a/desktop/ptwit/ptwit.SlackBuild b/desktop/ptwit/ptwit.SlackBuild
index dcdbaec1b4..4cb5a8cf54 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 0e518dd278..9d6f48d206 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="python-twitter click-default-group"
-MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+REQUIRES="python2-twitter click-default-group"
+MAINTAINER="fourtysixandtwo"
+EMAIL="fourtysixandtwo@sliderr.net"