diff options
Diffstat (limited to 'python/hpack/hpack.SlackBuild')
-rw-r--r-- | python/hpack/hpack.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/hpack/hpack.SlackBuild b/python/hpack/hpack.SlackBuild index 67d45a08d5..d8bd2995b4 100644 --- a/python/hpack/hpack.SlackBuild +++ b/python/hpack/hpack.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for hpack -# Copyright 2015-2016 Brenton Earl <brent@exitstatusone.com> +# Copyright 2015-2017 Brenton Earl <brent@exitstatusone.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -71,6 +71,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 + # Manually generated with Sphinx # Recreate man page each hpack update install -Dm 644 $CWD/man_page/hpack.1 $PKG/usr/man/man1/hpack.1 |