python/pymongo: Updated for version 3.10.0.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2019-12-11 23:28:11 +01:00 committed by Willy Sudiarto Raharjo
parent 561905e697
commit 5682f79e8d
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 10 additions and 5 deletions

View File

@ -3,7 +3,7 @@
# Slackware build script for pymongo # Slackware build script for pymongo
# Copyright 2013-2014 Christoph Willing, Australia # Copyright 2013-2014 Christoph Willing, Australia
# Copyright 2015-2017 Dimitris Zlatanidis Orestiada, Greece # Copyright 2015-2019 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pymongo PRGNAM=pymongo
VERSION=${VERSION:-3.5.1} VERSION=${VERSION:-3.10.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -72,6 +72,11 @@ find -L . \
python setup.py install --root=$PKG python setup.py install --root=$PKG
# Python 3 support.
if $(python3 -c 'import sys' 2>/dev/null); then
python3 setup.py install --root=$PKG
fi
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -1,8 +1,8 @@
PRGNAM="pymongo" PRGNAM="pymongo"
VERSION="3.5.1" VERSION="3.10.0"
HOMEPAGE="https://pypi.python.org/pypi/pymongo" HOMEPAGE="https://pypi.python.org/pypi/pymongo"
DOWNLOAD="https://pypi.python.org/packages/a8/f6/f324f5c669478644ac64594b9d746a34e185d9c34d3f05a4a6a6dab5467b/pymongo-3.5.1.tar.gz" DOWNLOAD="https://files.pythonhosted.org/packages/5d/86/bfcec2a1c99e52344530e581a89871738bdcbf2c8f2ba681ad891e0980f1/pymongo-3.10.0.tar.gz"
MD5SUM="35ae53073a25603591e085b18bc5a0ec" MD5SUM="fb98d896f0eb14d9b4fe9baac24d772a"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""