mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
python/lxml: Updated for version 3.3.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
5f63a3ebde
commit
0ba88ac1e6
2 changed files with 10 additions and 12 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for lxml
|
||||
|
||||
# Copyright 2009-2013 Larry Hajali <larryhaja[at]gmail[dot]com>
|
||||
# Copyright 2009-2014 Larry Hajali <larryhaja[at]gmail[dot]com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=lxml
|
||||
VERSION=${VERSION:-3.3.4}
|
||||
VERSION=${VERSION:-3.3.5}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -60,10 +60,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
|||
cd $PRGNAM-$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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
\( -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 {} \;
|
||||
|
||||
python setup.py build --with-unicode-strings
|
||||
python setup.py install --skip-build --root=$PKG
|
||||
|
@ -72,9 +72,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
|||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
*.txt PKG-INFO doc/licenses/* doc/FAQ.txt \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a *.txt PKG-INFO doc/licenses/* doc/FAQ.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
rm $PKG/usr/doc/$PRGNAM-$VERSION/version.txt
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="lxml"
|
||||
VERSION="3.3.4"
|
||||
VERSION="3.3.5"
|
||||
HOMEPAGE="http://lxml.de/"
|
||||
DOWNLOAD="http://pypi.python.org/packages/source/l/lxml/lxml-3.3.4.tar.gz"
|
||||
MD5SUM="79e7b190563bf280c50ec20087f40dfa"
|
||||
DOWNLOAD="http://pypi.python.org/packages/source/l/lxml/lxml-3.3.5.tar.gz"
|
||||
MD5SUM="88c75f4c73fc8f59c9ebb17495044f2f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="BeautifulSoup"
|
||||
|
|
Loading…
Reference in a new issue