summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-09 07:11:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-09 07:11:39 +0700
commit24040ff5a978704c5347c3a62e2d3e030d000b6b (patch)
tree8c3b2dc0cab318feb8223deaa6cf05a02565a495 /libraries
parent9e38ce1b075c8028346700a8320b22b86e98aeb4 (diff)
downloadslackbuilds-24040ff5a978704c5347c3a62e2d3e030d000b6b.tar.gz
libraries/PyXML: Update DOWNLOAD url and cleanups.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/PyXML/PyXML.SlackBuild11
-rw-r--r--libraries/PyXML/PyXML.info4
-rw-r--r--libraries/PyXML/slack-desc2
3 files changed, 7 insertions, 10 deletions
diff --git a/libraries/PyXML/PyXML.SlackBuild b/libraries/PyXML/PyXML.SlackBuild
index f248fdbf9e..a733c5a99c 100644
--- a/libraries/PyXML/PyXML.SlackBuild
+++ b/libraries/PyXML/PyXML.SlackBuild
@@ -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
diff --git a/libraries/PyXML/PyXML.info b/libraries/PyXML/PyXML.info
index 874687bec6..5aec37855f 100644
--- a/libraries/PyXML/PyXML.info
+++ b/libraries/PyXML/PyXML.info
@@ -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=""
diff --git a/libraries/PyXML/slack-desc b/libraries/PyXML/slack-desc
index 73a597a2aa..316a1c63f4 100644
--- a/libraries/PyXML/slack-desc
+++ b/libraries/PyXML/slack-desc
@@ -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: