FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 05-23-2012, 07:31 AM
Grant
 
Default anybody interested in writing a Perl ebuild?

Hello, is anyone interested in writing a Perl ebuild for this payment module:

http://search.cpan.org/dist/Net-Braintree/

Thanks,
Grant

P.S. Braintree is a stellar payment company:

https://www.braintreepayments.com/developers
 
Old 05-23-2012, 07:49 AM
"Robin H. Johnson"
 
Default anybody interested in writing a Perl ebuild?

On Wed, May 23, 2012 at 12:31:59AM -0700, Grant wrote:
> Hello, is anyone interested in writing a Perl ebuild for this payment module:
> http://search.cpan.org/dist/Net-Braintree/
Use g-cpan.

g-cpan -g Net::Braintree

It will generate packages for the module and all needed deps
(DateTime-Format-RFC3339, DateTime-Format-Atom,
Module-Install-TestTarget, Hash-Inflator, local-lib, URI-Query).

--
Robin Hugh Johnson
Gentoo Linux: Developer, Trustee & Infrastructure Lead
E-Mail : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
 
Old 05-23-2012, 08:14 AM
Grant
 
Default anybody interested in writing a Perl ebuild?

>> Hello, is anyone interested in writing a Perl ebuild for this payment module:
>> http://search.cpan.org/dist/Net-Braintree/
> Use g-cpan.
>
> g-cpan -g Net::Braintree
>
> It will generate packages for the module and all needed deps
> (DateTime-Format-RFC3339, DateTime-Format-Atom,
> Module-Install-TestTarget, Hash-Inflator, local-lib, URI-Query).

Thanks, I gave that a try and it did a bunch of stuff but when I try
to emerge Net-Braintree I get:

>>> Verifying ebuild manifests
!!! A file is not listed in the Manifest:
'/var/lib/layman/moonrise/perl-gcpan/DateTime-Format-RFC3339/DateTime-Format-RFC3339-1.0.5.ebuild'
!!! A file is not listed in the Manifest:
'/var/lib/layman/moonrise/perl-gcpan/DateTime-Format-Atom/DateTime-Format-Atom-1.0.2.ebuild'

I noticed that g-cpan put all of the ebuilds it generated in:

/var/lib/layman/moonrise/perl-gcpan

Is that the right place for them?

- Grant
 
Old 05-23-2012, 03:57 PM
"Robin H. Johnson"
 
Default anybody interested in writing a Perl ebuild?

On Wed, May 23, 2012 at 01:14:52AM -0700, Grant wrote:
> Thanks, I gave that a try and it did a bunch of stuff but when I try
> to emerge Net-Braintree I get:
that's weird. it did generate all of them fine here
which version of g-cpan?

> I noticed that g-cpan put all of the ebuilds it generated in:
> /var/lib/layman/moonrise/perl-gcpan
> Is that the right place for them?
the default is the last overlay in your config. i suggest looking at the
docs and forcing it to your own overlay, and forcing category to
dev-perl.

--
Robin Hugh Johnson
Gentoo Linux: Developer, Trustee & Infrastructure Lead
E-Mail : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
 
Old 05-24-2012, 07:01 AM
Grant
 
Default anybody interested in writing a Perl ebuild?

>> Thanks, I gave that a try and it did a bunch of stuff but when I try
>> to emerge Net-Braintree I get:
> that's weird. it did generate all of them fine here
> which version of g-cpan?

I've tried with g-cpan-0.16.2 and 0.16.4 with the same results:

>>> Verifying ebuild manifests
!!! A file is not listed in the Manifest:
'/usr/local/portage/dev-perl/DateTime-Format-RFC3339/DateTime-Format-RFC3339-1.0.5.ebuild'
!!! A file is not listed in the Manifest:
'/usr/local/portage/dev-perl/DateTime-Format-Atom/DateTime-Format-Atom-1.0.2.ebuild'

I've tried several times with some config variations but always with
the above error when trying to emerge.

>> I noticed that g-cpan put all of the ebuilds it generated in:
>> /var/lib/layman/moonrise/perl-gcpan
>> Is that the right place for them?
> the default is the last overlay in your config. i suggest looking at the
> docs and forcing it to your own overlay, and forcing category to
> dev-perl.

I've done that but with the above results:

GCPAN_OVERLAY="/usr/local/portage"
GCPAN_CAT="dev-perl"

I've never had very good luck with g-cpan. I thought there were a lot
of dev-perl ebuilds in portage for CPAN modules and that g-cpan was
for those that hadn't been added to portage yet?

- Grant
 
Old 05-24-2012, 10:32 AM
Kent Fredric
 
Default anybody interested in writing a Perl ebuild?

