summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/pyinotify/README4
-rw-r--r--python/pyinotify/pyinotify.SlackBuild8
2 files changed, 1 insertions, 11 deletions
diff --git a/python/pyinotify/README b/python/pyinotify/README
index fbe74a473c..40c4baeba2 100644
--- a/python/pyinotify/README
+++ b/python/pyinotify/README
@@ -2,7 +2,3 @@ Pyinotify is a Python module for monitoring filesystems changes.
Pyinotify relies on a Linux Kernel feature (merged in kernel 2.6.13)
called inotify. inotify is an event-driven notifier, its notifications
are exported from kernel space to user space through three system calls.
-
-Note: To install python3 bindings pass the variable PYTHON3=yes to the
-slackbuild.
- # PYTHON3=yes ./pyinotify.SlackBuild
diff --git a/python/pyinotify/pyinotify.SlackBuild b/python/pyinotify/pyinotify.SlackBuild
index 5c5c293748..8aaa4145af 100644
--- a/python/pyinotify/pyinotify.SlackBuild
+++ b/python/pyinotify/pyinotify.SlackBuild
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -69,10 +66,7 @@ find -L . \
sed -i '/^compile_ext_mod/s|=.*|= True|' setup.py
python setup.py install --root=$PKG
-
-if [ "${PYTHON3:-no}" == "yes" ]; then
- python3 setup.py install --root=$PKG
-fi
+python3 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