diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-09 22:38:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-09 22:38:48 +0700 |
commit | 51023864d24a68b2bf787cae96fdeb412e0b572a (patch) | |
tree | 197b3cecc8f8dd20cda46fb97c827f7d70dc2a5a /libraries/pexpect | |
parent | 5a965975af62e30d63704a3d3065d4cd1fd39d25 (diff) |
libraries/pexpect: Add python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/pexpect')
-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 705a14ba55c34..75b8c54a074ac 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 |