diff options
-rw-r--r-- | libraries/pexpect/pexpect.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/pexpect/pexpect.SlackBuild b/libraries/pexpect/pexpect.SlackBuild index 705a14ba55..75b8c54a07 100644 --- a/libraries/pexpect/pexpect.SlackBuild +++ b/libraries/pexpect/pexpect.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for Pexpect # Copyright (c) 2007 Javier Rojas <jerojasro@gmail.com> -# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -72,6 +72,10 @@ find -L . \ python setup.py install --root=$PKG +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 LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |