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 B8D55138A1C for ; Thu, 13 Nov 2014 00:17:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4519AE08DC; Thu, 13 Nov 2014 00:17:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90013E08DA for ; Thu, 13 Nov 2014 00:17:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8FF1E34053E for ; Thu, 13 Nov 2014 00:17:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE3ADA05F for ; Thu, 13 Nov 2014 00:15:50 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1415804831.7e412f805a25a6838d6909eb1739c40f6bcf4636.ottxor@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/axiom/ X-VCS-Repository: proj/sci X-VCS-Files: sci-mathematics/axiom/ChangeLog sci-mathematics/axiom/axiom-201009.ebuild sci-mathematics/axiom/metadata.xml X-VCS-Directories: sci-mathematics/axiom/ X-VCS-Committer: ottxor X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: 7e412f805a25a6838d6909eb1739c40f6bcf4636 X-VCS-Branch: master Date: Thu, 13 Nov 2014 00:15:50 +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: e86d843a-3d00-493c-84c9-3cd17a7c7144 X-Archives-Hash: 8a9cbf1b792d6167c17b2c41deaefae0 commit: 7e412f805a25a6838d6909eb1739c40f6bcf4636 Author: Justin Lecher gentoo org> AuthorDate: Wed Nov 12 15:07:11 2014 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Wed Nov 12 15:07:11 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7e412f80 sci-mathematics/axiom: Bump to EAPI=5 Package-Manager: portage-2.2.14 --- sci-mathematics/axiom/ChangeLog | 6 +++++- sci-mathematics/axiom/axiom-201009.ebuild | 31 +++++++++++++------------------ sci-mathematics/axiom/metadata.xml | 2 +- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/sci-mathematics/axiom/ChangeLog b/sci-mathematics/axiom/ChangeLog index a8d64e4..42d2b2f 100644 --- a/sci-mathematics/axiom/ChangeLog +++ b/sci-mathematics/axiom/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for sci-mathematics/axiom -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/axiom/ChangeLog,v 1.22 2008/08/30 13:17:33 markusle Exp $ + 12 Nov 2014; Justin Lecher axiom-201009.ebuild, + metadata.xml: + Bump to EAPI=5 + 25 Jun 2011; Justin Lecher axiom-201009.ebuild, metadata.xml: RDEPEND is not explicitly assigned -> fixed diff --git a/sci-mathematics/axiom/axiom-201009.ebuild b/sci-mathematics/axiom/axiom-201009.ebuild index 6246371..58323f1 100644 --- a/sci-mathematics/axiom/axiom-201009.ebuild +++ b/sci-mathematics/axiom/axiom-201009.ebuild @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +EAPI=5 + inherit eutils flag-o-matic multilib DESCRIPTION="Axiom is a general purpose Computer Algebra system" @@ -57,10 +59,7 @@ S="${WORKDIR}"/${PN} # fi # } -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { ## How weird, axiom ships these patches, but does not apply them. ## So, we keep our gentoo patches around. cp "${FILESDIR}"/noweb-2.9-insecure-tmp-file.patch.input \ @@ -69,16 +68,13 @@ src_unpack() { # cp "${FILESDIR}"/${PN}-200711-gcl-configure.patch \ # "${S}"/zips/gcl-2.6.7.configure.in.patch \ # || die "Failed to fix gcl-2.6.7 configure" - epatch "${FILESDIR}"/noweb-2.9-insecure-tmp-file.Makefile.patch \ - || die "Failed to patch noweb security issue!" -} + epatch "${FILESDIR}"/noweb-2.9-insecure-tmp-file.Makefile.patch -src_compile() { # lots of strict-aliasing badness append-flags -fno-strict-aliasing +} - econf || die "Failed to configure" - +src_compile() { ## I believe 2.6.8_pre4 can be used now. # use gcl 2.6.7 # sed -e "s:GCLVERSION=gcl-2.6.8pre$:GCLVERSION=gcl-2.6.7:" \ @@ -94,22 +90,21 @@ src_compile() { unset ABI # Let the fun begin... - AXIOM="${S}"/mnt/linux emake -j1 || die "emake failed" + AXIOM="${S}"/mnt/linux emake -j1 } src_install() { - emake DESTDIR="${D}"/opt/axiom COMMAND="${D}"/opt/axiom/mnt/linux/bin/axiom install \ - || die 'Failed to install Axiom!' + emake DESTDIR="${ED}"/opt/axiom COMMAND="${ED}"/opt/axiom/mnt/linux/bin/axiom install - mv "${D}"/opt/axiom/mnt/linux/* "${D}"/opt/axiom \ + mv "${ED}"/opt/axiom/mnt/linux/* "${ED}"/opt/axiom \ || die "Failed to mv axiom into its final destination path." - rm -fr "${D}"/opt/axiom/mnt \ + rm -fr "${ED}"/opt/axiom/mnt \ || die "Failed to remove old directory." - dodir /usr/bin - dosym /opt/axiom/bin/axiom /usr/bin/axiom + dosym ../../axiom/bin/axiom /usr/bin/axiom - sed -e "2d;3i AXIOM=/opt/axiom" \ + sed \ + -e "2d;3i AXIOM=/opt/axiom" \ -i "${D}"/opt/axiom/bin/axiom \ || die "Failed to patch axiom runscript!" diff --git a/sci-mathematics/axiom/metadata.xml b/sci-mathematics/axiom/metadata.xml index 2b0bd53..66aa9fe 100644 --- a/sci-mathematics/axiom/metadata.xml +++ b/sci-mathematics/axiom/metadata.xml @@ -1,5 +1,5 @@ - sci-mathematics + sci-mathematics