From: Sebastien Fabbro Date: Fri, 23 Feb 2007 15:12:58 +0000 (+0000) Subject: hippodraw: initial import X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=12ea8ef9a30220ddf14a0ed9b3ea8a683359cdce;p=gentoo.git hippodraw: initial import Package-Manager: portage-2.1.2-r9 --- 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 +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..d332d5d734fc --- /dev/null +++ b/sci-visualization/hippodraw/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST HippoDraw-1.19.1.tar.gz 8976924 RMD160 69027fda754d7781fc448ba12deab5318449047d SHA1 a57ee5b3d7d0d1d261de047153f43bd2068df085 SHA256 35769eea66bd722dde8c3b485501c03b74da40d30e32de5acf5e3e230984e0ec +EBUILD hippodraw-1.19.1.ebuild 3095 RMD160 a4ba66bce2b7fcbdb51dad7e57107efe15735cdb SHA1 2c839735d6da906db456c3e21c08c5df8bfe29e0 SHA256 fcfe6d6b011d3f367dc737d7b9f793739b2b11621c40af2e7733640a5f7f486a +MD5 8355080df946a82b2499ef05542cb0d4 hippodraw-1.19.1.ebuild 3095 +RMD160 a4ba66bce2b7fcbdb51dad7e57107efe15735cdb hippodraw-1.19.1.ebuild 3095 +SHA256 fcfe6d6b011d3f367dc737d7b9f793739b2b11621c40af2e7733640a5f7f486a hippodraw-1.19.1.ebuild 3095 +MISC ChangeLog 399 RMD160 8fea84c49b5773f95d461809d5cb7f4d4a1c35a9 SHA1 eac4ab058cb61df8d9a739bdd13f0fd19c49c004 SHA256 1fdf190bc7c91baf45fadc57740c2c67106883cd33477d0107aa7c9d616eca6a +MD5 1bddf3dff7a1cf5e82f1202c5b7ec9de ChangeLog 399 +RMD160 8fea84c49b5773f95d461809d5cb7f4d4a1c35a9 ChangeLog 399 +SHA256 1fdf190bc7c91baf45fadc57740c2c67106883cd33477d0107aa7c9d616eca6a ChangeLog 399 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFF3wSDWc/Ciu+QQGkRAv6XAKCXiDF5ZjcAPHbjPgvbHCX+W4lCCQCfVuRo +D6TxN2SSjr8CzHq2uGTmW5w= +=w0CR +-----END PGP SIGNATURE----- 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 @@ + + + +sci + +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. + +