libraries/PyXML: Update DOWNLOAD url and cleanups.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-04-09 07:11:39 +07:00
parent 9e38ce1b07
commit 24040ff5a9
3 changed files with 7 additions and 10 deletions

View file

@ -34,7 +34,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -58,7 +58,7 @@ 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 {} \;
patch -p1 -i $CWD/PyXML-0.8.4-python2.6.patch
@ -70,13 +70,10 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/man/man1
cp $TMP/$PRGNAM-$VERSION/doc/man/* $PKG/usr/man/man1
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ANNOUNCE CREDITS LICENCE MANIFEST PKG-INFO README* TODO demo doc \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,7 +1,7 @@
PRGNAM="PyXML"
VERSION="0.8.4"
HOMEPAGE="http://pyxml.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/pyxml/PyXML-0.8.4.tar.gz"
HOMEPAGE="https://pypi.python.org/pypi/PyXML/0.8.4"
DOWNLOAD="https://src.fedoraproject.org/repo/pkgs/PyXML/PyXML-0.8.4.tar.gz/1f7655050cebbb664db976405fdba209/PyXML-0.8.4.tar.gz"
MD5SUM="1f7655050cebbb664db976405fdba209"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""

View file

@ -14,6 +14,6 @@ PyXML: programming interfaces, an interface to the Expat parser (and the
PyXML: Expat parser itself), and a C helper module that can speed up
PyXML: xmllib.py by a factor of 5
PyXML:
PyXML: Homepage: http://pyxml.sourceforge.net/
PyXML: Homepage: https://pypi.python.org/pypi/PyXML/0.8.4
PyXML:
PyXML: