public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
From: Matthew Summers <quantumsummers@gentoo.org>
To: Michael Cordingley <michael.cordingley@gmail.com>
Cc: gentoo-python@lists.gentoo.org
Subject: Re: [gentoo-python] Trying to write an ebuild
Date: Wed, 14 Dec 2011 17:01:06 -0600	[thread overview]
Message-ID: <CAET+hMSVH-UN9nNyiq1+Wmg0YGSTEj0YTHJ__pqzSWBizOr9vw@mail.gmail.com> (raw)
In-Reply-To: <CAHo3DsKGyOeM9mwz21pJtdJiDZx4WJhbk4jHV=cCeKy1woVcag@mail.gmail.com>

On Wed, Dec 14, 2011 at 2:55 PM, Michael Cordingley
<michael.cordingley@gmail.com> wrote:
> Hi there,
>
> I'm trying to create an ebuild for a package that isn't yet in
> Portage.  QuantLib-0.9.6 is currently in, but no bindings for it in
> any other languages are yet there, so I thought I'd try to write up an
> ebuild for the python bindings.  So far, the ebuild works, right up to
> the compile stage.  It fails there, and I can't figure out why.
>
> The output of the ebuild command can be found here: http://pastebin.com/a4Cx2AYi
> The current version of the ebuild is here: http://pastebin.com/PB0f1uSf
>
> The package that it downloads is a package of SWIG bindings for
> several different languages.  Doing the normal ./configure && make &&
> make install would try to build and install all of the bindings.  I'm
> trying to do ./configure && make -C Python && make install to build
> only the python bindings.  The idea is one package per set of
> bindings.  Any help would be much appreciated.  Thanks!
>

Hi there,

Might I suggest taking a look at another ebuild that builds swig
bindings for an example? Please take a look at
dev-libs/xapian-bindings, it sounds quite similar to what you may
need. As far as one package per binding, I think that its better
handled from within a single package, controlled by use flags to
enable the various desired bindings. Mainly this will ease maintenance
of the package down the line. The ebuild
dev-libs/xapian-bindings-1.2.8.ebuild in particular is a great
example.

HTH,
Matthew

-- 
Matthew W. Summers
Gentoo Foundation Inc.



      reply	other threads:[~2011-12-14 23:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-14 20:55 [gentoo-python] Trying to write an ebuild Michael Cordingley
2011-12-14 23:01 ` Matthew Summers [this message]

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=CAET+hMSVH-UN9nNyiq1+Wmg0YGSTEj0YTHJ__pqzSWBizOr9vw@mail.gmail.com \
    --to=quantumsummers@gentoo.org \
    --cc=gentoo-python@lists.gentoo.org \
    --cc=michael.cordingley@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox