I've got the ebuilds for dev-libs/mpfi and dev-python/PyDX working now. It would be nice if those could be added to the overlay.

I found some discussion about an ebuild for cctbx in the archives. Is there any news to this? I'm interested in this package as well.

With regards,
Jan

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils
inherit subversion

ESVN_REPO_URI="http://gr.anu.edu.au/svn/people/sdburton/pydx";
ESVN_PROJECT="pydx"

DESCRIPTION="Arbitrary precission and interval arithmetics for Python"
HOMEPAGE="http://gr.anu.edu.au/~sdburton/pydx/";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

S="${WORKDIR}/${PN}"

RDEPEND="virtual/python
        dev-python/gmpy
        >=dev-libs/mpfi-1.3.4"
DEPEND="${RDEPEND}"

PYTHON_MODNAME="pydx"

src_test() {
        cd ${S}
        pytest pydx
        cd ${S}/pydx
        pytest test/test_geodesic.py
        pytest test/test_metric.py
        pytest test/test_nops.py
        pytest test/test_curzon.py
        pytest test/test_interval.py
        pytest test/test_mjet.py
        pytest test/test_ode.py
        pytest test/test_field.py
        pytest test/test_manifold.py
        pytest test/test_mpfi.py
}

src_install() {
        cd "${S}"
        distutils_src_install   

        dohtml doc/* doc/api/*
        dodoc LICENSE README.txt
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="A portable library for arbitrary precision interval arithmetic 
using MPFR"
HOMEPAGE="http://perso.ens-lyon.fr/nathalie.revol/software.html";
SRC_URI="http://perso.ens-lyon.fr/nathalie.revol/softwares/${P}.tgz";

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=">=dev-libs/mpfr-2.2.0"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${P}-RC3

src_install() {
        emake \
                DESTDIR="${D}" \
                prefix=usr \
                libdir=usr/$(get_libdir) \
                install || die "emake install failed"
        dodoc ChangeLog AUTHORS INSTALL NEWS README
}

Reply via email to