summaryrefslogtreecommitdiff
path: root/network/Pafy
diff options
context:
space:
mode:
Diffstat (limited to 'network/Pafy')
-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