unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Patches to add s3cmd and python-magic
Date: Mon, 28 Mar 2016 22:35:42 +0200	[thread overview]
Message-ID: <20160328223542.5c66e67e@scratchpost.org> (raw)
In-Reply-To: <87io071dqo.fsf@gmail.com>

> * Do I need to provide setuptools as a native input, or will it be
>   pulled in automatically?

I think you need to provide it. Try removing it. Does your package still build?

> * Does setuptools really need to be a native input, or can it be a
>   regular input?  I understand that native inputs are important for
>   cross-compiling, but does this apply to a language like Python which
>   compiles to bytecode for a virtual machine?

If it's used only at build time, it's a native input. If it's used at runtime, regular input (if possible).
I don't think setuptools is running when s3cmd is running, so just have it as a native input.

As for the cross-compiling, you're right, I don't think it's important in this case. 

However, I think for documentation purposes it would still be nice to see which of the things are required only for the build (the native inputs - after all, they wouldn't work at runtime in general).

> * In the package definition for python2-s3cmd, should python2-magic be a
>   propagated input instead of a regular input?  It seems to work as a
>   normal input, so I think the answer is "no", but I understand that
>   sometimes this matters for python packages.

If it works as a regular input, that's even better, so keep it only as regular input. Unfortunately, that's very seldom.

The propagated input would mean that when you ask for package A in your profile, you'd get package A and B in your profile, for your own good.

When testing s3cmd, make sure that python2-magic is not in your profile (for example installed manually via guix package -i python2-magic).

  reply	other threads:[~2016-03-28 20:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-28  3:29 Patches to add s3cmd and python-magic Chris Marusich
2016-03-28 20:35 ` Danny Milosavljevic [this message]
2016-03-29  5:37   ` Chris Marusich
2016-03-29  6:25     ` Chris Marusich
2016-03-29  7:17       ` Efraim Flashner
2016-03-29  7:35         ` Chris Marusich
2016-03-29 17:57       ` Leo Famulari
2016-03-30  8:17       ` Ludovic Courtès
2016-03-30 10:03         ` Chris Marusich
2016-03-30 20:58           ` Ludovic Courtès
2016-03-29  7:10     ` Efraim Flashner
2016-03-30  8:20 ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20160328223542.5c66e67e@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=cmmarusich@gmail.com \
    --cc=guix-devel@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 public inbox

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

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).