From 847e3647160542d30fc4673a68f98a424a62d391 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 18 Jan 2020 10:59:56 +0700 Subject: libraries/zope.event: Add python3 support. Signed-off-by: Willy Sudiarto Raharjo --- libraries/zope.event/zope.event.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libraries') diff --git a/libraries/zope.event/zope.event.SlackBuild b/libraries/zope.event/zope.event.SlackBuild index 293ada9413..a3b08363ba 100644 --- a/libraries/zope.event/zope.event.SlackBuild +++ b/libraries/zope.event/zope.event.SlackBuild @@ -57,6 +57,11 @@ find -L . \ python setup.py install --root=$PKG +# Python 3 support. +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3