From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SV9zf-00041G-PM for garchives@archives.gentoo.org; Thu, 17 May 2012 23:20:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68BB9E079D; Thu, 17 May 2012 23:20:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 24FF2E079D for ; Thu, 17 May 2012 23:20:20 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 254EE1B403A for ; Thu, 17 May 2012 23:20:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 21574E5429 for ; Thu, 17 May 2012 23:20:15 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1337296788.d419e8bce2437211842deccfba7b54c389765046.bicatali@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/zebra/ X-VCS-Repository: proj/sci X-VCS-Files: sci-astronomy/zebra/ChangeLog sci-astronomy/zebra/metadata.xml sci-astronomy/zebra/zebra-1.01.ebuild X-VCS-Directories: sci-astronomy/zebra/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: d419e8bce2437211842deccfba7b54c389765046 X-VCS-Branch: master Date: Thu, 17 May 2012 23:20:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 32d070ef-beff-4b09-8316-0dcc08d201c3 X-Archives-Hash: 9863f56e93d0567b669f7d22b780436a commit: d419e8bce2437211842deccfba7b54c389765046 Author: S=C3=A9bastien Fabbro gmail com> AuthorDate: Thu May 17 23:19:48 2012 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Thu May 17 23:19:48 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3Dd419e8bc sci-astronomy/zebra: Initial import (Portage version: 2.1.10.60/git/Linux x86_64, unsigned Manifest commit) --- sci-astronomy/zebra/ChangeLog | 10 +++++++ sci-astronomy/zebra/metadata.xml | 22 +++++++++++++++++ sci-astronomy/zebra/zebra-1.01.ebuild | 43 +++++++++++++++++++++++++++= ++++++ 3 files changed, 75 insertions(+), 0 deletions(-) diff --git a/sci-astronomy/zebra/ChangeLog b/sci-astronomy/zebra/ChangeLo= g new file mode 100644 index 0000000..72dc7db --- /dev/null +++ b/sci-astronomy/zebra/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-astronomy/zebra +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*zebra-1.01 (17 May 2012) + + 17 May 2012; S=C3=A9bastien Fabbro +metadata.xml= , + +zebra-1.01.ebuild: + sci-astronomy/zebra: Initial import + diff --git a/sci-astronomy/zebra/metadata.xml b/sci-astronomy/zebra/metad= ata.xml new file mode 100644 index 0000000..b8ef7bb --- /dev/null +++ b/sci-astronomy/zebra/metadata.xml @@ -0,0 +1,22 @@ + + + +sci-astronomy + + The Zurich Extragalactic Bayesian Redshift Analyzer is a software to + compute and analyze photometric redshifts of galaxies. + ZEBRA combines and extends several of the classical approaches to + produce accurate photometric redshifts down to faint magnitudes. In + particular, ZEBRA uses the template-fitting approach to produce + Maximum Likelihood and Bayesian redshift estimates based on: + * An automatic iterative technique to correct the original set of + galaxy templates to best represent the SEDs of real galaxies at + different redshifts; + * A training set of spectroscopic redshifts for a small fraction of + the photometric sample, to improve the robustness of the + photometric redshift estimates; and + * An iterative technique for Bayesian redshift estimates, which + extracts the full two-dimensional redshift and template likelihood + function for each galaxy. + + diff --git a/sci-astronomy/zebra/zebra-1.01.ebuild b/sci-astronomy/zebra/= zebra-1.01.ebuild new file mode 100644 index 0000000..7463821 --- /dev/null +++ b/sci-astronomy/zebra/zebra-1.01.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D4 + +inherit autotools-utils + +DESCRIPTION=3D"Galaxy redhift Bayesian analyzer" +HOMEPAGE=3D"http://www.astro.phys.ethz.ch/exgal_ocosm/zebra/index.html" +SRC_URI=3D"http://www.astro.phys.ethz.ch/exgal_ocosm/zebra/tar/${P}.tar.= gz" + +LICENSE=3D"GPL-3" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"doc examples" + +RDEPEND=3D"sci-libs/gsl + sci-libs/lapackpp + virtual/blas + virtual/cblas + virtual/lapack" + +DEPEND=3D"${RDEPEND} + virtual/pkgconfig" + +src_configure() { + myeconfargs+=3D( + --with-blas=3D"$(pkg-config --libs blas)" + --with-cblas=3D"$(pkg-config --libs cblas)" + --with-lapack=3D"$(pkg-config --libs lapack)" + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + use doc && dodoc doc/*.pdf + if use examples; then + insinto /usr/share/doc/${PF} + doins -r scripts examples + fi +}