summaryrefslogtreecommitdiff
path: root/development/docutils
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2019-06-03 09:04:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-03 09:04:34 +0700
commitad3a0838f2d1298bcdd0e20e3841ec82fe0c8e75 (patch)
treec2ad03ebe3354fc2648084378f6f1ef7313492cb /development/docutils
parente382f078ffeb1b2c8288b4395732157edadc94e2 (diff)
downloadslackbuilds-ad3a0838f2d1298bcdd0e20e3841ec82fe0c8e75.tar.gz
development/docutils: Added python3 support by default.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/docutils')
-rw-r--r--development/docutils/docutils.SlackBuild3
-rw-r--r--development/docutils/docutils.info2
2 files changed, 3 insertions, 2 deletions
diff --git a/development/docutils/docutils.SlackBuild b/development/docutils/docutils.SlackBuild
index ffbf286185..7c47cd9082 100644
--- a/development/docutils/docutils.SlackBuild
+++ b/development/docutils/docutils.SlackBuild
@@ -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
diff --git a/development/docutils/docutils.info b/development/docutils/docutils.info
index 04448db78e..5e22f0645a 100644
--- a/development/docutils/docutils.info
+++ b/development/docutils/docutils.info
@@ -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"