diff options
Diffstat (limited to 'libraries/zope.event/zope.event.SlackBuild')
-rw-r--r-- | libraries/zope.event/zope.event.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/zope.event/zope.event.SlackBuild b/libraries/zope.event/zope.event.SlackBuild index 293ada941361f..a3b08363bae38 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 |