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 1ROUzO-00076N-DC for garchives@archives.gentoo.org; Thu, 10 Nov 2011 13:48:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1938E0458; Thu, 10 Nov 2011 13:48:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7F8D7E0458 for ; Thu, 10 Nov 2011 13:48:14 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C0D251B4013 for ; Thu, 10 Nov 2011 13:48:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 8573D80052 for ; Thu, 10 Nov 2011 13:48:12 +0000 (UTC) From: "Reinis Danne" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Reinis Danne" Message-ID: <5d27fda0cc76781ef1f17c425cfb22d3e2000599.rei4dan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-perl/, sci-chemistry/openbabel-perl/files/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/openbabel-perl/ChangeLog sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.1-makefile.patch sci-chemistry/openbabel-perl/metadata.xml sci-chemistry/openbabel-perl/openbabel-perl-2.3.1.ebuild X-VCS-Directories: sci-chemistry/openbabel-perl/ sci-chemistry/openbabel-perl/files/ X-VCS-Committer: rei4dan X-VCS-Committer-Name: Reinis Danne X-VCS-Revision: 5d27fda0cc76781ef1f17c425cfb22d3e2000599 Date: Thu, 10 Nov 2011 13:48:12 +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: 2e63aa2d-253a-4b8f-9d97-1d669fd7b858 X-Archives-Hash: 45880f85cc4c85c3380b5cbec66c766a commit: 5d27fda0cc76781ef1f17c425cfb22d3e2000599 Author: Reinis Danne gmail com> AuthorDate: Thu Nov 10 13:42:52 2011 +0000 Commit: Reinis Danne gmail com> CommitDate: Thu Nov 10 13:42:52 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D5d27fda0 openbabel-perl: Version bump to 2.3.1 --- sci-chemistry/openbabel-perl/ChangeLog | 10 +++ .../files/openbabel-perl-2.3.1-makefile.patch | 9 +++ sci-chemistry/openbabel-perl/metadata.xml | 12 ++++ .../openbabel-perl/openbabel-perl-2.3.1.ebuild | 69 ++++++++++++++= ++++++ 4 files changed, 100 insertions(+), 0 deletions(-) diff --git a/sci-chemistry/openbabel-perl/ChangeLog b/sci-chemistry/openb= abel-perl/ChangeLog new file mode 100644 index 0000000..b6a2102 --- /dev/null +++ b/sci-chemistry/openbabel-perl/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sci-chemistry/openbabel-perl +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*openbabel-perl-2.3.1 (10 Nov 2011) + + 10 Nov 2011; Reinis Danne +openbabel-perl-2.3.1.eb= uild, + +files/openbabel-perl-2.3.1-makefile.patch, +metadata.xml: + Version bump to 2.3.1 + diff --git a/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.1-make= file.patch b/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.1-make= file.patch new file mode 100644 index 0000000..88248b4 --- /dev/null +++ b/sci-chemistry/openbabel-perl/files/openbabel-perl-2.3.1-makefile.pa= tch @@ -0,0 +1,9 @@ +--- scripts/perl/Makefile.PL ++++ scripts/perl/Makefile.PL +@@ -37,5 +37,6 @@ 'LDFROM' =3D> $ldfrom, + 'CC' =3D> $CC, + 'LD' =3D> '$(CC)', + 'INC' =3D> '-I../../include -I'.$cmakesrcdir.'/include', ++ 'DESTDIR' =3D> @ENV{"D"}, + 'OBJECT' =3D> 'openbabel-perl.o' + ); diff --git a/sci-chemistry/openbabel-perl/metadata.xml b/sci-chemistry/op= enbabel-perl/metadata.xml new file mode 100644 index 0000000..433cfe8 --- /dev/null +++ b/sci-chemistry/openbabel-perl/metadata.xml @@ -0,0 +1,12 @@ + + + + sci-chemistry + + OpenBabel is a chemical toolbox designed to speak the many languages o= f + chemical data. It's an open, collaborative project allowing anyone to + search, convert, analyze, or store data from molecular modeling, chemi= stry, + solid-state materials, biochemistry, or related areas. This package en= ables + to access OpenBabel library from Python programs. + + diff --git a/sci-chemistry/openbabel-perl/openbabel-perl-2.3.1.ebuild b/s= ci-chemistry/openbabel-perl/openbabel-perl-2.3.1.ebuild new file mode 100644 index 0000000..96f267f --- /dev/null +++ b/sci-chemistry/openbabel-perl/openbabel-perl-2.3.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-perl/openbabe= l-perl-2.3.0.ebuild,v 1.3 2011/03/29 06:00:42 jlec Exp $ + +EAPI=3D"3" + +inherit cmake-utils eutils perl-module + +DESCRIPTION=3D"Perl bindings for OpenBabel" +HOMEPAGE=3D"http://openbabel.sourceforge.net/" +SRC_URI=3D"mirror://sourceforge/openbabel/openbabel-${PV}.tar.gz" + +KEYWORDS=3D"~amd64 ~x86 ~amd64-linux ~x86-linux" +SLOT=3D"0" +LICENSE=3D"GPL-2" +IUSE=3D"" + +RDEPEND=3D" + dev-lang/perl + ~sci-chemistry/openbabel-${PV}" +DEPEND=3D"${RDEPEND} + >=3Ddev-lang/swig-2 + dev-util/cmake" + +S=3D"${WORKDIR}/openbabel-${PV}" + +src_prepare() { + epatch \ + "${FILESDIR}/${P}-makefile.patch" +} + +src_configure() { + local mycmakeargs=3D"-DPERL_BINDINGS=3DON" + mycmakeargs=3D"${mycmakeargs} + -DRUN_SWIG=3DON" + cmake-utils_src_configure +} + +src_compile() { + cd "${WORKDIR}/${P}_build/scripts" + perl-module_src_prep + perl-module_src_compile +} + +src_test() { + cd "${WORKDIR}/${P}_build/scripts" + emake test || die "make test failed" +} + +src_install() { + cd "${WORKDIR}/${P}_build/scripts/perl" + perl-module_src_install +} + +pkg_preinst() { + perl-module_pkg_preinst +} + +pkg_postinst() { + perl-module_pkg_postinst +} + +pkg_prerm() { + perl-module_pkg_prerm +} + +pkg_postrm() { + perl-module_pkg_postrm +}