Summary: | new package dev-util/colorsvn | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Henning Schild <henning> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | idl0r, pchrist, perl, serkan |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://colorsvn.tigris.org/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dev-util/colorsvn/colorsvn-0.3.2.ebuild
colorsvn-0.3.2.ebuild |
Description
Henning Schild
2008-12-12 19:40:57 UTC
Created attachment 175135 [details]
dev-util/colorsvn/colorsvn-0.3.2.ebuild
(In reply to comment #1) > Created an attachment (id=175135) [edit] > dev-util/colorsvn/colorsvn-0.3.2.ebuild > The ebuild can utilize the standard tools (configure, make) to configure and install the package. Looking at the code the ebuild seems to miss "virtual/perl-Term-ANSIColor" dependency. (In reply to comment #2) > The ebuild can utilize the standard tools (configure, make) to configure and > install the package. For configuration the ebuild relies on these tools. The install target violated the sandbox so i decided to implement it like i did. The alternative would be do dig for the problem and patch it away. The ebuild was inspired by the ebuild for colorgcc. > Looking at the code the ebuild seems to miss "virtual/perl-Term-ANSIColor" > dependency. Well it does not. Both libs used by the script are provided by dev-lang/perl-5.8.8-r5. Looking at this virtual ebuild it looks to me like it asumes Term::ANSIColor to be part of perl-5.10 but no other version, could this also be a bug? This asumption is clearly wrong since i use colorsvn on two boxes where perl-core/Term-ANSIColor is not installed but provided by dev-lang/perl. (In reply to comment #3) > (In reply to comment #2) > > Looking at the code the ebuild seems to miss "virtual/perl-Term-ANSIColor" > > dependency. > > Well it does not. Both libs used by the script are provided by > dev-lang/perl-5.8.8-r5. > > Looking at this virtual ebuild it looks to me like it asumes Term::ANSIColor to > be part of perl-5.10 but no other version, could this also be a bug? This > asumption is clearly wrong since i use colorsvn on two boxes where > perl-core/Term-ANSIColor is not installed but provided by dev-lang/perl. > Perl, can you investigate this? (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > Looking at the code the ebuild seems to miss "virtual/perl-Term-ANSIColor" > > > dependency. > > > > Well it does not. Both libs used by the script are provided by > > dev-lang/perl-5.8.8-r5. > > > > Looking at this virtual ebuild it looks to me like it asumes Term::ANSIColor to > > be part of perl-5.10 but no other version, could this also be a bug? This > > asumption is clearly wrong since i use colorsvn on two boxes where > > perl-core/Term-ANSIColor is not installed but provided by dev-lang/perl. > > > Perl, can you investigate this? Not much to investigate here. It's a problem of perl modules in gentoo. If a package uses a dual-lifed module, it should depend on the virtual. (This is really boring with packages using Test::Simple or Test::More in their tests.) | Term::ANSIColor was first released with perl 5.006 |[...] | 5.008008 1.10 | 5.01 1.12 So version 1.12 is provided by perl-5.10.0 or by Term-ANSIColor-1.12. This is what the virtual/perl-Term-ANSIColor says: RDEPEND="|| ( ~dev-lang/perl-5.10.0 ~perl-core/Term-ANSIColor-${PV} )" Even if there would be a virtual/perl-Term-ANSIColor-1.10 which depends on perl-5.8.8 only, your package manager would install virtual/perl-Term-ANSIColor-1.12 (the best visible version). If I am wrong, please correct me. If anyone wants to discuss this in general, please move it to a more reasonable place (irc:#gentoo-perl, or gentoo-perl@l.g.o). Created attachment 175347 [details]
colorsvn-0.3.2.ebuild
improved ebuild for dev-util/colorsvn. (should avoid sandbox violations.)
"zsh/2 1016 % qfile -v ANSIColor.pm
dev-lang/perl-5.8.8-r5 (/usr/lib64/perl5/5.8.8/Term/ANSIColor.pm)"
so i think there is no need to include it in RDEPEND.
or should we include the virtual of ansicolor?
(In reply to comment #6) > Created an attachment (id=175347) [edit] > colorsvn-0.3.2.ebuild > > improved ebuild for dev-util/colorsvn. (should avoid sandbox violations.) This misses perl dependency. > > "zsh/2 1016 % qfile -v ANSIColor.pm > dev-lang/perl-5.8.8-r5 (/usr/lib64/perl5/5.8.8/Term/ANSIColor.pm)" > > so i think there is no need to include it in RDEPEND. > or should we include the virtual of ansicolor? > Perl, what's your final suggestion about it? (In reply to comment #7) > (In reply to comment #6) > > Created an attachment (id=175347) [edit] > > colorsvn-0.3.2.ebuild > > > > improved ebuild for dev-util/colorsvn. (should avoid sandbox violations.) > This misses perl dependency. you're right perl should be listed. > > > > "zsh/2 1016 % qfile -v ANSIColor.pm > > dev-lang/perl-5.8.8-r5 (/usr/lib64/perl5/5.8.8/Term/ANSIColor.pm)" > > > > so i think there is no need to include it in RDEPEND. > > or should we include the virtual of ansicolor? > > > > Perl, what's your final suggestion about it? > just depend on perl should be ok then. TERM::ANSIColor is provided by perl 5.x. Now available in the Sunrise overlay: http://overlays.gentoo.org/proj/sunrise/browser/reviewed/dev-util/colorsvn +*colorsvn-0.3.2 (10 Mar 2009) + + 10 Mar 2009; Christian Ruppert (idl0r) <idl0r@gentoo.org> +metadata.xml, + +colorsvn-0.3.2.ebuild: + New ebuild for bug 250750 thanks to Henning Schild Thanks! |