]> git.vpit.fr Git - perl/modules/CPANPLUS-Dist-Gentoo.git/log
perl/modules/CPANPLUS-Dist-Gentoo.git
13 years agoIgnore MYMETA.{json,yml}
Vincent Pit [Wed, 24 Aug 2011 12:58:33 +0000 (14:58 +0200)]
Ignore MYMETA.{json,yml}

13 years agoEncode the README file in UTF-8
Vincent Pit [Wed, 24 Aug 2011 12:51:37 +0000 (14:51 +0200)]
Encode the README file in UTF-8

13 years agoBump copyright year
Vincent Pit [Sun, 6 Feb 2011 13:16:43 +0000 (14:16 +0100)]
Bump copyright year

13 years agoAllow zero as a suffix or revision index
Vincent Pit [Sat, 5 Feb 2011 20:48:50 +0000 (21:48 +0100)]
Allow zero as a suffix or revision index

13 years agoCorrectly handle leading zeros in version components
Vincent Pit [Sat, 5 Feb 2011 19:10:09 +0000 (20:10 +0100)]
Correctly handle leading zeros in version components

Again, thanks Torsten Veller for bringing this to my attention.

13 years agoIn Gentoo, 1.0 is greater than 1
Vincent Pit [Sat, 5 Feb 2011 18:42:04 +0000 (19:42 +0100)]
In Gentoo, 1.0 is greater than 1

See also http://dev.gentoo.org/~ulm/pms/4/pms.html#x1-28008r2 for a complete
Gentoo version comparison algorithm.

Thanks Torsten Veller for bringing this to my attention.

13 years agoFreshen C::D::G::Maps documentation
Vincent Pit [Fri, 17 Dec 2010 14:31:19 +0000 (15:31 +0100)]
Freshen C::D::G::Maps documentation

13 years agoMake 'overlay' default to the first overlay listed in PORTDIR_OVERLAY
Vincent Pit [Fri, 17 Dec 2010 13:45:59 +0000 (14:45 +0100)]
Make 'overlay' default to the first overlay listed in PORTDIR_OVERLAY

Also properly state the default values for the dist options.

13 years agoPOD typos
Vincent Pit [Fri, 17 Dec 2010 13:28:45 +0000 (14:28 +0100)]
POD typos

13 years agoThis is 0.11 v0.11
Vincent Pit [Thu, 16 Dec 2010 18:14:49 +0000 (19:14 +0100)]
This is 0.11

13 years agoAbort completely when IPC::Cmd can't capture buffers
Vincent Pit [Thu, 16 Dec 2010 13:52:51 +0000 (14:52 +0100)]
Abort completely when IPC::Cmd can't capture buffers

13 years agoPOD nits
Vincent Pit [Thu, 16 Dec 2010 01:19:27 +0000 (02:19 +0100)]
POD nits

13 years agoDocument options
Vincent Pit [Thu, 16 Dec 2010 01:12:47 +0000 (02:12 +0100)]
Document options

13 years agoComplete the bootstrapping process description
Vincent Pit [Thu, 16 Dec 2010 00:41:27 +0000 (01:41 +0100)]
Complete the bootstrapping process description

13 years agoAbort completely when emerge --info can't be run
Vincent Pit [Thu, 16 Dec 2010 00:29:14 +0000 (01:29 +0100)]
Abort completely when emerge --info can't be run

13 years agoSwitch to <> for qw delimiters
Vincent Pit [Thu, 16 Dec 2010 00:03:31 +0000 (01:03 +0100)]
Switch to <> for qw delimiters

13 years agoSimplify the bootstrap process
Vincent Pit [Wed, 15 Dec 2010 23:58:47 +0000 (00:58 +0100)]
Simplify the bootstrap process

Perl 5.12 is now stable in Gentoo.

13 years agoPut recursive dependencies into PDEPEND sections
Vincent Pit [Wed, 15 Dec 2010 23:20:01 +0000 (00:20 +0100)]
Put recursive dependencies into PDEPEND sections

13 years agoHandle undefined licenses gracefully
Vincent Pit [Wed, 15 Dec 2010 23:16:27 +0000 (00:16 +0100)]
Handle undefined licenses gracefully

13 years agoMake ebuild versioned dependencies mirror exactly CPAN dependencies
Vincent Pit [Wed, 15 Dec 2010 23:03:13 +0000 (00:03 +0100)]
Make ebuild versioned dependencies mirror exactly CPAN dependencies

This removes the most hairiest part of the prerequisites filtering.