On 24 May 2012 19:01, Grant <emailgrant@gmail.com> wrote:
>>>> Verifying ebuild manifests
> !!! A file is not listed in the Manifest:
> '/usr/local/portage/dev-perl/DateTime-Format-RFC3339/DateTime-Format-RFC3339-1.0.5.ebuild'
> !!! A file is not listed in the Manifest:
> '/usr/local/portage/dev-perl/DateTime-Format-Atom/DateTime-Format-Atom-1.0.2.ebuild'


Why this is occuring is strange.

For each module it complains is "not in the manifest",

cd $packagedir
repoman manifest

ie:

cd /usr/local/portage/dev-perl/DateTime-Format-RFC3339/
repoman manifest

This should

a ) Re-attempt downloading the source tar.gz from cpan if its not
already downloaded
b ) update the Manifest file for both the source tar.gz and the
problematic ebuild.

if something goes wrong while doing repoman manifest, then please
report that error.

( g-cpan should do this any-way, but seeing why repoman manifest
fails, if it fails, should help diagnose the issue )

--
Kent

perl -e* "print substr( "edrgmaM* SPA NOcomil.ic@tfrken", $_ * 3,
3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"

http://kent-fredric.fox.geek.nz
 
Old 05-24-2012, 10:35 AM
Kent Fredric
 
Default anybody interested in writing a Perl ebuild?

On 24 May 2012 19:01, Grant <emailgrant@gmail.com> wrote:
> I've never had very good luck with g-cpan. *I thought there were a lot
> of dev-perl ebuilds in portage for CPAN modules and that g-cpan was
> for those that hadn't been added to portage yet?

Yes, to an extent. Also, if you haven't already, check out the
perl-experiemental overlay, which has a much, much larger collection
of Perl Module ebuilds.

Its not as well maintained as the main tree, but its not bad IMO*

you might get lucky and somebody might put it in the tree for you if
g-cpan doesn't want to work.

* biased, I do a large amount of that =p




--
Kent

perl -e* "print substr( "edrgmaM* SPA NOcomil.ic@tfrken", $_ * 3,
3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"

http://kent-fredric.fox.geek.nz
 
Old 05-24-2012, 03:05 PM
Grant
 
Default anybody interested in writing a Perl ebuild?

>>>>> Verifying ebuild manifests
>> !!! A file is not listed in the Manifest:
>> '/usr/local/portage/dev-perl/DateTime-Format-RFC3339/DateTime-Format-RFC3339-1.0.5.ebuild'
>> !!! A file is not listed in the Manifest:
>> '/usr/local/portage/dev-perl/DateTime-Format-Atom/DateTime-Format-Atom-1.0.2.ebuild'
>
>
> Why this is occuring is strange.
>
> For each module it complains is "not in the manifest",
>
> cd $packagedir
> repoman manifest
>
> ie:
>
> cd /usr/local/portage/dev-perl/DateTime-Format-RFC3339/
> repoman manifest
>
> This should
>
> a ) Re-attempt downloading the source tar.gz from cpan if its not
> already downloaded
> b ) update the Manifest file for both the source tar.gz and the
> problematic ebuild.
>
> if something goes wrong while doing repoman manifest, then please
> report that error.
>
> ( g-cpan should do this any-way, but seeing why repoman manifest
> fails, if it fails, should help diagnose the issue )

Here is the repoman failure and DateTime-Format-Atom does the same thing:

# repoman manifest
>>> Downloading 'http://distfiles.gentoo.org/distfiles/DateTime-Format-RFC3339-1.0.5.tar.gz'
--2012-05-24 08:01:06--
http://distfiles.gentoo.org/distfiles/DateTime-Format-RFC3339-1.0.5.tar.gz
Resolving distfiles.gentoo.org... 156.56.247.195, 216.165.129.135,
64.50.233.100, ...
Connecting to distfiles.gentoo.org|156.56.247.195|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-05-24 08:01:06 ERROR 404: Not Found.

>>> Downloading 'http://www.cpan.org/authors/id/I/IK/IKEGAMI/DateTime-Format-RFC3339-1.0.5.tar.gz'
--2012-05-24 08:01:06--
http://www.cpan.org/authors/id/I/IK/IKEGAMI/DateTime-Format-RFC3339-1.0.5.tar.gz
Resolving www.cpan.org... 207.171.7.177, 199.15.176.140
Connecting to www.cpan.org|207.171.7.177|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-05-24 08:01:06 ERROR 404: Not Found.

>>> Downloading 'http://search.cpan.org/CPAN/authors/id/I/IK/IKEGAMI/DateTime-Format-RFC3339-1.0.5.tar.gz'
--2012-05-24 08:01:06--
http://search.cpan.org/CPAN/authors/id/I/IK/IKEGAMI/DateTime-Format-RFC3339-1.0.5.tar.gz
Resolving search.cpan.org... 199.15.176.161
Connecting to search.cpan.org|199.15.176.161|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cpan.knowledgematters.net/authors/id/I/IK/IKEGAMI/DateTime-Format-RFC3339-1.0.5.tar.gz
[following]
--2012-05-24 08:01:06--
http://cpan.knowledgematters.net/authors/id/I/IK/IKEGAMI/DateTime-Format-RFC3339-1.0.5.tar.gz
Resolving cpan.knowledgematters.net... 67.205.61.104
Connecting to cpan.knowledgematters.net|67.205.61.104|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-05-24 08:01:06 ERROR 404: Not Found.

