aboutsummaryrefslogtreecommitdiff
path: root/python/watchdog
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-21 21:32:28 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-02 01:02:30 +0700
commited614af71c54cf7717b5def1cd240d02497d1581 (patch)
tree534f1b29248c57a005edfa34d7d15d06aeb1cb9b /python/watchdog
parent9cb19d3c6b31ded337a3ccb72f3bb42821203f33 (diff)
python/watchdog: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/watchdog')
-rw-r--r--python/watchdog/watchdog.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/watchdog/watchdog.SlackBuild b/python/watchdog/watchdog.SlackBuild
index df2bf18380c43..6bf9ba455b446 100644
--- a/python/watchdog/watchdog.SlackBuild
+++ b/python/watchdog/watchdog.SlackBuild
@@ -65,10 +65,7 @@ if $(python2 -c 'import sys' 2>/dev/null); then
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