13 years agoSet a better default description
Vincent Pit [Wed, 15 Dec 2010 23:01:28 +0000 (00:01 +0100)]
Set a better default description

13 years agoRequire CPAN::DistnameInfo 0.11 in the gengentooisms script
Vincent Pit [Tue, 14 Dec 2010 23:53:48 +0000 (00:53 +0100)]
Require CPAN::DistnameInfo 0.11 in the gengentooisms script

Now we can get rid of the ugly monkeypatching hack.

13 years agoAn even smarter gengentooisms script
Vincent Pit [Sat, 11 Dec 2010 23:57:07 +0000 (00:57 +0100)]
An even smarter gengentooisms script

14 years agoSpecify configure_requires entries in DEPEND
Vincent Pit [Mon, 20 Sep 2010 00:24:29 +0000 (02:24 +0200)]
Specify configure_requires entries in DEPEND

14 years agoCorrectly map exotic Gentoo versions from CPAN versions
Vincent Pit [Sun, 19 Sep 2010 22:40:27 +0000 (00:40 +0200)]
Correctly map exotic Gentoo versions from CPAN versions

Also improve greatly the gentooisms discovery.

14 years agoTest C::D::G::Atom->fold
Vincent Pit [Sat, 11 Sep 2010 23:44:38 +0000 (01:44 +0200)]
Test C::D::G::Atom->fold

And make it sort the returned atoms.

14 years agoHandle Gentoo versions thouroughly and correctly
Vincent Pit [Sat, 11 Sep 2010 22:47:44 +0000 (00:47 +0200)]
Handle Gentoo versions thouroughly and correctly

14 years agoFix $atom1 cmp $atom2
Vincent Pit [Sat, 11 Sep 2010 15:33:31 +0000 (17:33 +0200)]
Fix $atom1 cmp $atom2

14 years agoExtend coverage of spaceship operators for atoms
Vincent Pit [Sat, 11 Sep 2010 14:32:50 +0000 (16:32 +0200)]
Extend coverage of spaceship operators for atoms

14 years agoStop croaking on dists without a META file
Vincent Pit [Sat, 11 Sep 2010 14:05:33 +0000 (16:05 +0200)]
Stop croaking on dists without a META file

This was caused by $obj->meth->{key} not autovivifying when meth returns
undef.

14 years agoRegexp overhaul in CPANPLUS::Dist::Gentoo::Version
Vincent Pit [Sat, 11 Sep 2010 13:21:14 +0000 (15:21 +0200)]
Regexp overhaul in CPANPLUS::Dist::Gentoo::Version

14 years agoFix handling of the version argument of C::D::G::Atom->new
Vincent Pit [Sat, 11 Sep 2010 13:32:47 +0000 (15:32 +0200)]
Fix handling of the version argument of C::D::G::Atom->new

14 years agoAllow the correct package names in atoms
Vincent Pit [Sat, 11 Sep 2010 13:20:28 +0000 (15:20 +0200)]
Allow the correct package names in atoms

Including names containing +, like Text-Tabs+Wrap.

14 years agoUse >= as the default atom range
Vincent Pit [Fri, 13 Aug 2010 17:36:02 +0000 (19:36 +0200)]
Use >= as the default atom range

14 years agoThis is 0.10 v0.10
Vincent Pit [Sat, 17 Apr 2010 14:25:37 +0000 (16:25 +0200)]
This is 0.10

14 years agoMake sure the ebuild placeholder gets unlinked on failure
Vincent Pit [Sat, 17 Apr 2010 13:54:58 +0000 (15:54 +0200)]
Make sure the ebuild placeholder gets unlinked on failure

14 years agoIntroduce a scope guard object
Vincent Pit [Sat, 17 Apr 2010 13:31:22 +0000 (15:31 +0200)]
Introduce a scope guard object

14 years agoEnforce the right version of the perl dependency whenever possible
Vincent Pit [Sat, 17 Apr 2010 13:18:49 +0000 (15:18 +0200)]
Enforce the right version of the perl dependency whenever possible

14 years agoPut the META extraction logic into a separate ->meta method
Vincent Pit [Sat, 17 Apr 2010 12:26:56 +0000 (14:26 +0200)]
Put the META extraction logic into a separate ->meta method

14 years agoReduce namespace pollution
Vincent Pit [Fri, 16 Apr 2010 23:51:52 +0000 (01:51 +0200)]
Reduce namespace pollution

14 years agoOne more gentooism: XML-Sablot
Vincent Pit [Fri, 16 Apr 2010 23:30:28 +0000 (01:30 +0200)]
One more gentooism: XML-Sablot