!!! Couldn't download 'DateTime-Format-RFC3339-1.0.5.tar.gz'. Aborting.
* QA Notice: ECLASS 'perl-module' inherited illegally in
dev-perl/DateTime-Format-RFC3339-1.0.5 nofetch
* QA Notice: ECLASS 'eutils' inherited illegally in
dev-perl/DateTime-Format-RFC3339-1.0.5 nofetch
* QA Notice: ECLASS 'multilib' inherited illegally in
dev-perl/DateTime-Format-RFC3339-1.0.5 nofetch
* QA Notice: ECLASS 'toolchain-funcs' inherited illegally in
dev-perl/DateTime-Format-RFC3339-1.0.5 nofetch
* QA Notice: ECLASS 'multilib' inherited illegally in
dev-perl/DateTime-Format-RFC3339-1.0.5 nofetch
* QA Notice: ECLASS 'user' inherited illegally in
dev-perl/DateTime-Format-RFC3339-1.0.5 nofetch
* QA Notice: ECLASS 'base' inherited illegally in
dev-perl/DateTime-Format-RFC3339-1.0.5 nofetch
* The following are listed in SRC_URI for DateTime-Format-RFC3339:
* mirror://cpan/authors/id/I/IK/IKEGAMI/DateTime-Format-RFC3339-1.0.5.tar.gz
!!! Fetch failed for DateTime-Format-RFC3339-1.0.5.tar.gz, can't update Manifest
Unable to generate manifest.

- Grant
 
Old 05-24-2012, 05:20 PM
Kent Fredric
 
Default anybody interested in writing a Perl ebuild?

On 25 May 2012 03:05, Grant <emailgrant@gmail.com> wrote:
> DateTime-Format-RFC3339

Ah. The dreaded v-strings.

You'll note: http://cpan.metacpan.org/authors/id/I/IK/IKEGAMI/

That there is a "v" before the version specifier in the problem dist,
and the portage ebuild has not factored this into the equation, and is
looking for DateTime-Format-RFC3339-1.0.5.tar.gz when it should be
looking for DateTime-Format-RFC3339-v1.0.5.tar.gz

If you can edit the ebuild source to solve this issue, and then re-run
repoman manifest, that might help. But at least we now know what is
happening wrong with g-cpan.

In editing, you'll be wanting to look for varibles ( mostly in SRC_URI
and I think S ) which use "${PV}" and change it to use "v${PV}"
instead.


--
Kent

perl -e* "print substr( "edrgmaM* SPA NOcomil.ic@tfrken", $_ * 3,
3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"

http://kent-fredric.fox.geek.nz
 
Old 05-24-2012, 07:22 PM
Grant
 
Default anybody interested in writing a Perl ebuild?

>> DateTime-Format-RFC3339
>
> Ah. The dreaded v-strings.
>
> You'll note: http://cpan.metacpan.org/authors/id/I/IK/IKEGAMI/
>
> That there is a "v" before the version specifier in the problem dist,
> and the portage ebuild has not factored this into the equation, and is
> looking for DateTime-Format-RFC3339-1.0.5.tar.gz * * when it should be
> looking for DateTime-Format-RFC3339-v1.0.5.tar.gz
>
> If you can edit the ebuild source to solve this issue, and then re-run
> repoman manifest, that might help. But at least we now know what is
> happening wrong with g-cpan.
>
> In editing, you'll be wanting to look for varibles ( mostly in SRC_URI
> and I think S ) *which use "${PV}" and change it to use "v${PV}"
> instead.

These ebuilds don't seem to have any of those variables:

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# This ebuild generated by g-cpan 0.16.4

EAPI="2"

MODULE_AUTHOR="IKEGAMI"

inherit perl-module

DESCRIPTION="Parse and format RFC3339 datetime strings"

LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="alpha amd64 amd64-fbsd arm hppa ia64 m68k mips ppc ppc64
s390 sh sparc sparc-fbsd x86 x86-fbsd ppc-aix x86-freebsd
x64-freebsd sparc64-freebsd hppa-hpux ia64-hpux x86-interix
amd64-linux arm-linux ia64-linux ppc64-linux x86-linux ppc-macos
x86-macos x64-macos m68k-mint x86-netbsd ppc-openbsd x86-openbsd
x64-openbsd sparc-solaris sparc64-solaris x64-solaris x86-solaris
x86-winnt x86-cygwin"
IUSE=""

DEPEND="dev-perl/DateTime
dev-lang/perl"

- Grant
 

Thread Tools




All times are GMT. The time now is 03:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org