mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
791e53cc69
commit
ee77244d93
2 changed files with 8 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue