summaryrefslogtreecommitdiff
path: root/python/MarkupSafe/MarkupSafe.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/MarkupSafe/MarkupSafe.SlackBuild')
-rw-r--r--python/MarkupSafe/MarkupSafe.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/python/MarkupSafe/MarkupSafe.SlackBuild b/python/MarkupSafe/MarkupSafe.SlackBuild
index c34ce51653..2651d9c8f1 100644
--- a/python/MarkupSafe/MarkupSafe.SlackBuild
+++ b/python/MarkupSafe/MarkupSafe.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=MarkupSafe
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,12 +66,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-python setup.py install --root=$PKG --no-compile
-
-if [ "${PYTHON3:-no}" == "yes" ]; then
- CFLAGS="$SLKCFLAGS" \
- python3 setup.py install --root=$PKG --no-compile
-fi
+python2 setup.py install --root=$PKG --no-compile
+CFLAGS="$SLKCFLAGS" \
+python3 setup.py install --root=$PKG --no-compile
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