diff options
author | klaatu <klaatu@member.fsf.org> | 2019-11-22 19:29:49 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@gmail.com> | 2019-11-22 15:24:09 +0700 |
commit | f891a5e3fba06044b9f6bdad87068b2f32a1684f (patch) | |
tree | 57772b2949f04e68fc4e6b67a69ceb7eaa736aa2 /python/lockfile/lockfile.SlackBuild | |
parent | 89d247a8704ccf373fbace27cd629d81ad6c74e6 (diff) |
python/lockfile: Updated for Python 3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
Diffstat (limited to 'python/lockfile/lockfile.SlackBuild')
-rw-r--r-- | python/lockfile/lockfile.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/lockfile/lockfile.SlackBuild b/python/lockfile/lockfile.SlackBuild index c168b87833f0a..f8db698bc8e4d 100644 --- a/python/lockfile/lockfile.SlackBuild +++ b/python/lockfile/lockfile.SlackBuild @@ -14,6 +14,7 @@ PRGNAM=lockfile VERSION=${VERSION:-0.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +TAG=${PYTHON:-python} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -57,7 +58,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -python setup.py install --root=$PKG +$PYTHON 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 |