summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Azzali <mattepiu@gentoo.org>2006-09-03 14:54:46 +0000
committerMatteo Azzali <mattepiu@gentoo.org>2006-09-03 14:54:46 +0000
commit25198a0a088f5441165b9d7f6cde94668ad6307c (patch)
tree3d72993f499c17aaa1062e7daf1b1e1d077bed3c /media-tv/xmltv
parentRemoved old xmltv ebuild. (diff)
downloadgentoo-2-25198a0a088f5441165b9d7f6cde94668ad6307c.tar.gz
gentoo-2-25198a0a088f5441165b9d7f6cde94668ad6307c.tar.bz2
gentoo-2-25198a0a088f5441165b9d7f6cde94668ad6307c.zip
Removed old xmltv ebuild.
(Portage version: 2.1.1_rc1-r2) (Unsigned Manifest commit)
Diffstat (limited to 'media-tv/xmltv')
-rw-r--r--media-tv/xmltv/Manifest20
-rw-r--r--media-tv/xmltv/files/digest-xmltv-0.5.43-r43
-rw-r--r--media-tv/xmltv/files/tv_grab_de_tvtoday-0.5.43.diff124
-rw-r--r--media-tv/xmltv/xmltv-0.5.43-r4.ebuild172
4 files changed, 4 insertions, 315 deletions
diff --git a/media-tv/xmltv/Manifest b/media-tv/xmltv/Manifest
index 3b926a31ae1b..d93c54ff53ea 100644
--- a/media-tv/xmltv/Manifest
+++ b/media-tv/xmltv/Manifest
@@ -1,28 +1,16 @@
-AUX tv_grab_de_tvtoday-0.5.43.diff 4635 RMD160 05751902ce6d80fd78416b9313f2d79994e48d5c SHA1 39da6c3e446b1d8636b912d75d97e8008a534f26 SHA256 48467fa1e7d98f3f60d92c79914d8055bbcb0ad6978c9da4bab9a65dbeb2848f
-MD5 c7f40a37dc903ccd1c9bb18c60a4708b files/tv_grab_de_tvtoday-0.5.43.diff 4635
-RMD160 05751902ce6d80fd78416b9313f2d79994e48d5c files/tv_grab_de_tvtoday-0.5.43.diff 4635
-SHA256 48467fa1e7d98f3f60d92c79914d8055bbcb0ad6978c9da4bab9a65dbeb2848f files/tv_grab_de_tvtoday-0.5.43.diff 4635
-DIST xmltv-0.5.43.tar.bz2 534243 RMD160 a870c3119ba9ee05bbcab72d0c7a4403ed118caf SHA1 a815c7293e775a5c20a584befdd7b41f6a3fd4c2 SHA256 a0e51a6a43f3a7ccb9c9294f855301a2eb3def01b8b3cd0547dd4c20c94f098d
DIST xmltv-0.5.44.tar.bz2 540060 RMD160 24b68a68a2a81a92748337afcc9b7eb76d68284b SHA1 cdcaff5e5cc27a0097d31110cb60994ee08f54d8 SHA256 396c57f374d1de2c724acdfba97e916e72004686f798bf240575e55cd45982ba
-EBUILD xmltv-0.5.43-r4.ebuild 5216 RMD160 7ef227611dc136ad2df6ba7c204794df754f4a9c SHA1 5a6abf153958181ebb063df77b71b80d6ab96814 SHA256 54a21de9d38a4dc75ed07aa660d5190dca5284bfccb4c8c8593472d59059c4a9
-MD5 97823498a42096bd2143c42b7a183a92 xmltv-0.5.43-r4.ebuild 5216
-RMD160 7ef227611dc136ad2df6ba7c204794df754f4a9c xmltv-0.5.43-r4.ebuild 5216
-SHA256 54a21de9d38a4dc75ed07aa660d5190dca5284bfccb4c8c8593472d59059c4a9 xmltv-0.5.43-r4.ebuild 5216
EBUILD xmltv-0.5.44.ebuild 5513 RMD160 11dc6372d0277ebadb33a1248a39c903e74f84c4 SHA1 bd47e0977f945143c1ca44fa6e21cdb051d8a6df SHA256 918fda77eb7f4d77e91952029fb1e131f23e603a061dcd07e440a34f1bdf5eee
MD5 0b53e45166f12aa47e9cfcd340edf847 xmltv-0.5.44.ebuild 5513
RMD160 11dc6372d0277ebadb33a1248a39c903e74f84c4 xmltv-0.5.44.ebuild 5513
SHA256 918fda77eb7f4d77e91952029fb1e131f23e603a061dcd07e440a34f1bdf5eee xmltv-0.5.44.ebuild 5513
-MISC ChangeLog 12161 RMD160 e393b677bd5f94b39cb0a4e851c5d8b2074084c8 SHA1 4fda520cdd9da1cd8eed295aabf46e756c7447dc SHA256 1be33e264907175e21f5fb135c94cfd2ac0cee02e140da443773d5b11a759c4f
-MD5 5dc3f0abc304972280bf74c4993209a9 ChangeLog 12161
-RMD160 e393b677bd5f94b39cb0a4e851c5d8b2074084c8 ChangeLog 12161
-SHA256 1be33e264907175e21f5fb135c94cfd2ac0cee02e140da443773d5b11a759c4f ChangeLog 12161
+MISC ChangeLog 12300 RMD160 a6cedf4afc4ff45bc2eb7bb5acf698883d741fe4 SHA1 df8cfef33856b15d3daa6cfb1eda5ec182eb50e0 SHA256 0584c5cfcc71dd477de9ed8ebbb6fee1301db2e09695aef72a22dbb46c501a91
+MD5 d8a4817fd240ac8cfaea831830a19526 ChangeLog 12300
+RMD160 a6cedf4afc4ff45bc2eb7bb5acf698883d741fe4 ChangeLog 12300
+SHA256 0584c5cfcc71dd477de9ed8ebbb6fee1301db2e09695aef72a22dbb46c501a91 ChangeLog 12300
MISC metadata.xml 253 RMD160 5ef8864f145f7593d909731ad87eeffa4b00dcc7 SHA1 a4e8c0ac9ef9fbe6e4d82ef5131047bb4e187dcc SHA256 8dcec70903c8e22a3a3ff3ba1e2ae5c508d58fe0662ceb53279ae94766b445c4
MD5 b403bbd8eaf2e42d9653fca6855d3996 metadata.xml 253
RMD160 5ef8864f145f7593d909731ad87eeffa4b00dcc7 metadata.xml 253
SHA256 8dcec70903c8e22a3a3ff3ba1e2ae5c508d58fe0662ceb53279ae94766b445c4 metadata.xml 253
-MD5 915417bae25fca13c0bfaa2be2bfc95c files/digest-xmltv-0.5.43-r4 241
-RMD160 4f8ccb7188393cd26eccbef561e0403701e2731d files/digest-xmltv-0.5.43-r4 241
-SHA256 075898db8f3b46f21d4dd7c0ea10a79a867a2cf25ce49b038692d25e5fa7fa4a files/digest-xmltv-0.5.43-r4 241
MD5 96c419813b6c6e04de2ec8eb3d248a6e files/digest-xmltv-0.5.44 241
RMD160 044356028391784c760377da67e9554f3a28cc88 files/digest-xmltv-0.5.44 241
SHA256 8c2dad4df8e3041a80060e210036579e3c75f27cd5ec9f59fa644b12eb2e1e82 files/digest-xmltv-0.5.44 241
diff --git a/media-tv/xmltv/files/digest-xmltv-0.5.43-r4 b/media-tv/xmltv/files/digest-xmltv-0.5.43-r4
deleted file mode 100644
index a6c8f082af33..000000000000
--- a/media-tv/xmltv/files/digest-xmltv-0.5.43-r4
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b6a9fc395782125ca66a8e26531aca58 xmltv-0.5.43.tar.bz2 534243
-RMD160 a870c3119ba9ee05bbcab72d0c7a4403ed118caf xmltv-0.5.43.tar.bz2 534243
-SHA256 a0e51a6a43f3a7ccb9c9294f855301a2eb3def01b8b3cd0547dd4c20c94f098d xmltv-0.5.43.tar.bz2 534243
diff --git a/media-tv/xmltv/files/tv_grab_de_tvtoday-0.5.43.diff b/media-tv/xmltv/files/tv_grab_de_tvtoday-0.5.43.diff
deleted file mode 100644
index 5f4b280198e6..000000000000
--- a/media-tv/xmltv/files/tv_grab_de_tvtoday-0.5.43.diff
+++ /dev/null
@@ -1,124 +0,0 @@
-Index: grab/de_tvtoday/tv_grab_de_tvtoday.in
-===================================================================
-RCS file: /cvsroot/xmltv/xmltv/grab/de_tvtoday/tv_grab_de_tvtoday.in,v
-retrieving revision 1.42
-retrieving revision 1.45
-diff -p -u -r1.42 -r1.45
---- grab/de_tvtoday/tv_grab_de_tvtoday.in 21 Apr 2006 17:17:21 -0000 1.42
-+++ grab/de_tvtoday/tv_grab_de_tvtoday.in 25 May 2006 17:10:18 -0000 1.45
-@@ -138,6 +138,7 @@ BEGIN {
- else {
- *t = \&Log::TraceMessages::t;
- *d = \&Log::TraceMessages::d;
-+ #$Log::TraceMessages::On = 1;
- }
- }
-
-@@ -502,9 +503,10 @@ sub parse_page($$) {
- }
-
- #-- extract date of grabbed data from retrieved webpage ...
-- $_ = $page->look_down('_tag' => 'td', 'class' => 'navigator-hhead-large');
-+ $_ = $page->look_down('_tag' => 'span', 'class' => 'text-weiss');
- die("cannot find date on requested page")
- unless($_->as_text() =~ m/([1-3]?[0-9])\.(1?[0-9])\.(20[0-9]{2})/);
-+ t "extracted date: $3-$2-$1";
- $day = ParseDate("$3-$2-$1 00:00:00");
-
- #-- well, now let's scan the table for programme data
-@@ -573,6 +575,7 @@ sub parse_page($$) {
- $show{q(episode-num)} = [ [ $1, "onscreen" ] ];
- }
-
-+ t "show title: $span";
- $show{title} = [[ $span, $lang ]];
- }
- elsif (ref($span) eq "HTML::Element" and $span->tag eq "a") {
-@@ -583,7 +586,7 @@ sub parse_page($$) {
-
- my $title = ($tag->content_list())[0];
-
-- $title = convert_cp1252_chars(\$title);
-+ convert_cp1252_chars(\$title);
-
- $title =~ s/\s*\([^\(]+\)\s*$//;
- if ($title =~ s/\s*(\d+)\.\sTeil//gi) {
-@@ -836,6 +839,7 @@ sub squeeze_out_desc($$) {
- # try to match <category>, <country> <year>; R: <names>; D: <names> construct
- # where <country>/<year> or the [RD]: stuff may be missing ...
- if(my @parts = ($$desc =~ m/^\s*(\(([^\)]*)\))?\s+([^,;0-9]+)(,?\s+([^,;]+)\s+([12][09][0-9]{2}(?:[\/-][0-9]{2})?))?\s*; (?:(?:; )?(Buch\/Regie|R): ([^;]+))?\s*((?:; )?D: (.+))?\s*$/)) {
-+ t "split rule: <category>, <country> <year> ...";
- $$desc = "";
-
- #-- $parts[1] is the show title in English (doesn't have to be available)
-@@ -887,9 +891,14 @@ sub squeeze_out_desc($$) {
- }
- }
- else {
-+ t "split rule: dot splitting";
- my @data = split "·", $$desc;
- s/(^\s|\s$)//g foreach(@data); #CHG#
-
-+ for(0 .. (scalar(@data) - 1)) {
-+ t "dot-split part $_: " . $data[$_];
-+ }
-+
- if(scalar(@data) == 3
- && not($data[1] =~ m/[\wäöüßÄÖÜ]+:/) #- FIX false positive: tvtoday.de seems to publish "guests: <names>" here some (rare) times :-(
- && $data[2] =~ m/^Mit (.*?)$/) {
-@@ -945,15 +954,22 @@ sub squeeze_out_desc($$) {
- next;
- }
-
-- if (my ($cat, $rest1, $names, $guests, $rest2) = m/^([^,]+?)((?:\s+-\s+..+?)*) - Moderation: (.+?) - Gäste: (..+?)(?:\s+-\s+(.+))?$/) {
-+ if (my ($nocat, $cat, $rest1, $names, $guests, $rest2) = m/^(([^,.%^&*();]+?)((?:\s+-\s+..+?)*)|.+) - Moderation: (.+?) - Gäste: (..+?)(?:\s+-\s+(.+))?$/) {
- my @data = split_up_names($names, $show);
- push @{$show->{"credits"}{"presenter"}}, @data;
- my @guest_data = split_up_names($guests, $show);
- push @{$show->{"credits"}{"guest"}}, @guest_data;
-- $show->{"category"} = [[ $cat, $lang ]];
--
-- warn "misdetected category: $cat"
-- if($cat =~ m/\d{4}/);
-+
-+ if(defined($cat)) {
-+ $show->{"category"} = [[ $cat, $lang ]];
-+
-+ warn "misdetected category: $cat"
-+ if($cat =~ m/\d{4}/);
-+ }
-+ else {
-+ t "no-cat match: $nocat";
-+ $rest1 = $nocat;
-+ }
-
- my @rest;
- foreach(defined($rest1) ? split(m/\s+-\s+/, $rest1) : undef, $rest2) {
-@@ -963,14 +979,21 @@ sub squeeze_out_desc($$) {
- next unless length($_);
- }
-
-- if (my ($cat, $rest1, $names, $rest2) = m/^([^,]+?)((?:\s+-\s+..+?)*) - Moderation: (.+?)(?:\s+-\s+(.+))?$/) {
-+ if (my ($nocat, $cat, $rest1, $names, $rest2) = m/^(([^,]+?)((?:\s+-\s+..+?)*)|.+) - Moderation: (.+?)(?:\s+-\s+(.+))?$/) {
- my @data = split_up_names($names, $show);
- push @{$show->{"credits"}{"presenter"}}, @data;
-- $show->{"category"} = [[ $cat, $lang ]];
-
-- warn "misdetected category: $cat"
-- if($cat =~ m/\d{4}/);
--
-+ if(defined($cat)) {
-+ $show->{"category"} = [[ $cat, $lang ]];
-+
-+ warn "misdetected category: $cat"
-+ if($cat =~ m/\d{4}/);
-+ }
-+ else {
-+ t "no-cat match: $nocat";
-+ $rest1 = $nocat;
-+ }
-+
- my @rest;
- foreach(defined($rest1) ? split(m/\s+-\s+/, $rest1) : undef, $rest2) {
- push @rest, $_ if(defined($_) && length($_));
-
diff --git a/media-tv/xmltv/xmltv-0.5.43-r4.ebuild b/media-tv/xmltv/xmltv-0.5.43-r4.ebuild
deleted file mode 100644
index 397ecfeb5c26..000000000000
--- a/media-tv/xmltv/xmltv-0.5.43-r4.ebuild
+++ /dev/null
@@ -1,172 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xmltv/xmltv-0.5.43-r4.ebuild,v 1.8 2006/07/16 22:01:53 mattepiu Exp $
-
-inherit eutils perl-module
-
-DESCRIPTION="Set of utilities to manage TV listings stored in the XMLTV format."
-HOMEPAGE="http://membled.com/work/apps/xmltv/"
-SRC_URI="mirror://sourceforge/xmltv//${P}.tar.bz2"
-IUSE=""
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-PREFIX="/usr"
-
-# NOTE: you can customize the xmltv installation by
-# defining USE FLAGS (custom ones in
-# /etc/portage/package.use for example).
-#
-# Do "equery u media-tv/xmltv" for the complete
-# list of the flags you can set, with description.
-
-# EXAMPLES:
-# enable just North American grabber
-# in /etc/portage/package.use : media-tv/xmltv na_dd
-#
-# enable graphical front-end, Italy grabber
-# in /etc/portage/package.use : media-tv/xmltv tv_check it
-
-IUSE="be br brnet ch uk_rt uk_bleb is it na_dd na_icons fi es ee il re nl nl_wolf huro dk jp de_tvtoday se_swedb fr no pt za tv_pick_cgi tv_check"
-
-RDEPEND=">=dev-perl/libwww-perl-5.65
- >=dev-perl/XML-Parser-2.34
- >=dev-perl/XML-Twig-3.10
- >=dev-perl/DateManip-5.42
- >=dev-perl/XML-Writer-0.4.6
- || ( >=dev-lang/perl-5.8.7 perl-core/Memoize )
- || ( >=dev-lang/perl-5.8.8 perl-core/Storable )
- dev-perl/Lingua-EN-Numbers-Ordinate
- >=dev-perl/Lingua-Preferred-0.2.4
- >=dev-perl/Term-ProgressBar-2.03
- dev-perl/Compress-Zlib
- dev-perl/Unicode-String
- dev-perl/TermReadKey
- >=dev-perl/Class-MethodMaker-2
- >=dev-lang/perl-5.6.1"
-
-DEPEND="${RDEPEND}
- >=sys-apps/portage-2.0.50-r1
- na_dd? ( dev-perl/HTML-TableExtract >=dev-perl/WWW-Mechanize-1.02 )
- de_tvtoday? ( >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree )
- dk? ( dev-perl/HTML-Tree )
- es? ( dev-perl/HTML-Tree )
- fi? ( dev-perl/HTML-Tree )
- fr? ( >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-Tree )
- huro? ( dev-perl/HTML-Tree )
- jp? ( dev-perl/HTML-Tree dev-perl/Text-Kakasi )
- na_dd? ( dev-perl/SOAP-Lite dev-perl/TermReadKey )
- nl? ( dev-perl/HTML-Tree )
- nl_wolf? ( dev-perl/HTML-Tree )
- no? ( >=dev-perl/HTML-Parser-3.34 dev-perl/HTML-TableExtract dev-perl/HTML-LinkExtractor )
- pt? ( dev-perl/HTML-Tree dev-perl/Unicode-UTF8simple )
- se_swedb? ( dev-perl/HTTP-Cache-Transparent )
- uk_bleb? ( dev-perl/Archive-Zip dev-perl/IO-stringy )
- tv_check? ( dev-perl/perl-tk dev-perl/Tk-TableMatrix )
- tv_pick_cgi? ( perl-core/CGI )
- "
-
-make_config() {
- # Never except default configuration
- echo "no"
-
- # Enable Australian
- #use au && echo "yes" || echo "no"
- # Enable Brazil
- use br && echo "yes" || echo "no"
- # Enable Brazil Cable
- use brnet && echo "yes" || echo "no"
- # Enable Switzerland
- use ch && echo "yes" || echo "no"
- # Enable Alternate Brittain
- use uk_rt && echo "yes" || echo "no"
- # Enable Alternate Brittain 2
- use uk_bleb && echo "yes" || echo "no"
- # Enable Belgium and Luxemburg
- use be && echo "yes" || echo "no"
- #Enable Iceland
- use is && echo "yes" || echo "no"
- # Enable Italy
- use it && echo "yes" || echo "no"
- # Enable North America using DataDirect
- use na_dd && echo "yes" || echo "no"
- # Enable North America channel icons
- use na_icons && echo "yes" || echo "no"
- # Enable Finland
- use fi && echo "yes" || echo "no"
- # Enable Spain
- use es && echo "yes" || echo "no"
- # Enable Spain Digital
- # use es_digital && echo "yes" || echo "no"
- # Enable Israel
- use il && echo "yes" || echo "no"
- # Enable Netherlands
- use nl && echo "yes" || echo "no"
- # Enable Alternate Netherlands
- use nl_wolf && echo "yes" || echo "no"
- # Enable Hungary and Romania
- use huro && echo "yes" || echo "no"
- # Enable Denmark
- use dk && echo "yes" || echo "no"
- # Enable Japan
- use jp && echo "yes" || echo "no"
- # Enable Germany
- use de_tvtoday && echo "yes" || echo "no"
- # Enable Sweden
- #use se && echo "yes" || echo "no"
- # Enable Sweden 2
- use se_swedb && echo "yes" || echo "no"
- # Enable France
- use fr && echo "yes" || echo "no"
- # Enable Norway
- use no && echo "yes" || echo "no"
- # Enable Portugal
- use pt && echo "yes" || echo "no"
- # Enable South Africa
- use za && echo "yes" || echo "no"
- # Enable GUI checking.
- use tv_check && echo "yes" || echo "no"
- # Enable CGI support
- use tv_pick_cgi && echo "yes" || echo "no"
- # Enable Estonia
- use ee && echo "yes" || echo "no"
- #Enable Reunion Island
- use re && echo "yes" || echo "no"
-}
-
-src_unpack() {
- unpack "${A}"
-
- cd "${S}"
- epatch "${FILESDIR}/tv_grab_de_tvtoday-0.5.43.diff"
-}
-
-src_compile() {
- sed -i "s:\$VERSION = '${PV}':\$VERSION = '${PVR}':" Makefile.PL || die
- make_config | perl-module_src_compile || die "error compiling"
-}
-
-src_install() {
- # actually make test should be unneede, but if non na grabbers
- # start to not install remove comment below
- # make test
- #make
- #make DESTDIR=${D} install
- perl-module_src_install || die "error installing"
-
- for i in `grep -rl "${D}" "${D}"` ; do
- sed -e "s:${D}::g" -i "${i}"
- done
-
- if use tv_pick_cgi ; then
- dobin choose/tv_pick/tv_pick_cgi || die "error creating tv_pick_cgi"
- fi
-}
-
-pkg_postinst() {
- if use tv_pick_cgi ; then
- einfo "To use tv_pick_cgi, please link it from /usr/bin/tv_pick_cgi"
- einfo "to where the ScriptAlias directive is configured."
- fi
-}
-