From e46ac37455d7f73994a9af3270e6fba8232de7ca Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 2 May 2016 14:43:06 +0700 Subject: [PATCH] BeautifulSoup: Upgraded to 4.4.1. Signed-off-by: Willy Sudiarto Raharjo --- BeautifulSoup/BeautifulSoup.SlackBuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/BeautifulSoup/BeautifulSoup.SlackBuild b/BeautifulSoup/BeautifulSoup.SlackBuild index b162ad1..d4e2b6b 100644 --- a/BeautifulSoup/BeautifulSoup.SlackBuild +++ b/BeautifulSoup/BeautifulSoup.SlackBuild @@ -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