diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-22 08:13:11 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-22 08:13:11 +0000 |
commit | 6b1fe55e18384a61ee1d49fd2eb98412d97b818b (patch) | |
tree | f3b6ae9feaca03ed801edd23b53ceba815203744 /media-plugins/mythweather | |
parent | old (diff) | |
download | gentoo-2-6b1fe55e18384a61ee1d49fd2eb98412d97b818b.tar.gz gentoo-2-6b1fe55e18384a61ee1d49fd2eb98412d97b818b.tar.bz2 gentoo-2-6b1fe55e18384a61ee1d49fd2eb98412d97b818b.zip |
old
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/mythweather')
4 files changed, 0 insertions, 123 deletions
diff --git a/media-plugins/mythweather/Manifest b/media-plugins/mythweather/Manifest index e7eca6a6c430..6ebc4d9318ef 100644 --- a/media-plugins/mythweather/Manifest +++ b/media-plugins/mythweather/Manifest @@ -1,20 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX mythweather-0.21_p20069-nws-parse-fix.patch 2457 RMD160 f1b2a3c57816e64299bea495fb7931e3af323510 SHA1 2944300e9df660dce4025ab3aad41ce56736dc8b SHA256 dd331b96703d21c037161641becdebca4774c27df5b4667fd3015d6c74c08a72 -DIST mythplugins-0.21_p20069.zip 20916350 RMD160 cfc923278824c4192be10d343698690f84621625 SHA1 7c00074d453122ec404f2fd0021d40b9c809bff3 SHA256 ea3f65f62dcdbec37e053ba7fef7303869c5c2ec784fd896296df6e71bbd9f2e DIST mythplugins-0.22_p22763.zip 21786932 RMD160 ffca0b2335309033f10be27939373596f16fabcf SHA1 233f192ad7dbcddbf7c09af4e75d9bbef2641659 SHA256 c2fd4631c3230ae8f41f219deff36fc474d1f48a47195953944f3deced6de3ba DIST mythplugins-0.22_p22991.zip 21790714 RMD160 cc8bf6ff8698e583915e0338b2accb75a0df3fed SHA1 e0b8bd5cf24455a643c15f64e0ac8422851f379c SHA256 5ca07bf69cc4b3da8d8fa93e78e678a18d3a1e6f9be6a2df7cc98035a38bbe80 -EBUILD mythweather-0.21_p20069-r1.ebuild 720 RMD160 30835c35b86e733f2dca69e4ba85f57ed7279a13 SHA1 a6338316e7f331f0dc222b7985af2fa4f8d6b5be SHA256 940cb1c8815ec083ea8a6231b3775c14eeaf5c021aeaae916bd740c993ddf79e -EBUILD mythweather-0.21_p20069.ebuild 486 RMD160 1fd9a6241a1303c5ccd4c910fcb15d89714ea195 SHA1 29b5282602163dcca5ba7c3c8b565bf498ca5622 SHA256 02070ccf8744e21c5be8962a9e2dcdbe40cc4e916f18c8a910c845974bc5d0b8 EBUILD mythweather-0.22_p22763-r1.ebuild 654 RMD160 43238a880b2ac2702e6e9207366a25fa2fb05816 SHA1 3b8f27333a0379122051694c01d7b449b7ad5b32 SHA256 7d52493a67ca62253c374fb3195b7218434e1c3e4b27589d5e43f957425f0146 EBUILD mythweather-0.22_p22991.ebuild 651 RMD160 595b1f9730372e9396f4e2f7d5c46f1adbbc7cda SHA1 ac64cc4b35618b2c58f85a394b83cfa0f17bc7de SHA256 2b650178ae70cadd7ec924b89f8f5dae72c75d6177331a9aae1fb84cc2c4c82f MISC ChangeLog 9477 RMD160 770cf10b747151af677d2d5e2e3aa1a9a83d9d18 SHA1 8f43637b5083bbd118775430cdba8bbc0bbd9d54 SHA256 de4259299c33c3bff15091725821a365c1692221cfd9723ee38c9b210a0cb46f MISC metadata.xml 269 RMD160 33e64a5afa2c6e71c9950596ff6e8638b3de9cdf SHA1 f50da859ff1f88373ac693d6f5142b3d186d73bc SHA256 6bbb451e1977103f3dbe853a436dadfdb6cedbc6a9c3638210931f0a62bdc02b ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEARECAAYFAktBg4AACgkQoeSe8B0zEfwK6QCfamjjurDjQkcF7xGvYQ3VJRL4 -m4sAn1sJ0sD/BUgXyjjiElJg/4tnIA05 -=+e+y ------END PGP SIGNATURE----- diff --git a/media-plugins/mythweather/files/mythweather-0.21_p20069-nws-parse-fix.patch b/media-plugins/mythweather/files/mythweather-0.21_p20069-nws-parse-fix.patch deleted file mode 100644 index 8769b49ce0e1..000000000000 --- a/media-plugins/mythweather/files/mythweather-0.21_p20069-nws-parse-fix.patch +++ /dev/null @@ -1,64 +0,0 @@ -diff -Burp a/mythweather/mythweather/scripts/us_nws/nwsxml.pl b/mythweather/mythweather/scripts/us_nws/nwsxml.pl ---- a/mythweather/mythweather/scripts/us_nws/nwsxml.pl 2008-02-11 11:38:20.000000000 -0500 -+++ b/mythweather/mythweather/scripts/us_nws/nwsxml.pl 2009-09-29 17:59:08.000000000 -0400 -@@ -99,11 +99,17 @@ foreach (@types) { - $xml->{$key} = int($xml->{'wind_mph'} * 1.609344 + .5); - } - } elsif (/wind_gust/) { -- if ($units =~ /ENG/ || $xml->{'wind_gust_mph'} eq 'NA') { -- $key = 'wind_gust_mph'; -+ if (defined($xml->{'wind_gust_mph'})) { -+ if ($units =~ /ENG/ || $xml->{'wind_gust_mph'} eq 'NA') { -+ $key = 'wind_gust_mph'; -+ } else { -+ $key = 'wind_gust_kph'; -+ $xml->{$key} = int($xml->{'wind_gust_mph'} * 1.609344 + .5); -+ } - } else { -- $key = 'wind_gust_kph'; -- $xml->{$key} = int($xml->{'wind_gust_mph'} * 1.609344 + .5); -+ $xml->{'wind_gust_mph'} = 'NA'; -+ $xml->{'wind_gust_kph'} = 'NA'; -+ $key = 'wind_gust'; - } - } elsif (/visibility/) { - if ($units =~ /ENG/) { -@@ -128,14 +134,17 @@ foreach (@types) { - } elsif (/cclocation/) { - $key = 'location'; - } elsif (/appt$/) { -- if ($xml->{windchill_f} eq 'NA') { -- $key = 'heat_index_f' if ($units =~ /ENG/); -- $key = 'heat_index_c' if ($units =~ /SI/); -- } else { -- $key = 'windchill_f' if ($units =~ /ENG/); -- $key = 'windchill_c' if ($units =~ /SI/); -- }; -- -+ if (defined($xml->{windchill_f})) { -+ if ($xml->{windchill_f} eq 'NA') { -+ $key = 'heat_index_f' if ($units =~ /ENG/); -+ $key = 'heat_index_c' if ($units =~ /SI/); -+ } else { -+ $key = 'windchill_f' if ($units =~ /ENG/); -+ $key = 'windchill_c' if ($units =~ /SI/); -+ }; -+ } else { -+ $key = 'appt'; -+ } - } elsif (/wind_spdgst/) { - # relying on this being after speed and gust - $key = "wind_spdgst"; -@@ -148,5 +157,11 @@ foreach (@types) { - } else { - $key = $label; - } -- printf $label . "::" . $xml->{$key}. "\n"; -+ print $label . "::"; -+ if (defined($xml->{$key})) { -+ print $xml->{$key}; -+ } else { -+ print "NA"; -+ } -+ print "\n"; - } diff --git a/media-plugins/mythweather/mythweather-0.21_p20069-r1.ebuild b/media-plugins/mythweather/mythweather-0.21_p20069-r1.ebuild deleted file mode 100644 index 83819b213c57..000000000000 --- a/media-plugins/mythweather/mythweather-0.21_p20069-r1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythweather/mythweather-0.21_p20069-r1.ebuild,v 1.1 2009/11/10 15:58:40 cardoe Exp $ - -EAPI=2 -inherit qt3 mythtv-plugins - -DESCRIPTION="Weather forecast module for MythTV." -IUSE="" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="dev-perl/DateManip - dev-perl/ImageSize - dev-perl/SOAP-Lite - dev-perl/XML-Simple - dev-perl/XML-Parser - dev-perl/XML-SAX" - -src_prepare() { - epatch "${FILESDIR}/${P}-nws-parse-fix.patch" -} - -src_install() { - mythtv-plugins_src_install - - # correct permissions so MythWeather is actually usable - fperms 755 /usr/share/mythtv/mythweather/scripts/*/*.pl -} diff --git a/media-plugins/mythweather/mythweather-0.21_p20069.ebuild b/media-plugins/mythweather/mythweather-0.21_p20069.ebuild deleted file mode 100644 index 8cba8a7267b5..000000000000 --- a/media-plugins/mythweather/mythweather-0.21_p20069.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythweather/mythweather-0.21_p20069.ebuild,v 1.2 2009/11/08 03:52:14 cardoe Exp $ - -EAPI=2 -inherit qt3 mythtv-plugins - -DESCRIPTION="Weather forecast module for MythTV." -IUSE="" -KEYWORDS="amd64 ppc x86" - -DEPEND="dev-perl/DateManip - dev-perl/ImageSize - dev-perl/SOAP-Lite - dev-perl/XML-Simple - dev-perl/XML-Parser - dev-perl/XML-SAX" |