summaryrefslogtreecommitdiff
path: root/python/MarkupSafe
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-05-29 18:50:25 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-06-01 07:04:24 +0700
commitee77244d932b9ebf4fd84fea20ec432efccd78f1 (patch)
tree1c64e84e0a16d64fae21c126af820afae65119da /python/MarkupSafe
parent791e53cc6972b4663b20bc91069d9c3236912c3d (diff)
downloadslackbuilds-ee77244d932b9ebf4fd84fea20ec432efccd78f1.tar.gz
python/MarkupSafe: Updated for version 1.1.1 and to use Python 3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'python/MarkupSafe')
-rw-r--r--python/MarkupSafe/MarkupSafe.SlackBuild11
-rw-r--r--python/MarkupSafe/MarkupSafe.info8
2 files changed, 8 insertions, 11 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
diff --git a/python/MarkupSafe/MarkupSafe.info b/python/MarkupSafe/MarkupSafe.info
index 08303f0abd..91b9ffc3ef 100644
--- a/python/MarkupSafe/MarkupSafe.info
+++ b/python/MarkupSafe/MarkupSafe.info
@@ -1,10 +1,10 @@
PRGNAM="MarkupSafe"
-VERSION="1.1.0"
+VERSION="1.1.1"
HOMEPAGE="https://pypi.python.org/pypi/MarkupSafe"
-DOWNLOAD="https://pypi.io/packages/source/M/MarkupSafe/MarkupSafe-1.1.0.tar.gz"
-MD5SUM="49e3f3230cedb7ae34faf06913db83fc"
+DOWNLOAD="https://pypi.io/packages/source/M/MarkupSafe/MarkupSafe-1.1.1.tar.gz"
+MD5SUM="43fd756864fe42063068e092e220c57b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3"
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"