From dde8c063c5cc4e9b8820e7457ae8ae1b4c803004 Mon Sep 17 00:00:00 2001 From: Brenton Earl Date: Sat, 9 Jul 2016 07:47:03 +0700 Subject: python/pyperclip: Updated for version 1.5.27. Signed-off-by: Willy Sudiarto Raharjo --- python/pyperclip/pyperclip.SlackBuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'python/pyperclip/pyperclip.SlackBuild') diff --git a/python/pyperclip/pyperclip.SlackBuild b/python/pyperclip/pyperclip.SlackBuild index 2b7cac0b1700..be7fd3b00145 100644 --- a/python/pyperclip/pyperclip.SlackBuild +++ b/python/pyperclip/pyperclip.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyperclip -# Copyright 2015 Brenton Earl +# Copyright 2015-2016 Brenton Earl # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ # PDF Documentation downloaded from pyperclip.readthedocs.org 12/1/2015 PRGNAM=pyperclip -VERSION=${VERSION:-1.5.25} +VERSION=${VERSION:-1.5.27} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,6 +74,11 @@ find -L . \ python setup.py install --root=$PKG +# Python 3 support +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + 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 -- cgit v1.2.3