summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMATSUU Takuto <matsuu@gentoo.org>2009-03-10 02:20:19 +0900
committerMATSUU Takuto <matsuu@gentoo.org>2009-03-10 02:20:19 +0900
commit335417c7ab01bbd0fdb9c9736f1793ef32270098 (patch)
tree4521ec8866be2915525d497f9e7bb17566666606
parentmedia-gfx/processing: version bumped. (diff)
downloadmatsuu-335417c7ab01bbd0fdb9c9736f1793ef32270098.tar.gz
matsuu-335417c7ab01bbd0fdb9c9736f1793ef32270098.tar.bz2
matsuu-335417c7ab01bbd0fdb9c9736f1793ef32270098.zip
media-video/remedie: Fixed dependency.
-rw-r--r--media-video/remedie/Manifest2
-rw-r--r--media-video/remedie/remedie-9999.ebuild31
2 files changed, 21 insertions, 12 deletions
diff --git a/media-video/remedie/Manifest b/media-video/remedie/Manifest
index d9f90ea..7e0cce5 100644
--- a/media-video/remedie/Manifest
+++ b/media-video/remedie/Manifest
@@ -1,3 +1,3 @@
AUX remedie.confd 252 RMD160 b0e1232d987b6035ffdd51becf3d7c7cf2ebfbfb SHA1 2ed4a82192469d3f582eff78b057654c2c5d9891 SHA256 361402bb5a7e5a358645aaed685f018951c958b2f1f559b8d7463aaa0b7def7c
AUX remedie.initd 871 RMD160 1b01daaf0b06f916212cfd5b0eee1d8d89e10eed SHA1 4c3e5a98c1306337a221aed672df6c9fb4e417c8 SHA256 250d10f18ac81847904f4de5caa6f34fa5132fc0e89555d1b9c5ba0e8e575358
-EBUILD remedie-9999.ebuild 2453 RMD160 166e6d4a1b2d2bec2c419191202fea002005da8d SHA1 435acf93d842b937fb045ae799421a3edf6a5903 SHA256 8bbedd51c668b888eac8c7ede2627da7047e136093eb58e34c6aed95a3dc2ee4
+EBUILD remedie-9999.ebuild 2723 RMD160 532fbc3af2de4401e479e8a6896ed86947403863 SHA1 aa15f9cb465695e35b6a00fc130a924580142623 SHA256 88ec4eac37c6e20668e16767b3a9559c68cb2680a5a468354a1a2870fd4df669
diff --git a/media-video/remedie/remedie-9999.ebuild b/media-video/remedie/remedie-9999.ebuild
index 14cc807..7e3b7cb 100644
--- a/media-video/remedie/remedie-9999.ebuild
+++ b/media-video/remedie/remedie-9999.ebuild
@@ -36,21 +36,21 @@ RDEPEND="
dev-perl/Log-Log4perl
dev-perl/log-dispatch
dev-perl/MIME-Types
- dev-perl/Moose
dev-perl/Path-Class
virtual/perl-PodParser
dev-perl/String-ShellQuote
- dev-perl/TimeDate
dev-perl/Template-Toolkit
+ dev-perl/TimeDate
dev-perl/UNIVERSAL-require
dev-perl/URI
dev-perl/URI-Fetch
dev-perl/XML-Atom
dev-perl/XML-LibXML
dev-perl/XML-RSS
- dev-perl/XML-Feed
+ >=dev-perl/XML-Feed-0.41
dev-perl/yaml
dev-perl/YAML-Syck"
+# dev-perl/Encode
# dev-perl/File-ShareDir
DEPEND="${RDEPEND}
@@ -62,31 +62,35 @@ RDEPEND="${RDEPEND}
!dev-gcpan/Plagger"
GCPAN_MODULES="
+ Any-Moose
+ File-Find-Rule-Filesys-Virtual
Filesys-Virtual
Filesys-Virtual-Plain
- File-Find-Rule-Filesys-Virtual
FindBin-libs
HTML-ResolveLink
HTML-Selector-XPath
- HTML-TreeBuilder-XPath
HTTP-Engine
Module-Install
Module-Install-AuthorTests
- MooseX-ClassAttribute
- MooseX-ConfigFromFile
- MooseX-Getopt
- MooseX-Types-Path-Class
+ Mouse
+ MouseX-ConfigFromFile
+ MouseX-Getopt
+ MouseX-Types-Path-Class
Path-Class-URI
Rose-DB
Rose-DB-Object
String-CamelCase
+ Term-Encoding
Text-Tags
- Web-Scraper
XML-LibXML-Simple
XML-RSS-LibXML
XML-OPML-LibXML"
# DateTime-Format-Japanese
+GCPAN_VERSION_SPECIFIC_MODULES="
+ HTML-TreeBuilder-XPath-0.09
+ Web-Scraper-0.26"
+
pkg_setup() {
local req_modules
for module in ${GCPAN_MODULES}; do
@@ -94,10 +98,15 @@ pkg_setup() {
req_modules="${req_modules} ${module}"
fi
done
+ for module in ${GCPAN_VERSION_SPECIFIC_MODULES}; do
+ if ! has_version ">=dev-perl/$module" && ! has_version ">=perl-gcpan/${module}"; then
+ req_modules="${req_modules} ${module}"
+ fi
+ done
if [ -n "${req_modules}" ]; then
eerror "Please install following modules by g-cpan"
eerror
- eerror "${req_modules//-/::}"
+ eerror "# g-cpan -i ${req_modules//-/::}"
die
fi
}