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