Gentoo Archives: gentoo-perl

From: antoine.raillon@××××××.net
To: gentoo-perl@l.g.o
Subject: [gentoo-perl] r21 - in trunk: . bin extra-docs
Date: Thu, 12 May 2005 21:57:52
Message-Id: 20050512215644.8025E828145@gredin.dragou.net
1 Author: cab
2 Date: 2005-05-12 19:36:48 +0200 (Thu, 12 May 2005)
3 New Revision: 21
4
5 Added:
6 trunk/bin/
7 trunk/bin/chkebuild.pl
8 trunk/bin/g-cpan
9 trunk/bin/g-cpan.pl
10 trunk/etc/
11 trunk/extra-docs/
12 trunk/extra-docs/Changes
13 trunk/extra-docs/TODO
14 trunk/extra-docs/g-cpan.pl.1
15 trunk/extra-docs/svn-mini-howto.txt
16 trunk/lib/
17 trunk/man/
18 Removed:
19 trunk/Changes
20 trunk/TODO
21 trunk/code/
22 trunk/docs/
23 Log:
24 reorg - 2
25
26
27 Deleted: trunk/Changes
28 ===================================================================
29 --- trunk/Changes 2005-05-12 17:23:58 UTC (rev 20)
30 +++ trunk/Changes 2005-05-12 17:36:48 UTC (rev 21)
31 @@ -1,122 +0,0 @@
32 -11/05/2005 - mcummings makes weird changes
33 -
34 -- cleaned up calls to merge, added -p,-a,-n,-u flags to respective portions
35 -- Removed the "for (@ARGV) to the call for emerge*module subs - all this was doing was forcing us to call emerge multiple times; the actual subs weren't using @ARGV, but using @ebuild_list, which was already populated elsewhere with all of the modules we wanted plus their generated deps.
36 -- moved list function so that it was called *after* we define the list of dirs to check
37 -- added basename so program name was pretty (beu)
38 -- To explain my changes for that dir read -noticed when traversing for multiple files that the directory list checked was decreasing in size each pass until it was only checking one directory chain in the end. Pushing it all into a single array that's built temporarily, while ugly, seems to work. This was all due to a bug in modules like Bundle-W3C-Validator (go ahead and try with the old code). Sorry for the kludges, thanks snip for the regex help
39 -
40 -10/05/2005 - cab strikes g-cpan again.. :)
41 -
42 -- added comments here and there..
43 -- modified the cpan-config-needed if() test
44 -- modified switches interpretations
45 -- added -l,--list switch (nothing behind for now)
46 -- added a new sub : clean_the_mess, that should take care of system's sanity
47 -- changed my $arches
48 -- subbed the MD5 sum calculation
49 -- updated exit_usage()
50 -
51 -07/05/2005 - cab first strike !
52 -
53 -- Added search capabilities (same as m // command in CPAN Shell
54 - Use -s or --search switch to get it.
55 -
56 -- Now Using Getopt::Long to handle switches, options, and so on..
57 -
58 -- get_globals totally rewritten : now uses open/parse/close on make.conf,
59 - instead of 3 times qx() : performance boost guaranteed. Sets up default before
60 - overwriting them if needed and can replace variables like ${PORTDIR} if ever
61 - they are used in make.conf : quality improvement guaranteed. :p
62 - thx to Sniper (sniper@×××××××××.net) for the s// regexp !
63 -
64 -- Added a bit more explicative Usage message.. in fact a whole sub.
65 - Available with -h or --help switch but will also appear if user
66 - requires impossible or wrong things (plus a detailed error message
67 - on what when wrong).
68 -
69 -- Installing a module now requires the -i or --install switch, to differentiate
70 - from searching. Can be modified to become default 'no option' behaviour,
71 - but i'm not fan : searching as default would be far less dangerous. :)
72 -
73 -- Reorganised code, adding some comments, removing some useless others.
74 -
75 -- Had fun !
76 -#Copyright 1999-2004 Gentoo Foundation
77 -#Distributed under the terms of the GNU General Public License v2
78 -#$Header: /var/cvsroot/gentoo/users/mcummings/g-cpan/g-cpan-0.12/Changes,v 1.1 2005/04/30 21:44:15 mcummings Exp $
79 -
80 -History:
81 -
82 -04/30/05: mcummings@g.o
83 - Moving g-cpan into its own package space withing app-portage for better managability.
84 - Also, this breaks the tie to g-cpan fixes being reliant on the next release of portage.
85 -
86 -01/29/05: andrew-g@××××××××.uk:
87 - Improved filename/version matching to close bugs 64403 74149 69464 23951.
88 - Improved default help message. Added -v verbose flag.
89 -
90 -11/16/04: pete@×××××××××××.com:
91 - Fixed handling of CPAN modules that end in '.pm' (e.g. CGI.pm)
92 - Closes bug 64403.
93 -
94 -10/29/04: rac@g.o:
95 - attempt to recognize lowercased packages in dev-perl in portage_dir
96 -
97 -05/23/03: jrray@g.o:
98 - Skip modules the CPAN thinks are included with perl (closes bug 14679).
99 -
100 - Used the CPAN module to discover the real location of Makefile.PL to set
101 - the ${S} variable in the ebuild, sometimes the location isn't the same as
102 - ${P}.
103 -
104 - Don't assume the filename of the tarball will be ${P}.tar.gz, use the
105 - real filename out of CPAN.
106 -
107 - Some modules' filenames have underscores in unfortunate places. Change
108 - all of them to hyphens to avoid that mess.
109 -
110 -02/23/03: alain@g.o:
111 - removed portage direct-access code, and switched to using the
112 - portageq utility which hides the portage APIs.
113 -
114 -01/08/03: jrray@g.o:
115 - remove dependency on Digest::MD5
116 -
117 -01/07/03: jrray@g.o: getting the way subroutines are fed variables
118 - sorted out (they're in @_)
119 - Clean out module_check, unnecessary temp variables are evil.
120 - It isn't okay to skip a module if module_check succeeds when
121 - that module is listed as a dependency for a module we're trying
122 - to install, the subsequent emerge can fail if the ebuild doesn't
123 - exist. So only skip a module if it is a first order module from
124 - the command line but not if it is being considered to meet a
125 - dependency.
126 - Use the portage python module to learn some configuration values
127 - instead of trying to parse make.conf.
128 - Need to use system and not exec when calling out to emerge, exec
129 - ends our process!
130 -
131 -12/09/02: baz@×××××××××.com: some further amends:
132 - standardised code, declared external vars early,
133 - amended layout and sub styles for consistency and brevity,
134 - also removed a 'spare' function :-)
135 -
136 -12/07/02: mcummings: Reviewed baz's comments (thanks!). Moved the make.conf check to an external
137 - sub so that we could grab other important functions. Added Digest::MD5 so that we could
138 - check the checksum more cleanly instead of making a system call.
139 - Thanks to stocke2 for pointing me in the direction of File::Path -
140 - and helping me debug silly michael coding with rmtree
141 -
142 -12/07/02: baz@×××××××××.com:
143 - comments added, basically a very picky code review.
144 -
145 -12/06/02: mcummings;
146 - Added emerge functionality. Now emerges modules on the
147 - fly
148 -
149 -12/03/02: mcummings;
150 - Added checks for /var/db/pkg and manually installed
151 - modules
152 -
153 -11/07/02: jrray : Initial upload to bug 3450
154
155 Deleted: trunk/TODO
156 ===================================================================
157 --- trunk/TODO 2005-05-12 17:23:58 UTC (rev 20)
158 +++ trunk/TODO 2005-05-12 17:36:48 UTC (rev 21)
159 @@ -1,7 +0,0 @@
160 -- Heavy testing !
161 -- Some work on the overlays - possibility to use ~/.cpan
162 -- clean_the_mess / clean_up to improve/merge
163 -- big portions of upgrade_module and install_module are the same code
164 -- check for multiple emerge
165 -- Add verbosity messages
166 -- Clean the code.. which prog doesn't need this ? :p
167
168 Copied: trunk/bin/chkebuild.pl (from rev 20, trunk/code/chkebuild.pl)
169
170 Added: trunk/bin/g-cpan
171 ===================================================================
172 --- trunk/bin/g-cpan 2005-05-12 17:23:58 UTC (rev 20)
173 +++ trunk/bin/g-cpan 2005-05-12 17:36:48 UTC (rev 21)
174 @@ -0,0 +1 @@
175 +link g-cpan.pl
176 \ No newline at end of file
177
178
179 Property changes on: trunk/bin/g-cpan
180 ___________________________________________________________________
181 Name: svn:special
182 + *
183
184 Copied: trunk/bin/g-cpan.pl (from rev 20, trunk/code/g-cpan.pl)
185
186 Copied: trunk/extra-docs/Changes (from rev 20, trunk/Changes)
187
188 Copied: trunk/extra-docs/TODO (from rev 20, trunk/TODO)
189
190 Copied: trunk/extra-docs/g-cpan.pl.1 (from rev 20, trunk/docs/g-cpan.pl.1)
191
192 Copied: trunk/extra-docs/svn-mini-howto.txt (from rev 20, trunk/docs/svn-mini-howto.txt)
193
194
195 --
196 gentoo-perl@g.o mailing list