14 years agoUpdate CPANPLUS version and url in the bootstrap section
Vincent Pit [Fri, 16 Apr 2010 23:28:56 +0000 (01:28 +0200)]
Update CPANPLUS version and url in the bootstrap section

14 years agoBump copyright year
Vincent Pit [Fri, 16 Apr 2010 23:28:34 +0000 (01:28 +0200)]
Bump copyright year

14 years agoPOD tweaks
Vincent Pit [Tue, 23 Mar 2010 23:46:36 +0000 (00:46 +0100)]
POD tweaks

14 years agocmp_ok between overloaded objects considered harmful with older Test::More
Vincent Pit [Sun, 29 Nov 2009 16:02:16 +0000 (17:02 +0100)]
cmp_ok between overloaded objects considered harmful with older Test::More

14 years agoThe perils of copypasta
Vincent Pit [Sun, 29 Nov 2009 15:46:55 +0000 (16:46 +0100)]
The perils of copypasta

14 years agoThis is 0.09 v0.09
Vincent Pit [Sun, 29 Nov 2009 14:16:09 +0000 (15:16 +0100)]
This is 0.09

14 years agoOne more gentooism: Date-Manip
Vincent Pit [Sun, 29 Nov 2009 14:19:14 +0000 (15:19 +0100)]
One more gentooism: Date-Manip

14 years agoTest comparing an atom to an atom string
Vincent Pit [Sun, 29 Nov 2009 14:14:06 +0000 (15:14 +0100)]
Test comparing an atom to an atom string

14 years agoTest C::D::G::Atom->{new,new_from_ebuild}
Vincent Pit [Sun, 29 Nov 2009 14:10:08 +0000 (15:10 +0100)]
Test C::D::G::Atom->{new,new_from_ebuild}

Also fail loudly in t/30-atom-cmp.t and t/31-atom-and.t if the testcase
croaked when it shouldn't

14 years agoStrengthen validation of the thingies an atom can be numerically compared against
Vincent Pit [Sun, 29 Nov 2009 13:23:27 +0000 (14:23 +0100)]
Strengthen validation of the thingies an atom can be numerically compared against

14 years agoAlso infer the range when initializing a C::D::G::Atom object from an atom string
Vincent Pit [Sun, 29 Nov 2009 13:11:07 +0000 (14:11 +0100)]
Also infer the range when initializing a C::D::G::Atom object from an atom string

14 years agoFix wrong expected value in t/31-atom-and.t
Vincent Pit [Sun, 29 Nov 2009 13:09:45 +0000 (14:09 +0100)]
Fix wrong expected value in t/31-atom-and.t

14 years agoCorrectly propagate the dist-options to the SUPER calls
Vincent Pit [Sun, 29 Nov 2009 12:05:50 +0000 (13:05 +0100)]
Correctly propagate the dist-options to the SUPER calls

14 years agoC::D::G::Atom->and ought to handle only one atom
Vincent Pit [Sun, 29 Nov 2009 01:15:02 +0000 (02:15 +0100)]
C::D::G::Atom->and ought to handle only one atom

14 years agoDocument C::D::G::{Atom,Version}
Vincent Pit [Sun, 29 Nov 2009 01:11:58 +0000 (02:11 +0100)]
Document C::D::G::{Atom,Version}

14 years agoMake 'ebuild' a normal accessor for C::D::G::Atom objects
Vincent Pit [Sun, 29 Nov 2009 00:49:41 +0000 (01:49 +0100)]
Make 'ebuild' a normal accessor for C::D::G::Atom objects

Only infer the others components when C::D::G::Atom->new_from_ebuild is
called.

14 years agoAdd string comparison for atoms
Vincent Pit [Sun, 29 Nov 2009 00:28:56 +0000 (01:28 +0100)]
Add string comparison for atoms

14 years agoIntroduce C::D::G::Atom->qualified_name
Vincent Pit [Sun, 29 Nov 2009 00:24:03 +0000 (01:24 +0100)]
Introduce C::D::G::Atom->qualified_name

14 years agoMake overload methods private
Vincent Pit [Sun, 29 Nov 2009 00:20:54 +0000 (01:20 +0100)]
Make overload methods private

14 years agoFix the PATH in the bootstrap documentation
Vincent Pit [Sat, 28 Nov 2009 23:59:47 +0000 (00:59 +0100)]
Fix the PATH in the bootstrap documentation

