* a perl package
@ 2017-03-16 11:42 Catonano
2017-03-17 1:08 ` Eric Bavier
0 siblings, 1 reply; 3+ messages in thread
From: Catonano @ 2017-03-16 11:42 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 553 bytes --]
I'd like to try to package this thing
http://search.cpan.org/~ken/xls2csv-1.07/
but
$ guix import cpan xls2csv
guix import: error: failed to download meta-data for package 'xls2csv'
Efraim suggested me caps and colons, like the example in the manual
guix import cpan Acme::Boolean
But Acme-Boolean is a package.
There's a folder named Acme containing a file with a namespace declaration
in it
My thing is not a package, it's a script, it has no namespace declaration,
it's not in a folder
How do I correctly call the importer on this ?
Thanks
[-- Attachment #2: Type: text/html, Size: 767 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: a perl package
2017-03-16 11:42 a perl package Catonano
@ 2017-03-17 1:08 ` Eric Bavier
2017-03-18 11:28 ` Catonano
0 siblings, 1 reply; 3+ messages in thread
From: Eric Bavier @ 2017-03-17 1:08 UTC (permalink / raw)
To: Catonano; +Cc: help-guix
On Thu, 16 Mar 2017 12:42:38 +0100
Catonano <catonano@gmail.com> wrote:
> I'd like to try to package this thing
>
> http://search.cpan.org/~ken/xls2csv-1.07/
>
> but
Short answer: The cpan importer is currently not equipped to handle
script-packages like this one.
>
> $ guix import cpan xls2csv
> guix import: error: failed to download meta-data for package 'xls2csv'
This is because "xls2csv" has no metadata on metacpan.org
> Efraim suggested me caps and colons, like the example in the manual
>
> guix import cpan Acme::Boolean
>
> But Acme-Boolean is a package.
>
> There's a folder named Acme containing a file with a namespace declaration
> in it
>
> My thing is not a package, it's a script, it has no namespace declaration,
> it's not in a folder
Is this common on CPAN? Do you think it would be useful to improve the
cpan importer to handle such things?
>
> How do I correctly call the importer on this ?
It can't work, yet. You'll need to declare the package manually.
Sorry.
`~Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: a perl package
2017-03-17 1:08 ` Eric Bavier
@ 2017-03-18 11:28 ` Catonano
0 siblings, 0 replies; 3+ messages in thread
From: Catonano @ 2017-03-18 11:28 UTC (permalink / raw)
To: Eric Bavier; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1352 bytes --]
2017-03-17 2:08 GMT+01:00 Eric Bavier <ericbavier@openmailbox.org>:
> On Thu, 16 Mar 2017 12:42:38 +0100
> Catonano <catonano@gmail.com> wrote:
>
> > I'd like to try to package this thing
> >
> > http://search.cpan.org/~ken/xls2csv-1.07/
> >
> > but
>
> Short answer: The cpan importer is currently not equipped to handle
> script-packages like this one.
>
Oh ok. Good to know. Thanks
>
> >
> > $ guix import cpan xls2csv
> > guix import: error: failed to download meta-data for package 'xls2csv'
>
> This is because "xls2csv" has no metadata on metacpan.org
>
> > Efraim suggested me caps and colons, like the example in the manual
> >
> > guix import cpan Acme::Boolean
> >
> > But Acme-Boolean is a package.
> >
> > There's a folder named Acme containing a file with a namespace
> declaration
> > in it
> >
> > My thing is not a package, it's a script, it has no namespace
> declaration,
> > it's not in a folder
>
> Is this common on CPAN? Do you think it would be useful to improve the
> cpan importer to handle such things?
>
II don't know whether it's common or not. I don't know the first thing
about Perl
I was only evaluating a way to access some data stored in xsl files
>
> >
> > How do I correctly call the importer on this ?
>
> It can't work, yet. You'll need to declare the package manually.
> Sorry.
>
Ok. Thank you, Eric
[-- Attachment #2: Type: text/html, Size: 2643 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-18 11:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-16 11:42 a perl package Catonano
2017-03-17 1:08 ` Eric Bavier
2017-03-18 11:28 ` Catonano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).