Hi,
Author dropped `.pl' extension from the filenames, as requested.
As I wrote in previous verion of the update:
The app has new command line tools: youtube-download and
youtube-playlists. First one lets you download youtube videos from
command line (in similar way line many other tools like that). Second
script lets you list URLs to the videos from YouTube playlist url. That
lets you download few viedos at once, for example:
% youtube-playlists PLC9D0C04BB10E1797 | youtube-download
As requested by esipe@ I will be working with upstream to make
Term::ANSIColor optional.
Using this for few weeks now. It depends on new ports which I sent in
last hour to the list. Comments, okays?
It needs Term::ANSIColor, sent here:
http://marc.info/?l=openbsd-ports&m=132604872904102&w=2
and also it depends on XML::TreePP available from here:
http://marc.info/?l=openbsd-ports&m=132604979504307&w=2
ChangeLog for WWW::YouTube::Download:
http://cpansearch.perl.org/src/XAICRON/WWW-YouTube-Download-0.39/Changes
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile 26 Aug 2011 09:03:13 -0000 1.4
+++ Makefile 17 Jan 2012 21:30:26 -0000
@@ -3,7 +3,7 @@
COMMENT = simple YouTube interface for downloading videos
MODULES = cpan
-DISTNAME = WWW-YouTube-Download-0.32
+DISTNAME = WWW-YouTube-Download-0.39
CATEGORIES = www
MAINTAINER = Mikolaj Kucharski <[email protected]>
@@ -20,9 +20,11 @@
MODCPAN_EXAMPLES = Yes
MODCPAN_EXAMPLES_DIST = eg
-RUN_DEPENDS = www/p5-libwww \
- www/p5-URI \
+RUN_DEPENDS = devel/p5-Term-ANSIColor \
converters/p5-JSON \
- www/p5-HTML-Parser
+ textproc/p5-XML-TreePP \
+ www/p5-HTML-Parser \
+ www/p5-URI \
+ www/p5-libwww
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 26 Aug 2011 09:03:13 -0000 1.4
+++ distinfo 17 Jan 2012 21:30:26 -0000
@@ -1,5 +1,5 @@
-MD5 (WWW-YouTube-Download-0.32.tar.gz) = l3usE74P8TNq8kcWXJBEjw==
-RMD160 (WWW-YouTube-Download-0.32.tar.gz) = W8Xm5yO20hcElh6xa7toSUV12bI=
-SHA1 (WWW-YouTube-Download-0.32.tar.gz) = 8UG1kxu3RRJu9JHUaosXxbFod8Q=
-SHA256 (WWW-YouTube-Download-0.32.tar.gz) =
Adhf7sgwMcGTY/5PiOIahk611lKlen4LTrSXEIprxxU=
-SIZE (WWW-YouTube-Download-0.32.tar.gz) = 35796
+MD5 (WWW-YouTube-Download-0.39.tar.gz) = vcDvoqYYtj71ZfC8xee1Sw==
+RMD160 (WWW-YouTube-Download-0.39.tar.gz) = tD/gEZ6YHnwQwDxBFGtlBcZ/9Vk=
+SHA1 (WWW-YouTube-Download-0.39.tar.gz) = dOtMnmZsKl1S5H6cHAMbuzKVw+A=
+SHA256 (WWW-YouTube-Download-0.39.tar.gz) =
eCKR9RWuHq0gZRhTFJT6Ioagl3aBfjNsgIhrYt88dMU=
+SIZE (WWW-YouTube-Download-0.39.tar.gz) = 34235
Index: patches/patch-Makefile_PL
===================================================================
RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/patches/patch-Makefile_PL,v
retrieving revision 1.2
diff -u -r1.2 patch-Makefile_PL
--- patches/patch-Makefile_PL 31 Jul 2011 18:09:57 -0000 1.2
+++ patches/patch-Makefile_PL 17 Jan 2012 21:30:26 -0000
@@ -3,13 +3,13 @@
Module::Install::AuthorTests is missing in ports tree,
but not really essential.
---- Makefile.PL.orig Tue Jan 4 15:17:14 2011
-+++ Makefile.PL Mon Jan 10 22:22:02 2011
-@@ -8,7 +8,6 @@ requires 'JSON';
- requires 'HTML::Entities';
-
+--- Makefile.PL.orig Tue Jan 17 16:23:57 2012
++++ Makefile.PL Tue Jan 17 21:26:29 2012
+@@ -11,7 +11,6 @@ requires 'Term::ANSIColor'; # for youtube-download and
+ requires 'XML::TreePP'; # for youtube-playlists
+
tests 't/*.t t/*/*.t';
-author_tests 'xt';
+
+ install_script 'bin/youtube-download', 'bin/youtube-playlists';
- test_requires 'Test::More', '0.96';
- auto_include;
Index: patches/patch-lib_WWW_YouTube_Download_pm
===================================================================
RCS file: patches/patch-lib_WWW_YouTube_Download_pm
diff -N patches/patch-lib_WWW_YouTube_Download_pm
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/p5-WWW-YouTube-Download/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- pkg/PLIST 25 Apr 2011 13:04:17 -0000 1.1.1.1
+++ pkg/PLIST 17 Jan 2012 21:30:26 -0000
@@ -1,6 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/04/25 13:04:17 todd Exp $
+bin/youtube-download
+bin/youtube-playlists
${P5SITE}/WWW/YouTube/
${P5SITE}/WWW/YouTube/Download.pm
+@man man/man1/youtube-download.1
+@man man/man1/youtube-playlists.1
@man man/man3p/WWW::YouTube::Download.3p
share/examples/p5-WWW-YouTube-Download/
share/examples/p5-WWW-YouTube-Download/cb.pl
--
best regards
q#