all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Bavier <ericbavier@openmailbox.org>
To: Catonano <catonano@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: a perl package
Date: Thu, 16 Mar 2017 20:08:28 -0500	[thread overview]
Message-ID: <20170316200828.3c0bce97@openmailbox.org> (raw)
In-Reply-To: <CAJ98PDx-ti8N-6aqZnzNFaROwdvh4zEw=zpMNiTugsLDJQayUg@mail.gmail.com>

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

  reply	other threads:[~2017-03-17  1:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16 11:42 a perl package Catonano
2017-03-17  1:08 ` Eric Bavier [this message]
2017-03-18 11:28   ` Catonano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170316200828.3c0bce97@openmailbox.org \
    --to=ericbavier@openmailbox.org \
    --cc=catonano@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.