From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: a perl package Date: Thu, 16 Mar 2017 12:42:38 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0d4d1ee61f81054ad78e23 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coTnq-0005M3-HJ for help-guix@gnu.org; Thu, 16 Mar 2017 07:42:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coTnk-0006kT-SZ for help-guix@gnu.org; Thu, 16 Mar 2017 07:42:46 -0400 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:37434) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1coTnk-0006it-MT for help-guix@gnu.org; Thu, 16 Mar 2017 07:42:40 -0400 Received: by mail-wm0-x22c.google.com with SMTP id n11so45333159wma.0 for ; Thu, 16 Mar 2017 04:42:40 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix --94eb2c0d4d1ee61f81054ad78e23 Content-Type: text/plain; charset=UTF-8 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 --94eb2c0d4d1ee61f81054ad78e23 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'd like to try to package this thing
ht= tp://search.cpan.org/~ken/xls2csv-1.07/

but

$ guix i= mport 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 containi= ng a file with a namespace declaration in it

My thing is not a packa= ge, it's a script, it has no namespace declaration, it's not in a f= older

How do I correctly call the importer on this ?

<= /div>Thanks
--94eb2c0d4d1ee61f81054ad78e23-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: a perl package Date: Thu, 16 Mar 2017 20:08:28 -0500 Message-ID: <20170316200828.3c0bce97@openmailbox.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cogNn-00008x-90 for help-guix@gnu.org; Thu, 16 Mar 2017 21:08:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cogNj-0006iL-Ap for help-guix@gnu.org; Thu, 16 Mar 2017 21:08:43 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:37678 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cogNj-0006i3-2A for help-guix@gnu.org; Thu, 16 Mar 2017 21:08:39 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Catonano Cc: help-guix On Thu, 16 Mar 2017 12:42:38 +0100 Catonano 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: a perl package Date: Sat, 18 Mar 2017 12:28:33 +0100 Message-ID: References: <20170316200828.3c0bce97@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1148fb7a34757f054aff9828 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpCXF-0000u2-3o for help-guix@gnu.org; Sat, 18 Mar 2017 07:28:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpCXD-00030z-V9 for help-guix@gnu.org; Sat, 18 Mar 2017 07:28:37 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:38083) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cpCXD-00030o-PE for help-guix@gnu.org; Sat, 18 Mar 2017 07:28:35 -0400 Received: by mail-wm0-x235.google.com with SMTP id t189so33075221wmt.1 for ; Sat, 18 Mar 2017 04:28:35 -0700 (PDT) In-Reply-To: <20170316200828.3c0bce97@openmailbox.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Eric Bavier Cc: help-guix --001a1148fb7a34757f054aff9828 Content-Type: text/plain; charset=UTF-8 2017-03-17 2:08 GMT+01:00 Eric Bavier : > On Thu, 16 Mar 2017 12:42:38 +0100 > Catonano 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 --001a1148fb7a34757f054aff9828 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2017-03-17 2:08 GMT+01:00 Eric Bavier &l= t;ericbavie= r@openmailbox.org>:
On Thu, 16= Mar 2017 12:42:38 +0100
Catonano <catonano@gmail.com&g= t; 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<= br> script-packages like this one.

Oh ok. G= ood to know. Thanks
=C2=A0

>
> $ guix import cpan xls2csv
> guix import: error: failed to download meta-data for package 'xls2= csv'

This is because "xls2csv" has no metadata on metacpan.org
=C2=A0
> 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 dec= laration
> in it
>
> My thing is not a package, it's a script, it has no namespace decl= aration,
> it's not in a folder

Is this common on CPAN?=C2=A0 Do you think it would be useful to imp= rove 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 so= me data stored in xsl files
=C2=A0

>
> How do I correctly call the importer on this ?

It can't work, yet.=C2=A0 You'll need to declare the package= manually.
Sorry.

Ok. Thank you, Eric
--001a1148fb7a34757f054aff9828--