development/docutils: Added python3 support by default.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Robby Workman 2019-06-03 09:04:34 +07:00 committed by Willy Sudiarto Raharjo
parent e382f078ff
commit ad3a0838f2
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for docutils
# Copyright 2006-2018 Robby Workman Tuscaloosa, AL, USA
# Copyright 2006-2019 Robby Workman Tuscaloosa, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -56,6 +56,7 @@ find -L . \
-exec chmod 644 {} \;
python setup.py install --root=$PKG
python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/docutils/docutils-0.14.tar.gz"
MD5SUM="c53768d63db3873b7d452833553469de"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="python3"
MAINTAINER="Robby Workman"
EMAIL="rworkman@slackbuilds.org"