mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
python/pathtools3: Added (File system general utilities).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1d9db357c9
commit
814217f389
3 changed files with 2 additions and 13 deletions
|
@ -1,3 +1 @@
|
|||
Pattern matching and various utilities for file systems paths.
|
||||
|
||||
Optional dependency: python3
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue