summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChess Griffin <chess@chessgriffin.com>2010-05-13 00:36:25 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:36:25 +0200
commit5070523d725d0b6c2acb79c78b68bb3e3f515dc6 (patch)
tree8b1b209437dea90ff9099140e745420c92e733d2
parenta4d9bf3562ecdfc62b31d2cab6b1b0945f3276fd (diff)
downloadslackbuilds-5070523d725d0b6c2acb79c78b68bb3e3f515dc6.tar.gz
network/feedparser: Updated for version 4.1
-rw-r--r--network/feedparser/README4
-rw-r--r--network/feedparser/feedparser.SlackBuild9
-rw-r--r--network/feedparser/feedparser.info2
3 files changed, 8 insertions, 7 deletions
diff --git a/network/feedparser/README b/network/feedparser/README
index fc81c21244..1d9eefaa38 100644
--- a/network/feedparser/README
+++ b/network/feedparser/README
@@ -1,5 +1 @@
-feedparser - parse RSS feeds in Python
-
feedparser is a Python utility to parse RSS and Atom feeds.
-
-Homepage: http://www.feedparser.org
diff --git a/network/feedparser/feedparser.SlackBuild b/network/feedparser/feedparser.SlackBuild
index f92d8f867b..4097359291 100644
--- a/network/feedparser/feedparser.SlackBuild
+++ b/network/feedparser/feedparser.SlackBuild
@@ -27,6 +27,7 @@ VERSION=4.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -64,8 +65,10 @@ python setup.py build || exit 1
python setup.py install --root $PKG || exit 1
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -77,4 +80,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/feedparser/feedparser.info b/network/feedparser/feedparser.info
index 18d3f9aebc..0bd82190f0 100644
--- a/network/feedparser/feedparser.info
+++ b/network/feedparser/feedparser.info
@@ -2,7 +2,9 @@ PRGNAM="feedparser"
VERSION="4.1"
HOMEPAGE="http://www.feedparser.org"
DOWNLOAD="http://feedparser.googlecode.com/files/feedparser-4.1.zip"
+DOWNLOAD_x86_64=""
MD5SUM="7ab1140c1e29d4cd52ab20fa7b1f8640"
+MD5SUM_x86_64=""
MAINTAINER="Chess Griffin"
EMAIL="chess@chessgriffin.com"
APPROVED="dsomero"