]> git.vpit.fr Git - perl/modules/CPANPLUS-Dist-Gentoo.git/log
perl/modules/CPANPLUS-Dist-Gentoo.git
14 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

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

14 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.

14 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

14 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

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

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

14 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

14 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.

14 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.

14 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

14 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.

14 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 :(

14 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.

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

14 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

14 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

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

14 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

14 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

14 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

14 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.

14 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

14 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()

14 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.

14 years agoMake _unquote() into a private sub
Vincent Pit [Sat, 15 Aug 2009 08:54:51 +0000 (10:54 +0200)]
Make _unquote() into a private sub

14 years agoGet rid of t/90-boilerplate.t
Vincent Pit [Sat, 15 Aug 2009 08:50:30 +0000 (10:50 +0200)]
Get rid of t/90-boilerplate.t

14 years agoBetter logic for capturing "emerge --info" output
Vincent Pit [Sat, 15 Aug 2009 08:49:47 +0000 (10:49 +0200)]
Better logic for capturing "emerge --info" output

14 years agoThis is 0.07 v0.07
Vincent Pit [Wed, 1 Jul 2009 08:53:27 +0000 (10:53 +0200)]
This is 0.07

14 years agoUpdate the gentooisms test count
Vincent Pit [Wed, 1 Jul 2009 08:52:17 +0000 (10:52 +0200)]
Update the gentooisms test count

14 years agoRegenerate the gentooisms
Vincent Pit [Thu, 4 Jun 2009 20:22:30 +0000 (22:22 +0200)]
Regenerate the gentooisms

15 years agoSlashes are reserved and hence must be encoded in the search part of an URL
Vincent Pit [Wed, 22 Apr 2009 20:51:43 +0000 (22:51 +0200)]
Slashes are reserved and hence must be encoded in the search part of an URL

15 years agoPoint the repository to the gitweb instead of the bare repo
Vincent Pit [Thu, 16 Apr 2009 22:43:53 +0000 (00:43 +0200)]
Point the repository to the gitweb instead of the bare repo

15 years agoReplace an occurence of $self->status by $stat in _run()
Vincent Pit [Sat, 14 Feb 2009 21:09:58 +0000 (22:09 +0100)]
Replace an occurence of $self->status by $stat in _run()

15 years agoThis is 0.06 also for CPANPLUS::Dist::Gentoo::Maps, duh
Vincent Pit [Sat, 14 Feb 2009 18:21:57 +0000 (19:21 +0100)]
This is 0.06 also for CPANPLUS::Dist::Gentoo::Maps, duh

15 years agoThis is 0.06 v0.06
Vincent Pit [Sat, 14 Feb 2009 18:15:10 +0000 (19:15 +0100)]
This is 0.06

15 years agoTest compilation of CPANPLUS::Dist::Gentoo::Maps
Vincent Pit [Sat, 14 Feb 2009 18:14:39 +0000 (19:14 +0100)]
Test compilation of CPANPLUS::Dist::Gentoo::Maps

15 years agoUse recent ExtUtils::MakeMaker features to generate a better META.yml
Vincent Pit [Sat, 7 Feb 2009 20:32:18 +0000 (21:32 +0100)]
Use recent ExtUtils::MakeMaker features to generate a better META.yml

15 years agoDon't try to look for a version if none was passed to _cpan2portage
Vincent Pit [Sun, 1 Feb 2009 00:23:38 +0000 (01:23 +0100)]
Don't try to look for a version if none was passed to _cpan2portage

15 years agoRefine the versioning logic
Vincent Pit [Sun, 1 Feb 2009 00:04:39 +0000 (01:04 +0100)]
Refine the versioning logic

Roll our own parsing and comparing version routines, and test them in t/12-maps-version.t.

version is no longer required, but Carp now is.

15 years agoMove the gentooisms to a new CPANPLUS::Dist::Gentoo::Maps
Vincent Pit [Sat, 31 Jan 2009 15:01:02 +0000 (16:01 +0100)]
Move the gentooisms to a new CPANPLUS::Dist::Gentoo::Maps

This new helper module is meant to handle all the CPAN <-> Gentoo mapping logic. Also make samples/gengentooisms fill the __DATA__ of lib/CPANPLUS/Dist/Gentoo/Maps.pm and add a few basic tests.

15 years agoAdd some exceptional cases to samples/gengentooisms
Vincent Pit [Sat, 31 Jan 2009 14:28:41 +0000 (15:28 +0100)]
Add some exceptional cases to samples/gengentooisms

15 years agoGenerate ebuild for the current dist before recursing
Vincent Pit [Sun, 25 Jan 2009 23:33:03 +0000 (00:33 +0100)]
Generate ebuild for the current dist before recursing

This allow us to skip it when it reappears below in the dependency tree (because the ebuild can be found). But do the manifest after recursing, when all the deps are set.

15 years agoRemove duplicated dependencies
Vincent Pit [Sun, 25 Jan 2009 23:04:46 +0000 (00:04 +0100)]
Remove duplicated dependencies

15 years agoCache the result of format_available()
Vincent Pit [Sun, 25 Jan 2009 22:55:48 +0000 (23:55 +0100)]
Cache the result of format_available()

15 years agoPrevent infinite loop when forcing a distribution with recursive dependencies
Vincent Pit [Sun, 25 Jan 2009 11:37:39 +0000 (12:37 +0100)]
Prevent infinite loop when forcing a distribution with recursive dependencies

15 years agoThis is 0.05 v0.05
Vincent Pit [Sun, 25 Jan 2009 00:26:56 +0000 (01:26 +0100)]
This is 0.05

15 years agoBump copyright year
Vincent Pit [Sun, 25 Jan 2009 00:11:37 +0000 (01:11 +0100)]
Bump copyright year

15 years agoRevert "Specifying MODULE_AUTHOR sets S and SRC_URI, so we can remove them. It also...
Vincent Pit [Sat, 24 Jan 2009 22:28:43 +0000 (23:28 +0100)]
Revert "Specifying MODULE_AUTHOR sets S and SRC_URI, so we can remove them. It also sets HOMEPAGE, but to a suboptimal URI, so it's better to keep it for now"

This reverts commit 94d4cd2d24e105bf0d2c8117e2b5d469ccd13581.

For distributions that fall back into the "gentooisms" category, MODULE_AUTHOR can't be trusted to set SRC_URI properly, since the real source uri can't be guessed from the ebuild name.

15 years agoDon't try to find a versioned ebuild if the call to version->new() failed
Vincent Pit [Sat, 24 Jan 2009 21:57:38 +0000 (22:57 +0100)]
Don't try to find a versioned ebuild if the call to version->new() failed

15 years agoFor each CPAN dependency, search in which category we should search for the correspon...
Vincent Pit [Wed, 7 Jan 2009 17:52:13 +0000 (18:52 +0100)]
For each CPAN dependency, search in which category we should search for the corresponding portage dependency (including virtuals).

This ensures that we only state in DEPEND atoms that really exists in the portage tree.

version is required.

15 years agoMake $stat->portdir_overlay an array reference
Vincent Pit [Wed, 7 Jan 2009 16:26:10 +0000 (17:26 +0100)]
Make $stat->portdir_overlay an array reference

15 years ago%gentooism ought to be public
Vincent Pit [Sun, 21 Dec 2008 12:46:26 +0000 (13:46 +0100)]
%gentooism ought to be public

15 years agoThe default keywords are now good enough for g-cpanp
Vincent Pit [Sun, 21 Dec 2008 11:36:58 +0000 (12:36 +0100)]
The default keywords are now good enough for g-cpanp

15 years agoSet the default distdir with emerge --info's DISTDIR
Vincent Pit [Sun, 21 Dec 2008 11:22:53 +0000 (12:22 +0100)]
Set the default distdir with emerge --info's DISTDIR

15 years agoPORTDIR_OVERLAY is supposed to be a space-delimited list
Vincent Pit [Sun, 21 Dec 2008 10:56:05 +0000 (11:56 +0100)]
PORTDIR_OVERLAY is supposed to be a space-delimited list

15 years agoSpecifying MODULE_AUTHOR sets S and SRC_URI, so we can remove them. It also sets...
Vincent Pit [Sun, 21 Dec 2008 10:45:23 +0000 (11:45 +0100)]
Specifying MODULE_AUTHOR sets S and SRC_URI, so we can remove them. It also sets HOMEPAGE, but to a suboptimal URI, so it's better to keep it for now

15 years agoSet the default keywords with ACCEPT_KEYWORDS from emerge --info
Vincent Pit [Sat, 20 Dec 2008 21:22:06 +0000 (22:22 +0100)]
Set the default keywords with ACCEPT_KEYWORDS from emerge --info

15 years agoBetter handling of the run of emerge --info
Vincent Pit [Sat, 20 Dec 2008 18:40:59 +0000 (19:40 +0100)]
Better handling of the run of emerge --info

15 years agoInitialize $stat->eb_file before testing if the ebuild already exists, as we may...
Vincent Pit [Sat, 20 Dec 2008 16:25:57 +0000 (17:25 +0100)]
Initialize $stat->eb_file before testing if the ebuild already exists, as we may need its value later for $stat->dist

15 years agoAppend our overlay to the ones specified in PORTDIR_OVERLAY when running commands
Vincent Pit [Sat, 20 Dec 2008 16:22:55 +0000 (17:22 +0100)]
Append our overlay to the ones specified in PORTDIR_OVERLAY when running commands

15 years agoRegenerate gentooisms with our new helper script
Vincent Pit [Fri, 19 Dec 2008 23:51:31 +0000 (00:51 +0100)]
Regenerate gentooisms with our new helper script

15 years agoAdd the samples/gengentooisms script
Vincent Pit [Fri, 19 Dec 2008 23:24:35 +0000 (00:24 +0100)]
Add the samples/gengentooisms script

15 years agoReset $stat->prepared and $stat->created after calling the base methods
Vincent Pit [Fri, 12 Dec 2008 21:50:00 +0000 (22:50 +0100)]
Reset $stat->prepared and $stat->created after calling the base methods

15 years agoSet $stat->dist properly in prepare() and create()
Vincent Pit [Fri, 12 Dec 2008 21:06:10 +0000 (22:06 +0100)]
Set $stat->dist properly in prepare() and create()

15 years agoRename the stat 'dist' slot in 'distribution', as 'dist' seems to be used by CPANPLUS
Vincent Pit [Fri, 12 Dec 2008 21:04:02 +0000 (22:04 +0100)]
Rename the stat 'dist' slot in 'distribution', as 'dist' seems to be used by CPANPLUS

15 years agoSet $stat->uninstalled properly in uninstall()
Vincent Pit [Fri, 12 Dec 2008 20:55:18 +0000 (21:55 +0100)]
Set $stat->uninstalled properly in uninstall()

15 years agoSet $stat->installed properly in install()
Vincent Pit [Fri, 12 Dec 2008 20:54:40 +0000 (21:54 +0100)]
Set $stat->installed properly in install()

15 years agoSet $stat->created properly in create()
Vincent Pit [Fri, 12 Dec 2008 20:53:15 +0000 (21:53 +0100)]
Set $stat->created properly in create()

15 years agoSet $stat->prepared properly in prepare()
Vincent Pit [Fri, 12 Dec 2008 20:46:44 +0000 (21:46 +0100)]
Set $stat->prepared properly in prepare()

15 years agoReally relink through gentooisms
Vincent Pit [Thu, 11 Dec 2008 08:06:02 +0000 (09:06 +0100)]
Really relink through gentooisms

15 years agoMore gentooisms
Vincent Pit [Mon, 8 Dec 2008 17:09:11 +0000 (18:09 +0100)]
More gentooisms

15 years agoMake the overlay and the distdir absolute. Cwd is required
Vincent Pit [Sat, 6 Dec 2008 23:43:12 +0000 (00:43 +0100)]
Make the overlay and the distdir absolute. Cwd is required

15 years agoThis is 0.04 v0.04
Vincent Pit [Sat, 6 Dec 2008 17:04:45 +0000 (18:04 +0100)]
This is 0.04

15 years agoThanks, Kent
Vincent Pit [Sat, 6 Dec 2008 17:03:34 +0000 (18:03 +0100)]
Thanks, Kent

15 years agoPrint our version in the generated ebuilds
Vincent Pit [Sat, 6 Dec 2008 16:54:07 +0000 (17:54 +0100)]
Print our version in the generated ebuilds

15 years agoThe samples/g-cpanp script
Vincent Pit [Sat, 6 Dec 2008 16:50:28 +0000 (17:50 +0100)]
The samples/g-cpanp script

15 years agoAllow specifying an header and a footer
Vincent Pit [Sat, 6 Dec 2008 16:42:20 +0000 (17:42 +0100)]
Allow specifying an header and a footer

15 years agoThe dists available in cpan/modules/by-module are only those registered in the module...
Vincent Pit [Sat, 6 Dec 2008 16:30:43 +0000 (17:30 +0100)]
The dists available in cpan/modules/by-module are only those registered in the module list, so we should actually get them from cpan/modules/by-authors/id/X/XY/XYZ

15 years agoSet MODULE_AUTHOR before importing the perl-module eclass
Vincent Pit [Sat, 6 Dec 2008 16:16:23 +0000 (17:16 +0100)]
Set MODULE_AUTHOR before importing the perl-module eclass

15 years agoAppend SRC_TEST="do" to ebuilds, so that tests are run when FEATURES have 'test' set
Vincent Pit [Sat, 6 Dec 2008 15:41:15 +0000 (16:41 +0100)]
Append SRC_TEST="do" to ebuilds, so that tests are run when FEATURES have 'test' set

15 years agoThis is 0.03 v0.03
Vincent Pit [Sat, 29 Nov 2008 19:43:46 +0000 (20:43 +0100)]
This is 0.03

15 years agoDoc tweaks
Vincent Pit [Sat, 29 Nov 2008 19:36:31 +0000 (20:36 +0100)]
Doc tweaks

15 years agoBetter perl -> ebuild version conversion
Vincent Pit [Sat, 29 Nov 2008 19:30:20 +0000 (20:30 +0100)]
Better perl -> ebuild version conversion

15 years agoThe overlay shouldn't hold the category
Vincent Pit [Sat, 29 Nov 2008 19:00:35 +0000 (20:00 +0100)]
The overlay shouldn't hold the category

15 years agoStatus initialization cleanup
Vincent Pit [Sat, 29 Nov 2008 18:22:53 +0000 (19:22 +0100)]
Status initialization cleanup

15 years ago--force should regenerate ebuilds when possible
Vincent Pit [Sat, 29 Nov 2008 17:55:59 +0000 (18:55 +0100)]
--force should regenerate ebuilds when possible

15 years agoStore the force flag into the status
Vincent Pit [Sat, 29 Nov 2008 17:14:37 +0000 (18:14 +0100)]
Store the force flag into the status

15 years agoIgnore Debian_CPANTS.txt
Vincent Pit [Sat, 29 Nov 2008 16:45:19 +0000 (17:45 +0100)]
Ignore Debian_CPANTS.txt

15 years agoSet PORTDIR_OVERLAY and PORTAGE_RO_DISTDIRS to their appropriate values before runnin...
Vincent Pit [Sat, 29 Nov 2008 16:43:38 +0000 (17:43 +0100)]
Set PORTDIR_OVERLAY and PORTAGE_RO_DISTDIRS to their appropriate values before running commands

15 years agoStore the overlay into the status
Vincent Pit [Sat, 29 Nov 2008 16:37:26 +0000 (17:37 +0100)]
Store the overlay into the status

15 years agoMove all the "command running" logic into a _run private method
Vincent Pit [Sat, 29 Nov 2008 16:08:44 +0000 (17:08 +0100)]
Move all the "command running" logic into a _run private method

15 years agoStore the verbose flag into the status
Vincent Pit [Sat, 29 Nov 2008 16:06:52 +0000 (17:06 +0100)]
Store the verbose flag into the status

15 years agoRelink prerequisites with gentooisms
Vincent Pit [Sat, 29 Nov 2008 12:07:46 +0000 (13:07 +0100)]
Relink prerequisites with gentooisms

15 years agoAlso print the output of the manifest command when it fails
Vincent Pit [Sat, 29 Nov 2008 11:33:49 +0000 (12:33 +0100)]
Also print the output of the manifest command when it fails

15 years agoPrint more useful error messages when run() fails
Vincent Pit [Sat, 29 Nov 2008 11:18:19 +0000 (12:18 +0100)]
Print more useful error messages when run() fails

15 years agoSkip 'perl' dependencies
Vincent Pit [Sat, 29 Nov 2008 11:12:23 +0000 (12:12 +0100)]
Skip 'perl' dependencies

15 years agoAdd contact info
Vincent Pit [Thu, 2 Oct 2008 22:07:33 +0000 (00:07 +0200)]
Add contact info

15 years agoMore gentooisms
Vincent Pit [Sun, 24 Aug 2008 18:50:06 +0000 (20:50 +0200)]
More gentooisms

15 years agoAdd an INSTALLATION paragraph to the doc
Vincent Pit [Sat, 23 Aug 2008 11:43:12 +0000 (13:43 +0200)]
Add an INSTALLATION paragraph to the doc