diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-02-23 15:12:58 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-02-23 15:12:58 +0000 |
commit | 53db2e1567642fff9640be60a5d1fb5acefe267a (patch) | |
tree | 4f4790740cae3bbf65e4eb1b63bec70e033b0fb7 /sci-visualization | |
parent | use.local.desc: added numarray, root and fits use flags for (diff) | |
download | gentoo-2-53db2e1567642fff9640be60a5d1fb5acefe267a.tar.gz gentoo-2-53db2e1567642fff9640be60a5d1fb5acefe267a.tar.bz2 gentoo-2-53db2e1567642fff9640be60a5d1fb5acefe267a.zip |
hippodraw: initial import
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/hippodraw/ChangeLog | 10 | ||||
-rw-r--r-- | sci-visualization/hippodraw/Manifest | 16 | ||||
-rw-r--r-- | sci-visualization/hippodraw/files/digest-hippodraw-1.19.1 | 3 | ||||
-rw-r--r-- | sci-visualization/hippodraw/hippodraw-1.19.1.ebuild | 108 | ||||
-rw-r--r-- | sci-visualization/hippodraw/metadata.xml | 13 |
5 files changed, 150 insertions, 0 deletions
diff --git a/sci-visualization/hippodraw/ChangeLog b/sci-visualization/hippodraw/ChangeLog new file mode 100644 index 000000000000..00e1cf8ebc35 --- /dev/null +++ b/sci-visualization/hippodraw/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-visualization/hippodraw +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/ChangeLog,v 1.1 2007/02/23 15:12:58 bicatali Exp $ + +*hippodraw-1.19.1 (23 Feb 2007) + + 23 Feb 2007; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +hippodraw-1.19.1.ebuild: + Initial import, closing bug #65673. + diff --git a/sci-visualization/hippodraw/Manifest b/sci-visualization/hippodraw/Manifest new file mode 100644 index 000000000000..84ec2a24d921 --- /dev/null +++ b/sci-visualization/hippodraw/Manifest @@ -0,0 +1,16 @@ +DIST HippoDraw-1.19.1.tar.gz 8976924 RMD160 69027fda754d7781fc448ba12deab5318449047d SHA1 a57ee5b3d7d0d1d261de047153f43bd2068df085 SHA256 35769eea66bd722dde8c3b485501c03b74da40d30e32de5acf5e3e230984e0ec +EBUILD hippodraw-1.19.1.ebuild 2980 RMD160 433e8dae30bb710157ff7023559a40f3c5c582ce SHA1 a8e6d0d27685ee1119d0fc5432212584c31804fd SHA256 ac96e9297e7f77dfd122cd5c90c06a5097671f146bc5855eb492069ab1bf6dcd +MD5 e6647f41635f7a60509cb89f7771d6a5 hippodraw-1.19.1.ebuild 2980 +RMD160 433e8dae30bb710157ff7023559a40f3c5c582ce hippodraw-1.19.1.ebuild 2980 +SHA256 ac96e9297e7f77dfd122cd5c90c06a5097671f146bc5855eb492069ab1bf6dcd hippodraw-1.19.1.ebuild 2980 +MISC ChangeLog 298 RMD160 89f1ef332132bd8ca030a3044edcfbeda40474cb SHA1 704f5cb4ac0371ee5579dc2eacfa10100621bed2 SHA256 ceaf90f5df39032ac57d8ac6347f625e13e4ae08b9aea2116d1d33e764108f56 +MD5 16d635a1fe1b9b9e17183eee47d9dfc2 ChangeLog 298 +RMD160 89f1ef332132bd8ca030a3044edcfbeda40474cb ChangeLog 298 +SHA256 ceaf90f5df39032ac57d8ac6347f625e13e4ae08b9aea2116d1d33e764108f56 ChangeLog 298 +MISC metadata.xml 592 RMD160 a930a88494c3e3b40bbbcc5aeadc4bf64c02fa46 SHA1 608a96ba0462a4a0f76346ece11925e71e68b189 SHA256 f076f998c563efc29cffd0931db194ab2ca234321e2a0f92fe8ab01c37584fd1 +MD5 9472774fe747ae60339495cba381c74b metadata.xml 592 +RMD160 a930a88494c3e3b40bbbcc5aeadc4bf64c02fa46 metadata.xml 592 +SHA256 f076f998c563efc29cffd0931db194ab2ca234321e2a0f92fe8ab01c37584fd1 metadata.xml 592 +MD5 2d28722115162c965fcc16893b48c519 files/digest-hippodraw-1.19.1 253 +RMD160 f16a94ea12512f4797ccd240cb596687c57e025b files/digest-hippodraw-1.19.1 253 +SHA256 244f1bd230aeb69b3f6bd84dde18e473b6a6056e618f1123c2dcf9133f8068a8 files/digest-hippodraw-1.19.1 253 diff --git a/sci-visualization/hippodraw/files/digest-hippodraw-1.19.1 b/sci-visualization/hippodraw/files/digest-hippodraw-1.19.1 new file mode 100644 index 000000000000..3ef246c54b21 --- /dev/null +++ b/sci-visualization/hippodraw/files/digest-hippodraw-1.19.1 @@ -0,0 +1,3 @@ +MD5 e5b7a5547b78ff52a2844ff362d03f22 HippoDraw-1.19.1.tar.gz 8976924 +RMD160 69027fda754d7781fc448ba12deab5318449047d HippoDraw-1.19.1.tar.gz 8976924 +SHA256 35769eea66bd722dde8c3b485501c03b74da40d30e32de5acf5e3e230984e0ec HippoDraw-1.19.1.tar.gz 8976924 diff --git a/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild b/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild new file mode 100644 index 000000000000..f6f0c6f57d93 --- /dev/null +++ b/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild,v 1.1 2007/02/23 15:12:58 bicatali Exp $ + +inherit eutils qt3 + +MY_PN=HippoDraw + +DESCRIPTION="Highly interactive data analysis Qt environment for C++ and python" +HOMEPAGE="http://www.slac.stanford.edu/grp/ek/hippodraw/" +SRC_URI="ftp://ftp.slac.stanford.edu/users/pfkeb/${PN}/${MY_PN}-${PV}.tar.gz" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="root fits numarray doc" + +# minuit: included in root-5, but standalone cheaper to build +# qt4 not implemented: +# - won't work with sip on amd64 +# - is still under testing +# opengl: completely buggy +# wcslib: not yet implemented (wcslib has nasty build system) +# sip: still buggy (gcc411 issue?) + +RDEPEND=">=dev-lang/python-2.3 + >=dev-libs/boost-1.32 + $(qt_min_version 3.1) + numarray? ( dev-python/numarray ) + fits? ( sci-libs/cfitsio + numarray? ( dev-python/pyfits ) ) + !root? ( >=sci-libs/minuit-5 ) + root? ( >=sci-physics/root-5 )" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +S=${WORKDIR}/${MY_PN}-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + local docdir=/usr/share/doc/${PF} + # fix the install doc directory to gentoo's one + sed -i \ + -e "s:\$(pkgdatadir)/html:${docdir}/html:" \ + doc/Makefile.in + + # fix an extra DESTDIR inherited from Makefile.am + sed -i \ + -e "s:\$(DESTDIR)\$(pkgdatadir)/examples:${docdir}/examples:" \ + examples/Makefile.in + + # since we do not slot, remove version name in includes + sed -i \ + -e 's/$(pkgincludedir)-$(VERSION)/$(pkgincludedir)/' \ + */Makefile.in + + #if use sip; then + # sed -i \ + # -e "s:/usr/local:/usr:g"\ + # -e "" \ + # sip/Makefile.in + #fi +} + +src_compile() { + + local myconf="--with-boost-include=/usr/include" + myconf="${myconf} --with-Qt-include-dir=/usr/qt/3/include" + myconf="${myconf} --with-Qt-lib-dir=/usr/qt/3/$(get_libdir)" + myconf="${myconf} --with-Qt-bin-dir=/usr/qt/3/bin" + myconf="${myconf} --with-boost-lib=/usr/$(get_libdir)" + myconf="${myconf} --with-boost-libname=boost_python" + #built_with_use dev-libs/boost threads && myconf="${myconf}-mt" + + if use minuit && ! use root; then + myconf="${myconf} --with-minuit2-include=/usr/include" + myconf="${myconf} --with-minuit2-lib=/usr/$(get_libdir)" + fi + + if use root; then + myconf="${myconf} --with-root-include=/usr/include/root" + myconf="${myconf} --with-root-lib=/usr/$(get_libdir)/root" + fi + + if use fits; then + myconf="${myconf} --with-cfitsio-include=/usr/include" + myconf="${myconf} --with-cfitsio-lib=/usr/$(get_libdir)" + fi + + econf \ + $(use_enable numarray numarraybuild) \ + $(use_enable doc help) \ + ${myconf} || die "econf failed" + # qtui failed with -j2, so build it first with -j1 + emake -j1 -C qtui || die "make qtui failed" + emake || die "emake failed" + if use doc; then + make docs || die "make docs failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + make_desktop_entry hippodraw HippoDraw hippoApp \ + Science "/usr/share/${MY_PN}" + dodoc README DISCLAIMER.rtf +} diff --git a/sci-visualization/hippodraw/metadata.xml b/sci-visualization/hippodraw/metadata.xml new file mode 100644 index 000000000000..cc4b9a869ff4 --- /dev/null +++ b/sci-visualization/hippodraw/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<longdescription lang="en"> +HippoDraw provides a highly interactive data analysis environment. It +is written in C++ with the Qt library. HippoDraw can be used as a +stand-alone application or a Python extension module. In the latter +case, Python is effectively the scripting language for HippoDraw. It +was made for high energy astrophysics, but it is not specific. It +contains good support for histograms and fitting. +</longdescription> +</pkgmetadata> |