public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] Interval arithmetics with Python
@ 2008-02-12 20:47 Jan Marten Simons
  2008-02-25 19:41 ` Jan Marten Simons
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Marten Simons @ 2008-02-12 20:47 UTC (permalink / raw
  To: gentoo-science

Hi,

I'm interested in doing interval arithmetics with python. I stumbled 
upon PyDx which can use mpfi for this. (mpfi itself uses mpfr, which is 
in portage). Additionally PyDx is using GMPy, which is also in portage.

So has anyone here bothered to write ebuilds for mpfi and PyDx, yet?

With regards,
Jan
-- 
gentoo-science@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] Interval arithmetics with Python
  2008-02-12 20:47 [gentoo-science] Interval arithmetics with Python Jan Marten Simons
@ 2008-02-25 19:41 ` Jan Marten Simons
  2008-02-28 16:22   ` Jan Marten Simons
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Marten Simons @ 2008-02-25 19:41 UTC (permalink / raw
  To: gentoo-science

Jan Marten Simons schrieb:
> I'm interested in doing interval arithmetics with python. I stumbled 
> upon PyDx which can use mpfi for this. (mpfi itself uses mpfr, which is 
> in portage). Additionally PyDx is using GMPy, which is also in portage.
> So has anyone here bothered to write ebuilds for mpfi and PyDx, yet?

I did an ebuild for mpfi by now ( http://phpfi.com/298847 ), but I need 
some help with the ebuild for PyDX ( http://phpfi.com/298845 ):

During install I get "access denied" errors and I don't know how I can 
tell setup.py to install into the sandboxed directory (image).

With regards,
Jan

-- 
gentoo-science@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] Interval arithmetics with Python
  2008-02-25 19:41 ` Jan Marten Simons
@ 2008-02-28 16:22   ` Jan Marten Simons
  2008-02-29 19:29     ` [gentoo-science] cctbx and crystallography Donnie Berkholz
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Marten Simons @ 2008-02-28 16:22 UTC (permalink / raw
  To: gentoo-science

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

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


[-- Attachment #2: PyDX-9999.ebuild --]
[-- Type: text/plain, Size: 982 bytes --]

# 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
}

[-- Attachment #3: mpfi-1.3.4.ebuild --]
[-- Type: text/plain, Size: 661 bytes --]

# 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
}

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-science] cctbx and crystallography
  2008-02-28 16:22   ` Jan Marten Simons
@ 2008-02-29 19:29     ` Donnie Berkholz
  0 siblings, 0 replies; 4+ messages in thread
From: Donnie Berkholz @ 2008-02-29 19:29 UTC (permalink / raw
  To: gentoo-science

On 17:22 Thu 28 Feb     , Jan Marten Simons wrote:
> 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.

Not really any news, although I'm also interested in it. More generally, 
there's a new contributor who has recently posted ebuilds for a number 
of crystallography packages on bugzilla. The 2xxxxx bugs in this list 
(created by pybugz) are all his:

donnie@comet $ bugz search -a maintainer-wanted --cc sci-chemistry
 * Using http://bugs.gentoo.org/
 * Searching for bugs with the following options:
 *    assigned_to          = maintainer-wanted
 *    cc                   = sci-chemistry
 175014 maintainer-wanted    sci-chemistry/gelemental (new ebuild)
 178156 maintainer-wanted    sci-chemistry/molsketch-0.1.1 (New Package)
 209120 maintainer-wanted    sci-chemistry/xds-20071206 new ebuild
 209122 maintainer-wanted    sci-chemistry/solve-resolve-2.13 new ebuild
 209124 maintainer-wanted    sci-chemistry/cara-1.8.4 new ebuild
 209160 maintainer-wanted    sci-chemistry/hkl2map-0.2 new ebuild
 209161 maintainer-wanted    sci-libs/msms-2.6.1 new ebuild
 209970 maintainer-wanted    sci-chemistry/pymol-plugins-0.1 new ebuild
 210617 maintainer-wanted    sci-chemistry/ccpnmr-1.0.15 (new ebuild)


I'm doing some cctbx development, so I might end up trying to make an 
ebuild for it. It uses scons and has pretty complex settings, which 
makes it more painful.

Thanks,
Donnie
-- 
gentoo-science@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-29 19:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-12 20:47 [gentoo-science] Interval arithmetics with Python Jan Marten Simons
2008-02-25 19:41 ` Jan Marten Simons
2008-02-28 16:22   ` Jan Marten Simons
2008-02-29 19:29     ` [gentoo-science] cctbx and crystallography Donnie Berkholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox