aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorDiniz Bortolotto <diniz.bortolotto@gmail.com>2024-03-07 10:22:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-03-09 06:18:10 +0700
commit4122a3e7291ce632f2d6b6e4fb9263ffa424b46c (patch)
tree42b0baec6a3432688f88c4ae3e3d64baf99edfdf /multimedia
parent1c3dba94bd21f57bc88b17ca01cf7fed9ec3ad2a (diff)
multimedia/podcastparser: Updated for version 0.6.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/podcastparser/README5
-rw-r--r--multimedia/podcastparser/podcastparser.SlackBuild48
-rw-r--r--multimedia/podcastparser/podcastparser.info12
-rw-r--r--multimedia/podcastparser/slack-desc10
4 files changed, 31 insertions, 44 deletions
diff --git a/multimedia/podcastparser/README b/multimedia/podcastparser/README
index d8e6f83202c01..fd76078450456 100644
--- a/multimedia/podcastparser/README
+++ b/multimedia/podcastparser/README
@@ -1,2 +1,3 @@
-podcastparser is a simple, fast and efficient podcast parser written in
-Python.
+The podcast parser project is a library from the gPodder
+project to provide an easy and reliable way of parsing
+RSS- and Atom-based podcast feeds in Python.
diff --git a/multimedia/podcastparser/podcastparser.SlackBuild b/multimedia/podcastparser/podcastparser.SlackBuild
index 3dfaef957ac84..0bb9681688e3e 100644
--- a/multimedia/podcastparser/podcastparser.SlackBuild
+++ b/multimedia/podcastparser/podcastparser.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for podcastparser
-# Copyright 2017 Chris Farrell <timcowchip@gmail.com>
+# Copyright 2024 Diniz Bortolotto <diniz.bortolotto@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,21 +11,21 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=podcastparser
-VERSION=${VERSION:-0.6.4}
+VERSION=${VERSION:-0.6.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,20 +47,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -79,14 +62,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i 's/distutils.core/setuptools/' setup.py
python3 setup.py build
-python3 setup.py install --root $PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 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 AUTHORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS LICENSE README.md doc/index.rst \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/multimedia/podcastparser/podcastparser.info b/multimedia/podcastparser/podcastparser.info
index 8df73bb9741b0..0ef0cf8e09611 100644
--- a/multimedia/podcastparser/podcastparser.info
+++ b/multimedia/podcastparser/podcastparser.info
@@ -1,10 +1,10 @@
PRGNAM="podcastparser"
-VERSION="0.6.4"
-HOMEPAGE="http://gpodder.org/podcastparser/"
-DOWNLOAD="https://github.com/gpodder/podcastparser/archive/0.6.4/podcastparser-0.6.4.tar.gz"
-MD5SUM="93eb67ce21165bf3f79a4a8b40e021fd"
+VERSION="0.6.10"
+HOMEPAGE="https://github.com/gpodder/podcastparser"
+DOWNLOAD="https://github.com/gpodder/podcastparser/archive/0.6.10/podcastparser-0.6.10.tar.gz"
+MD5SUM="57093c181a1c7198ffcb8bcd8fb558a5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Chris Farrell"
-EMAIL="timcowchip@gorge.net"
+MAINTAINER="Diniz Bortolotto"
+EMAIL="diniz.bortolotto@gmail.com"
diff --git a/multimedia/podcastparser/slack-desc b/multimedia/podcastparser/slack-desc
index 6c634dd29b7b6..41cef377c0016 100644
--- a/multimedia/podcastparser/slack-desc
+++ b/multimedia/podcastparser/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-podcastparser: podcastparser (Python RSS feed parser)
+podcastparser: podcastparser (Python RSS and Atom feed parser)
podcastparser:
-podcastparser: podcastparser is a podcast parser written in Python.
-podcastparser:
-podcastparser:
-podcastparser: Homepage: http://gpodder.org/podcastparser/
+podcastparser: The podcast parser project is a library from the gPodder project
+podcastparser: to provide an easy and reliable way of parsing RSS- and Atom-based
+podcastparser: podcast feeds in Python.
podcastparser:
podcastparser:
+podcastparser: Homepage: https://github.com/gpodder/podcastparser
podcastparser:
podcastparser:
podcastparser: