python/MarkupSafe: Updated for version 1.1.1 and to use Python 3.

Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
Benjamin Trigona-Harany 2019-05-29 18:50:25 -07:00 committed by Willy Sudiarto Raharjo
parent 791e53cc69
commit ee77244d93
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 8 additions and 11 deletions

View file

@ -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

View file

@ -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"