14 years agoRename the 'minimum' option to a more versatile 'range' parameter
Vincent Pit [Fri, 27 Nov 2009 18:24:33 +0000 (19:24 +0100)]
Rename the 'minimum' option to a more versatile 'range' parameter

And expand the logical AND between atoms in a new C::D::G::Atom->and

14 years agoC::D::G::Maps::version_c2g ought to return undef for undef
Vincent Pit [Fri, 27 Nov 2009 16:15:01 +0000 (17:15 +0100)]
C::D::G::Maps::version_c2g ought to return undef for undef

14 years agoInfer the right category and name when creating an atom from an ebuild or a string
Vincent Pit [Fri, 27 Nov 2009 16:13:09 +0000 (17:13 +0100)]
Infer the right category and name when creating an atom from an ebuild or a string

14 years agoFix typos in C::D::G::Atom
Vincent Pit [Fri, 27 Nov 2009 16:12:07 +0000 (17:12 +0100)]
Fix typos in C::D::G::Atom

14 years agoStrip duplicated entries in the RDEPEND list
Vincent Pit [Fri, 27 Nov 2009 00:37:39 +0000 (01:37 +0100)]
Strip duplicated entries in the RDEPEND list

14 years agoIntroduce C::D::G::{Atom,Version}
Vincent Pit [Thu, 26 Nov 2009 15:57:19 +0000 (16:57 +0100)]
Introduce C::D::G::{Atom,Version}

And move the version comparison logic from C::D::G::Maps to C::D::G::Version.

15 years agoRename misc "depends" items to "requires"
Vincent Pit [Sat, 10 Oct 2009 13:05:48 +0000 (15:05 +0200)]
Rename misc "depends" items to "requires"

15 years agoRe-indent WriteMakefile() arguments
Vincent Pit [Sun, 4 Oct 2009 09:18:03 +0000 (11:18 +0200)]
Re-indent WriteMakefile() arguments

15 years agoBuild the $name and the main $file from $dist
Vincent Pit [Sun, 4 Oct 2009 08:21:51 +0000 (10:21 +0200)]
Build the $name and the main $file from $dist

15 years agoPut prerequisites in their own separate hash
Vincent Pit [Sun, 4 Oct 2009 07:36:55 +0000 (09:36 +0200)]
Put prerequisites in their own separate hash

15 years agoGive an explicit value to dynamic_config
Vincent Pit [Sun, 4 Oct 2009 07:28:21 +0000 (09:28 +0200)]
Give an explicit value to dynamic_config

15 years agoKwalitee test overhaul
Vincent Pit [Sat, 26 Sep 2009 09:53:10 +0000 (11:53 +0200)]
Kwalitee test overhaul

15 years agoDocument how to install or bootstrap the module on Gentoo
Vincent Pit [Tue, 22 Sep 2009 09:54:57 +0000 (11:54 +0200)]
Document how to install or bootstrap the module on Gentoo

15 years agoThe samples/g-cpanp script doesn't need to specify an HEADER anymore
Vincent Pit [Tue, 8 Sep 2009 14:33:33 +0000 (16:33 +0200)]
The samples/g-cpanp script doesn't need to specify an HEADER anymore

15 years agoFix the gentooisms count in t/11-maps-name.t
Vincent Pit [Tue, 8 Sep 2009 14:23:45 +0000 (16:23 +0200)]
Fix the gentooisms count in t/11-maps-name.t

15 years agoAdd a sensible default header
Vincent Pit [Tue, 8 Sep 2009 14:23:16 +0000 (16:23 +0200)]
Add a sensible default header

15 years agoThe dependencies we compute are the run-time dependencies, so put them in RDEPEND
Vincent Pit [Tue, 8 Sep 2009 14:18:49 +0000 (16:18 +0200)]
The dependencies we compute are the run-time dependencies, so put them in RDEPEND

And set DEPEND to RDEPEND for now.

15 years agoBetter handling of $file in ->update_manifest
Vincent Pit [Sun, 6 Sep 2009 19:45:12 +0000 (21:45 +0200)]
Better handling of $file in ->update_manifest

15 years agoIgnore the lib/CPANPLUS/Dist/Gentoo/Maps.pm.bak file
Vincent Pit [Sun, 6 Sep 2009 19:42:00 +0000 (21:42 +0200)]
Ignore the lib/CPANPLUS/Dist/Gentoo/Maps.pm.bak file

15 years agoOne more gentooism: NTLM
Vincent Pit [Sun, 6 Sep 2009 19:41:15 +0000 (21:41 +0200)]
One more gentooism: NTLM

