Browse Source

l/python-maxminddb: Upgraded to python-maxminddb-1.5.2.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
305af5787b
  1. 1
      l/python-maxminddb/maxminddb-1.4.1.tar.gz.sha256
  2. 1
      l/python-maxminddb/maxminddb-1.5.2.tar.gz.sha256
  3. 12
      l/python-maxminddb/python-maxminddb.SlackBuild

1
l/python-maxminddb/maxminddb-1.4.1.tar.gz.sha256

@ -1 +0,0 @@
df1451bcd848199905ac0de4631b3d02d6a655ad28ba5e5a4ca29a23358db712 maxminddb-1.4.1.tar.gz

1
l/python-maxminddb/maxminddb-1.5.2.tar.gz.sha256

@ -0,0 +1 @@
d0ce131d901eb11669996b49a59f410efd3da2c6dbe2c0094fe2fef8d85b6336 maxminddb-1.5.2.tar.gz

12
l/python-maxminddb/python-maxminddb.SlackBuild

@ -29,9 +29,8 @@
# Source package infos
NAMESRC=${NAMESRC:-maxminddb}
VERSION=${VERSION:-1.4.1}
VERSION=${VERSION:-1.5.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/83/35/6dc423e0ff354c326849d6d878d104b44be7eec491dcf26787ab3593cd81/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-maxminddb}
@ -60,8 +59,7 @@ fi
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
@ -71,8 +69,10 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION

Loading…
Cancel
Save