From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B6B201387B2 for ; Mon, 6 Jan 2014 18:33:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A2B3E0B30; Mon, 6 Jan 2014 18:33:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BA884E0B16 for ; Mon, 6 Jan 2014 18:33:18 +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 D1F7C33F708 for ; Mon, 6 Jan 2014 18:33:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 5A63AE5533 for ; Mon, 6 Jan 2014 18:33:16 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1389030338.12a309486617ff69ab6955b8ba39f0a7998f33da.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/mtz2sca/ X-VCS-Repository: proj/sci X-VCS-Files: sci-chemistry/mtz2sca/ChangeLog sci-chemistry/mtz2sca/metadata.xml sci-chemistry/mtz2sca/mtz2sca-0.3.ebuild X-VCS-Directories: sci-chemistry/mtz2sca/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 12a309486617ff69ab6955b8ba39f0a7998f33da X-VCS-Branch: master Date: Mon, 6 Jan 2014 18:33:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: aaace71a-5098-4be7-b294-dcec06063f6c X-Archives-Hash: e872330c9b3589c4c6541058503ddd6d commit: 12a309486617ff69ab6955b8ba39f0a7998f33da Author: Justin Lecher gentoo org> AuthorDate: Mon Jan 6 17:45:38 2014 +0000 Commit: Justin Lecher gentoo org> CommitDate: Mon Jan 6 17:45:38 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=12a30948 sci-chemistry/mtz2sca: Punt base.eclass Package-Manager: portage-2.2.8 --- sci-chemistry/mtz2sca/ChangeLog | 6 +++++- sci-chemistry/mtz2sca/metadata.xml | 2 +- sci-chemistry/mtz2sca/mtz2sca-0.3.ebuild | 17 +++++++++-------- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/sci-chemistry/mtz2sca/ChangeLog b/sci-chemistry/mtz2sca/ChangeLog index d831c31..b3a6421 100644 --- a/sci-chemistry/mtz2sca/ChangeLog +++ b/sci-chemistry/mtz2sca/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for sci-chemistry/mtz2sca -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 06 Jan 2014; Justin Lecher mtz2sca-0.3.ebuild, + metadata.xml: + Punt base.eclass + *mtz2sca-0.3 (16 Jul 2009) 16 Jul 2009; Justin Lecher (jlec) diff --git a/sci-chemistry/mtz2sca/metadata.xml b/sci-chemistry/mtz2sca/metadata.xml index 9ac9ffd..51fdeda 100644 --- a/sci-chemistry/mtz2sca/metadata.xml +++ b/sci-chemistry/mtz2sca/metadata.xml @@ -1,5 +1,5 @@ -sci-chemistry + sci-chemistry diff --git a/sci-chemistry/mtz2sca/mtz2sca-0.3.ebuild b/sci-chemistry/mtz2sca/mtz2sca-0.3.ebuild index 67d7f36..ca18ba8 100644 --- a/sci-chemistry/mtz2sca/mtz2sca-0.3.ebuild +++ b/sci-chemistry/mtz2sca/mtz2sca-0.3.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit base toolchain-funcs +EAPI=5 + +inherit eutils toolchain-funcs DESCRIPTION="Converts CCP4 mtz-files containing anomalous data to Scalepack format" HOMEPAGE="http://shelx.uni-ac.gwdg.de/~tg/mtz2x/mtz2sca" @@ -18,18 +20,17 @@ DEPEND="${RDEPEND}" S="${WORKDIR}"/ -PATCHES=( - "${FILESDIR}"/${PV}-gentoo.patch - ) +src_prepare() { + epatch "${FILESDIR}"/${PV}-gentoo.patch +} src_compile() { emake \ CXX=$(tc-getCXX) \ CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" || \ - die "compilation failed" + LDFLAGS="${LDFLAGS}" } src_install() { - dobin ${PN} || die "installation of ${PN} failed" + dobin ${PN} }