15 years agoThis is 0.08 v0.08
Vincent Pit [Fri, 4 Sep 2009 18:50:21 +0000 (20:50 +0200)]
This is 0.08

15 years agoList::Util is now a dependency
Vincent Pit [Fri, 4 Sep 2009 17:42:44 +0000 (19:42 +0200)]
List::Util is now a dependency

15 years agoPreserve the existing $stat->dist when the dist has already been created
Vincent Pit [Fri, 4 Sep 2009 17:07:10 +0000 (19:07 +0200)]
Preserve the existing $stat->dist when the dist has already been created

As ->prepare may have already set it.

15 years agoCheck in prepare() if there isn't an ebuild available yet
Vincent Pit [Fri, 4 Sep 2009 17:04:28 +0000 (19:04 +0200)]
Check in prepare() if there isn't an ebuild available yet

Unless under --force, when an ebuild in this category is always generated.

15 years agoMake fatal the failure to map a dependency to an ebuild
Vincent Pit [Thu, 3 Sep 2009 20:01:04 +0000 (22:01 +0200)]
Make fatal the failure to map a dependency to an ebuild

15 years agoWrite the ebuild only after the dependencies were handled
Vincent Pit [Thu, 3 Sep 2009 19:55:17 +0000 (21:55 +0200)]
Write the ebuild only after the dependencies were handled

But, to prevent endless recursion, create a placeholder ebuild before.
This effectively reverts 6ea8cf92ee3ae046edc579f391c7874d1d871595.

15 years agoFix case of equality in version requirement
Vincent Pit [Thu, 3 Sep 2009 19:19:54 +0000 (21:19 +0200)]
Fix case of equality in version requirement

If we have an ebuild for the exact version we require, it's good. I really
wonder how could I let this one slip. Oh wait, I know : no tests :(

15 years agoDon't die if the prerequisite couldn't be found in the module tree
Vincent Pit [Thu, 3 Sep 2009 18:45:14 +0000 (20:45 +0200)]
Don't die if the prerequisite couldn't be found in the module tree

It might be a non dual-lived core module, like Config.

15 years agoStyle nits
Vincent Pit [Sun, 16 Aug 2009 22:06:34 +0000 (00:06 +0200)]
Style nits

15 years agoBail out if the SUPER calls to prepare/create failed
Vincent Pit [Sun, 16 Aug 2009 20:19:32 +0000 (22:19 +0200)]
Bail out if the SUPER calls to prepare/create failed

15 years agoIntuit the correct license from the DSLIP or the META file
Vincent Pit [Sun, 16 Aug 2009 19:01:44 +0000 (21:01 +0200)]
Intuit the correct license from the DSLIP or the META file

15 years agoPOD cleanups
Vincent Pit [Sun, 16 Aug 2009 16:40:47 +0000 (18:40 +0200)]
POD cleanups

15 years agoRename eb_(.*) accessors to ebuild_$1
Vincent Pit [Sun, 16 Aug 2009 16:38:33 +0000 (18:38 +0200)]
Rename eb_(.*) accessors to ebuild_$1

15 years agoMove the formatting of the ebuild source into a new ebuild_source() method
Vincent Pit [Sun, 16 Aug 2009 16:32:53 +0000 (18:32 +0200)]
Move the formatting of the ebuild source into a new ebuild_source() method

15 years agobase.pm is also a dependency
Vincent Pit [Sun, 16 Aug 2009 16:07:54 +0000 (18:07 +0200)]
base.pm is also a dependency

15 years agoAdd the _abort(), _notify() and _skip() diagnostics methods
Vincent Pit [Sun, 16 Aug 2009 15:57:30 +0000 (17:57 +0200)]
Add the _abort(), _notify() and _skip() diagnostics methods

And make $FAIL->($msg) call ->_abort($msg).
CPANPLUS::Error doesn't pollute our namespace anymore.

15 years agoPut the update Manifest logic into its own update_manifest() method
Vincent Pit [Sun, 16 Aug 2009 15:39:11 +0000 (17:39 +0200)]
Put the update Manifest logic into its own update_manifest() method

15 years agoProperly asset the situation at the end of prepare()/create()
Vincent Pit [Sat, 15 Aug 2009 09:36:19 +0000 (11:36 +0200)]
Properly asset the situation at the end of prepare()/create()

15 years agoReduce namespace pollution
Vincent Pit [Sat, 15 Aug 2009 09:05:59 +0000 (11:05 +0200)]
Reduce namespace pollution

Except for Cwd from which we still import abs_path().
File::Spec::Functions was replaced by File::Spec.