summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2014-06-06 17:22:14 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-12 06:51:39 +0700
commitc590a17644902a3430b504e67fd9a0f268da78ca (patch)
tree418061b634f7748ab7e29dc6f6f018b5e695015d /network
parent28076ab6c21c88493e601b1ff88b77155c18f8cb (diff)
downloadslackbuilds-c590a17644902a3430b504e67fd9a0f268da78ca.tar.gz
slackbuilds-c590a17644902a3430b504e67fd9a0f268da78ca.tar.xz
network/Pafy: Updated for version 0.3.46.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/Pafy/Pafy.SlackBuild3
-rw-r--r--network/Pafy/Pafy.info6
-rw-r--r--network/Pafy/README5
-rw-r--r--network/Pafy/doinst.sh3
4 files changed, 12 insertions, 5 deletions
diff --git a/network/Pafy/Pafy.SlackBuild b/network/Pafy/Pafy.SlackBuild
index 6ac349c537..b773285953 100644
--- a/network/Pafy/Pafy.SlackBuild
+++ b/network/Pafy/Pafy.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=Pafy
-VERSION=${VERSION:-0.3.44}
+VERSION=${VERSION:-0.3.46}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -81,6 +81,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/Pafy/Pafy.info b/network/Pafy/Pafy.info
index a40dacfeb4..6c9953d220 100644
--- a/network/Pafy/Pafy.info
+++ b/network/Pafy/Pafy.info
@@ -1,8 +1,8 @@
PRGNAM="Pafy"
-VERSION="0.3.44"
+VERSION="0.3.46"
HOMEPAGE="http://np1.github.io/pafy/"
-DOWNLOAD="https://pypi.python.org/packages/source/P/Pafy/Pafy-0.3.44.tar.gz"
-MD5SUM="ead268e87539d030f4383db7686c1ccf"
+DOWNLOAD="https://pypi.python.org/packages/source/P/Pafy/Pafy-0.3.46.tar.gz"
+MD5SUM="6e8f832732f538c079b156457dc4f71f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/network/Pafy/README b/network/Pafy/README
index 25e91a18f4..069ffd889a 100644
--- a/network/Pafy/README
+++ b/network/Pafy/README
@@ -1,6 +1,6 @@
Python API for YouTube - Download videos and retrieve metadata from YouTube.
-- Retreive metadata such as viewcount, duration, rating, author, thumbnail, etc
+- Retreive metadata such as viewcount, duration, rating, author, thumbnail, keywords
- Download video or audio at requested resolution / bitrate / format / filesize
- Command line tool (ytdl) for downloading directly from the command line
- Retrieve the URL to stream the video in a player such as vlc or mplayer
@@ -9,3 +9,6 @@ Python API for YouTube - Download videos and retrieve metadata from YouTube.
- Select highest quality stream for download or streaming
- Download audio only (no video) in ogg or m4a format
- Download video only (no audio) in m4v format
+- Retreive playlists and playlist metadata
+- Works with Python 2.6+ and 3.3+
+- No dependencies
diff --git a/network/Pafy/doinst.sh b/network/Pafy/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/network/Pafy/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi