Gentoo Archives: gentoo-dev

From: Jeremy Olexa <darkside@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sci-geosciences/mapserver: mapserver-5.4.2-r1.ebuild ChangeLog
Date: Fri, 24 Dec 2010 03:35:55
Message-Id: 4D1414EE.6090809@gentoo.org
In Reply to: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sci-geosciences/mapserver: mapserver-5.4.2-r1.ebuild ChangeLog by "Justin (jlec) Lecher"
1 On 12/23/2010 01:07 PM, Justin (jlec) Lecher wrote:
2 > On 23/12/10 19:47, Mike Gilbert wrote:
3 >> On 12/23/2010 12:18 PM, Jeremy Olexa wrote:
4 >>> FYI: This adds no value to the ebuild. The default src_unpack is ran
5 >>> when src_unpack() is not defined.
6 >>
7 >> Unless src_unpack() is exported in one of the many eclasses that ebuild
8 >> inherits. In which case this would "un-export" it and bring the behavior
9 >> back to default.
10 >>
11 >
12 > That's right. The magic comes from the loved python.eclass. If it is not
13 > added the webapp.eclass does some things.
14 >
15
16 You know...I did test the results before posting to the -dev list ;) So,
17 yes, I knew that there was a interesting call in src_unpack from the
18 ruby eclass, but it didn't change the results. You could add a comment
19 on WHY you explicitly define the function in the future, as I am
20 guessing no one besides you currently knows.. :)
21 -Jeremy
22
23 % diff -ur mapserver-5.4.2-r1.orig/ mapserver-5.4.2-r1.edit/
24 File mapserver-5.4.2-r1.orig/.ipc_in is a fifo while file
25 mapserver-5.4.2-r1.edit/.ipc_in is a fifo
26 File mapserver-5.4.2-r1.orig/.ipc_out is a fifo while file
27 mapserver-5.4.2-r1.edit/.ipc_out is a fifo
28 diff -ur mapserver-5.4.2-r1.orig/temp/environment
29 mapserver-5.4.2-r1.edit/temp/environment
30 --- mapserver-5.4.2-r1.orig/temp/environment 2010-12-23
31 21:25:57.216256714 -0600
32 +++ mapserver-5.4.2-r1.edit/temp/environment 2010-12-23
33 21:29:29.858254479 -0600
34 @@ -297,7 +297,7 @@
35 declare -x
36 S="/var/tmp/portage/sci-geosciences/mapserver-5.4.2-r1/work/mapserver-5.4.2"
37 declare -x SANDBOX_DEBUG="0"
38 declare -x SANDBOX_DENY=""
39 -declare -x SANDBOX_PID="2383"
40 +declare -x SANDBOX_PID="3207"
41 declare -x
42 SANDBOX_PREDICT="/var/tmp/portage/sci-geosciences/mapserver-5.4.2-r1/homedir:/dev/crypto:/var/cache/fontconfig"
43 declare -x SANDBOX_READ="/:/dev/stdin:/var/tmp"
44 declare -x SANDBOX_VERBOSE="1"
45 @@ -9371,7 +9371,7 @@
46 }
47 src_unpack ()
48 {
49 - default
50 + ruby_src_unpack "$@"
51 }
52 strip-flags ()
53 {

Replies