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 1Q3AlG-0005ZC-1T for garchives@archives.gentoo.org; Fri, 25 Mar 2011 17:25:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63E351C062; Fri, 25 Mar 2011 17:25:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 21C931C062 for ; Fri, 25 Mar 2011 17:25:10 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 807C71B400F for ; Fri, 25 Mar 2011 17:25:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 0F7AD80073 for ; Fri, 25 Mar 2011 17:25:08 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <4b9a52429274209b0427bf2a1f8ada8949c291dd.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/openbabel-perl/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/openbabel-perl/ChangeLog sci-chemistry/openbabel-perl/openbabel-perl-2.2.1.ebuild sci-chemistry/openbabel-perl/openbabel-perl-2.2.2.ebuild sci-chemistry/openbabel-perl/openbabel-perl-2.2.3.ebuild sci-chemistry/openbabel-perl/openbabel-perl-2.3.0.ebuild X-VCS-Directories: sci-chemistry/openbabel-perl/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 4b9a52429274209b0427bf2a1f8ada8949c291dd Date: Fri, 25 Mar 2011 17:25:08 +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: X-Archives-Hash: f371a21ce034a5ac5358c2dcb83c3c33 commit: 4b9a52429274209b0427bf2a1f8ada8949c291dd Author: Justin Lecher gentoo org> AuthorDate: Fri Mar 25 17:24:51 2011 +0000 Commit: Justin Lecher gentoo org> CommitDate: Fri Mar 25 17:24:51 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D4b9a5242 Semi broken perl support for openbael (Portage version: 2.2.0_alpha28/git/Linux x86_64, signed Manifest commit = with key 70EB7916) --- sci-chemistry/openbabel-perl/ChangeLog | 10 +++++- ...rl-2.2.1.ebuild =3D> openbabel-perl-2.2.3.ebuild} | 10 +++--- ...rl-2.2.2.ebuild =3D> openbabel-perl-2.3.0.ebuild} | 39 ++++++++----= -------- 3 files changed, 29 insertions(+), 30 deletions(-) diff --git a/sci-chemistry/openbabel-perl/ChangeLog b/sci-chemistry/openb= abel-perl/ChangeLog index f37f90a..456d006 100644 --- a/sci-chemistry/openbabel-perl/ChangeLog +++ b/sci-chemistry/openbabel-perl/ChangeLog @@ -1,7 +1,15 @@ # ChangeLog for sci-chemistry/openbabel-perl -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ =20 +*openbabel-perl-2.3.0 (25 Mar 2011) +*openbabel-perl-2.2.3 (25 Mar 2011) + + 25 Mar 2011; Justin Lecher -openbabel-perl-2.2.1.ebu= ild, + -openbabel-perl-2.2.2.ebuild, +openbabel-perl-2.2.3.ebuild, + +openbabel-perl-2.3.0.ebuild: + Semi broken perl support for openbael + 10 Jul 2010; Andreas K. Huettel (dilfridge) -openbabel-perl-2.2.0.ebuild, openbabel-perl-2.2.1.ebuild, openbabel-perl-2.2.2.ebuild: diff --git a/sci-chemistry/openbabel-perl/openbabel-perl-2.2.1.ebuild b/s= ci-chemistry/openbabel-perl/openbabel-perl-2.2.3.ebuild similarity index 89% rename from sci-chemistry/openbabel-perl/openbabel-perl-2.2.1.ebuild rename to sci-chemistry/openbabel-perl/openbabel-perl-2.2.3.ebuild index 85fb387..45ada92 100644 --- a/sci-chemistry/openbabel-perl/openbabel-perl-2.2.1.ebuild +++ b/sci-chemistry/openbabel-perl/openbabel-perl-2.2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ =20 @@ -13,11 +13,11 @@ SLOT=3D"0" LICENSE=3D"GPL-2" IUSE=3D"swig" =20 -RDEPEND=3D"~sci-chemistry/openbabel-${PV} - dev-lang/perl" - +RDEPEND=3D" + dev-lang/perl + ~sci-chemistry/openbabel-${PV}" DEPEND=3D"${RDEPEND} - swig? ( >=3Ddev-lang/swig-1.3.38 )" + swig? ( dev-lang/swig )" =20 src_unpack() { unpack ${A} diff --git a/sci-chemistry/openbabel-perl/openbabel-perl-2.2.2.ebuild b/s= ci-chemistry/openbabel-perl/openbabel-perl-2.3.0.ebuild similarity index 53% rename from sci-chemistry/openbabel-perl/openbabel-perl-2.2.2.ebuild rename to sci-chemistry/openbabel-perl/openbabel-perl-2.3.0.ebuild index 2eac693..0a0a667 100644 --- a/sci-chemistry/openbabel-perl/openbabel-perl-2.2.2.ebuild +++ b/sci-chemistry/openbabel-perl/openbabel-perl-2.3.0.ebuild @@ -1,55 +1,46 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ =20 -inherit eutils perl-module +EAPI=3D"3" + +inherit cmake-utils eutils perl-module =20 DESCRIPTION=3D"Perl bindings for OpenBabel" HOMEPAGE=3D"http://openbabel.sourceforge.net/" SRC_URI=3D"mirror://sourceforge/openbabel/openbabel-${PV}.tar.gz" =20 -KEYWORDS=3D"~amd64" +#KEYWORDS=3D"~amd64 ~x86 ~amd64-linux ~x86-linux" SLOT=3D"0" LICENSE=3D"GPL-2" IUSE=3D"swig" =20 -RDEPEND=3D"~sci-chemistry/openbabel-${PV} - dev-lang/perl" - +RDEPEND=3D" + dev-lang/perl + ~sci-chemistry/openbabel-${PV}" DEPEND=3D"${RDEPEND} - swig? ( >=3Ddev-lang/swig-1.3.39 )" + swig? ( dev-lang/swig )" =20 -src_unpack() { - unpack ${A} S=3D"${WORKDIR}/openbabel-${PV}" - cd "${S}" =20 - econf \ - $(use_enable swig maintainer-mode) \ - --enable-static \ - || die "econf failed" - S=3D"${S}/scripts" - cd "${S}" - if use swig ; then - emake -W openbabel-perl.i perl/openbabel_perl.cpp \ - || die "Failed to make SWIG perl bindings" - fi - S=3D"${S}/perl" - cd "${S}" - epatch "${FILESDIR}/${P}-makefile.patch" \ - || die "Failed to apply ${P}-makefile.patch" +src_configure() { + local mycmakeargs=3D"-DPERL_BINDINGS=3DON $(cmake-utils_use_enable swig= RUN_SWIG)" + cmake-utils_src_configure } =20 src_compile() { + cd "${WORKDIR}/${P}_build/scripts" perl-module_src_prep perl-module_src_compile } =20 src_test() { + cd "${WORKDIR}/${P}_build/scripts" emake test || die "make test failed" } =20 src_install() { + cd "${WORKDIR}/${P}_build/scripts" perl-module_src_install } =20