BeautifulSoup: Upgraded to 4.4.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-05-02 14:43:06 +07:00
parent 037f9bb16b
commit e46ac37455

View file

@ -25,7 +25,8 @@
# Modified by Willy Sudiarto Raharjo for CSB Project
PRGNAM=BeautifulSoup
VERSION=${VERSION:-3.2.1}
SRCNAM=beautifulsoup4
VERSION=${VERSION:-4.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_csb}
@ -37,7 +38,7 @@ if [ -z "$ARCH" ]; then
esac
fi
wget -c http://www.crummy.com/software/BeautifulSoup/download/3.x/$PRGNAM-$VERSION.tar.gz
wget -c https://www.crummy.com/software/BeautifulSoup/bs4/download/4.4/$SRCNAM-$VERSION.tar.gz
CWD=$(pwd)
TMP=${TMP:-/tmp/csb}
@ -51,16 +52,16 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG