From 814217f3899b0f2dbb5c1e8937792cc8eb26582a Mon Sep 17 00:00:00 2001 From: "Prof. HORSTMANN" Date: Sat, 12 Dec 2020 05:09:28 +0700 Subject: [PATCH] python/pathtools3: Added (File system general utilities). Signed-off-by: Willy Sudiarto Raharjo --- python/pathtools3/README | 2 -- python/pathtools3/pathtools3.SlackBuild | 11 +---------- python/pathtools3/pathtools3.info | 2 +- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/python/pathtools3/README b/python/pathtools3/README index acd0ffffec..77244e0eee 100644 --- a/python/pathtools3/README +++ b/python/pathtools3/README @@ -1,3 +1 @@ Pattern matching and various utilities for file systems paths. - -Optional dependency: python3 diff --git a/python/pathtools3/pathtools3.SlackBuild b/python/pathtools3/pathtools3.SlackBuild index e0e6e25a70..eeb0de4460 100644 --- a/python/pathtools3/pathtools3.SlackBuild +++ b/python/pathtools3/pathtools3.SlackBuild @@ -58,16 +58,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 2.7 will be droped in the future. -if $(python2 -c 'import sys' 2>/dev/null); then - python2 setup.py install --root=$PKG - else - python setup.py install --root=$PKG -fi -# Replacement of python-2.x Python3.x check presence and build if found. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/pathtools3/pathtools3.info b/python/pathtools3/pathtools3.info index d266c7db9f..28e6c93414 100644 --- a/python/pathtools3/pathtools3.info +++ b/python/pathtools3/pathtools3.info @@ -5,6 +5,6 @@ DOWNLOAD="https://files.pythonhosted.org/packages/38/19/b8e751fe76e98a04bdd34dd9 MD5SUM="08bb008161e305909740076c5c422159" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3" MAINTAINER="Prof. HORSTMANN" EMAIL="wmh@eipg.fr"