From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-science+bounces-788-garchives=archives.gentoo.org@lists.gentoo.org>) id 1LXjVo-0000dL-Bl for garchives@archives.gentoo.org; Thu, 12 Feb 2009 21:54:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9BEEE0566; Thu, 12 Feb 2009 21:54:22 +0000 (UTC) Received: from mail-bw0-f157.google.com (mail-bw0-f157.google.com [209.85.218.157]) by pigeon.gentoo.org (Postfix) with ESMTP id 47EF1E0566 for <gentoo-science@lists.gentoo.org>; Thu, 12 Feb 2009 21:54:22 +0000 (UTC) Received: by bwz1 with SMTP id 1so1426370bwz.10 for <gentoo-science@lists.gentoo.org>; Thu, 12 Feb 2009 13:54:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:subject:date :message-id:x-mailer; bh=XcAQaORiEOS5WRP1/afaoNrF6PqcWWjSGKI1SskRzjA=; b=K1vwop07QxzTgTzDdM58VUBXnPuM6QlSlG3DsaZOUlwUir7OG9Bzm2NPopvP4npgT9 cewLPhAHLQqAVIPYODQpZ2ND9a69j2P2KEgu/yi3L5LjknL4JRJfuJjZuJG3ZXhv+TRy 0cHaIOyJZoC39G2jlxVrkTw5Q63NsbvjR/Q1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer; b=LsOOLmD7nTbt8UF+O2306MYV+O+DSVkiGRitVwf+Keo5J1OMsm2bOLI+YxgYdxzXFo DwndvF36Hyh7KCxSLEdoEcSFl2gAHj3R2uxzjhVRAm4S1k18FyT+jGck3eSUP2uJj7Fl U4Npv1BSStUE1Ti2KIsZGYCExGO3YAjTnk0nQ= Received: by 10.103.228.7 with SMTP id f7mr669902mur.130.1234475660697; Thu, 12 Feb 2009 13:54:20 -0800 (PST) Received: from smtp.gmail.com ([87.110.109.82]) by mx.google.com with ESMTPS id y6sm937852mug.57.2009.02.12.13.54.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Feb 2009 13:54:20 -0800 (PST) Received: by smtp.gmail.com (sSMTP sendmail emulation); Thu, 12 Feb 2009 23:54:14 +0200 From: Reinis Danne <rei4dan@gmail.com> To: gentoo-science@lists.gentoo.org Subject: [gentoo-science] [PATCH] sci-chemistry/openbabel-2.2.0-r1: New ebuild with doxyfile patch, #212212 Date: Thu, 12 Feb 2009 23:54:14 +0200 Message-Id: <1234475654-20198-1-git-send-email-rei4dan@gmail.com> X-Mailer: git-send-email 1.6.0.6 Precedence: bulk List-Post: <mailto:gentoo-science@lists.gentoo.org> List-Help: <mailto:gentoo-science+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-science+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-science+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-science.gentoo.org> X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org X-Archives-Salt: bb031bc1-def8-48a5-9da2-39d62dbfa5b2 X-Archives-Hash: 3c3910c803c8f96939a69035bfc4d631 Added use flags doc (install API documentation) and zlib. --- sci-chemistry/openbabel/ChangeLog | 11 +++ sci-chemistry/openbabel/Manifest | 5 ++ .../openbabel/files/openbabel-2.2.0-doxyfile.patch | 27 ++++++++ sci-chemistry/openbabel/metadata.xml | 15 ++++ sci-chemistry/openbabel/openbabel-2.2.0-r1.ebuild | 68 ++++++++++++++++++++ 5 files changed, 126 insertions(+), 0 deletions(-) create mode 100644 sci-chemistry/openbabel/ChangeLog create mode 100644 sci-chemistry/openbabel/Manifest create mode 100644 sci-chemistry/openbabel/files/openbabel-2.2.0-doxyfile.patch create mode 100644 sci-chemistry/openbabel/metadata.xml create mode 100644 sci-chemistry/openbabel/openbabel-2.2.0-r1.ebuild diff --git a/sci-chemistry/openbabel/ChangeLog b/sci-chemistry/openbabel/ChangeLog new file mode 100644 index 0000000..1ffe227 --- /dev/null +++ b/sci-chemistry/openbabel/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-chemistry/openbabel +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*openbabel-2.2.0-r1 (10 Feb 2009) + + 10 Feb 2009; Reinis Danne <rei4dan@gmail.com> + +files/openbabel-2.2.0-doxyfile.patch, +metadata.xml, + +openbabel-2.2.0-r1.ebuild: + Added openbabel-2.2.0-r1.ebuild with a patch for doxyfile, #212212 + diff --git a/sci-chemistry/openbabel/Manifest b/sci-chemistry/openbabel/Manifest new file mode 100644 index 0000000..30ad295 --- /dev/null +++ b/sci-chemistry/openbabel/Manifest @@ -0,0 +1,5 @@ +AUX openbabel-2.2.0-doxyfile.patch 1074 RMD160 26a22e205fde6c778ed19e961e676d99f0ffa2a7 SHA1 89c68eab7c2f144bf664f1c8abb7322430893658 SHA256 28d8b3e4730bdd347ddb1a0bff238bf52b2eb591d23d693812d99bb02c7190ec +DIST openbabel-2.2.0.tar.gz 6127264 RMD160 ade8e65ab37278d9af3ff1b9cfb115437f52e0ea SHA1 5fdc084fb744d5dae4cd9ddbd52fe1f0c56c973b SHA256 a898b79336c7372c901bcc7e5f83db7b8e79f8e864be6a262f515b3e088bc607 +EBUILD openbabel-2.2.0-r1.ebuild 1484 RMD160 129bcff736c1c495e3381a53a181b412fe40e996 SHA1 6348606aa999c5cc434383e456d6dff46ced5316 SHA256 a34303fd5a0d918d4de612498f41f6a68dd25d070edf3324f4c0721e57485ec5 +MISC ChangeLog 363 RMD160 b2c4b7aea941258f4ba13d3fadafd17fbd2d1ec3 SHA1 9f7dc730012f98e2a5a9eca78a1c2b48decbfecb SHA256 059502c7cc3df61868b013a8670d3dc98b331959b54eb405bc76e4f45ffbff4e +MISC metadata.xml 607 RMD160 d7e3f2502a60cc150c4c5d5f6840c15bfa7b966a SHA1 33b8b1fcb16b9f73d0fa61993bc159fa7b9f2927 SHA256 788449f6eea9025ca31211e134c48b2bf713e5120c132420896ec51b354f1807 diff --git a/sci-chemistry/openbabel/files/openbabel-2.2.0-doxyfile.patch b/sci-chemistry/openbabel/files/openbabel-2.2.0-doxyfile.patch new file mode 100644 index 0000000..e54a530 --- /dev/null +++ b/sci-chemistry/openbabel/files/openbabel-2.2.0-doxyfile.patch @@ -0,0 +1,27 @@ +--- Doxyfile.orig 2008-07-01 20:55:40.000000000 +0300 ++++ Doxyfile 2009-02-10 01:30:56.000000000 +0200 +@@ -752,13 +752,13 @@ + # each generated HTML page. If it is left blank doxygen will generate a + # standard header. + +-HTML_HEADER = doc/api-header.html ++HTML_HEADER = + + # The HTML_FOOTER tag can be used to specify a personal HTML footer for + # each generated HTML page. If it is left blank doxygen will generate a + # standard footer. + +-HTML_FOOTER = doc/api-footer.html ++HTML_FOOTER = + + # The HTML_STYLESHEET tag can be used to specify a user-defined cascading + # style sheet that is used by each HTML page. It can be used to +@@ -767,7 +767,7 @@ + # the style sheet file to the HTML output directory, so don't put your own + # stylesheet in the HTML output directory as well, or it will be erased! + +-HTML_STYLESHEET = doc/api-style.css ++HTML_STYLESHEET = + + # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, + # files or namespaces will be aligned in HTML using tables. If set to diff --git a/sci-chemistry/openbabel/metadata.xml b/sci-chemistry/openbabel/metadata.xml new file mode 100644 index 0000000..79d6407 --- /dev/null +++ b/sci-chemistry/openbabel/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-chemistry</herd> + <longdescription> + Open Babel is a chemical toolbox designed to speak the many languages of + chemical data. It's an open, collaborative project allowing anyone to + search, convert, analyze, or store data from molecular modeling, chemistry, + solid-state materials, biochemistry, or related areas. + </longdescription> + <use> + <flag name='doc'>Install API documentation</flag> + <flag name='zlib'>Enable zlib support</flag> + </use> +</pkgmetadata> diff --git a/sci-chemistry/openbabel/openbabel-2.2.0-r1.ebuild b/sci-chemistry/openbabel/openbabel-2.2.0-r1.ebuild new file mode 100644 index 0000000..5116bba --- /dev/null +++ b/sci-chemistry/openbabel/openbabel-2.2.0-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=1 + +inherit eutils + +DESCRIPTION="interconverts file formats used in molecular modeling" +HOMEPAGE="http://openbabel.sourceforge.net/" +SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="doc +zlib" + +RDEPEND="!sci-chemistry/babel + >=dev-libs/libxml2-2.6.5 + zlib? ( sys-libs/zlib )" + +DEPEND="${RDEPEND} + >=dev-libs/boost-1.33.1 + dev-lang/perl + doc? ( app-doc/doxygen )" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-doxyfile.patch" || die "Failed to apply ${P}-doxyfile.patch" +} + +src_compile() { + econf \ + --enable-static \ + $(use_with zlib) \ + || die "econf failed" + emake || die "emake failed" + if use doc ; then + emake docs || "make docs failed" + fi +} + +src_test() { + emake check || die "make check failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS + cd doc + dohtml *.html *.png + dodoc *.inc README* *.inc *.mol2 + if use doc ;then + dodir /usr/share/doc/${PF}/API/html + insinto /usr/share/doc/${PF}/API/html + cd API/html + doins * + fi +} + +pkg_postinst() { + echo + elog "This version of OpenBabel includes InChI version 1 (software version" + elog "1.02_beta). It does not produce Standard InChI/InChIKey." + elog "To get Standard InChI/InChIKey software version 1.02 must be used." +} -- 1.6.0.6