summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-21 10:19:33 +0000
committerJustin Lecher <jlec@gentoo.org>2011-06-21 10:19:33 +0000
commit0fb782d4b8829bdb77ec5b6550556a66cb8dec3e (patch)
treee7064379a984bcefefeede5d908211ddd020273c /sci-mathematics
parentFix fortran-2.eclass support (diff)
downloadgentoo-2-0fb782d4b8829bdb77ec5b6550556a66cb8dec3e.tar.gz
gentoo-2-0fb782d4b8829bdb77ec5b6550556a66cb8dec3e.tar.bz2
gentoo-2-0fb782d4b8829bdb77ec5b6550556a66cb8dec3e.zip
Added fortran-2.eclass support
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/dataplot/ChangeLog8
-rw-r--r--sci-mathematics/dataplot/dataplot-20080225.ebuild21
-rw-r--r--sci-mathematics/dataplot/dataplot-20090821.ebuild19
3 files changed, 29 insertions, 19 deletions
diff --git a/sci-mathematics/dataplot/ChangeLog b/sci-mathematics/dataplot/ChangeLog
index 399d186d7294..baf6c7092b4a 100644
--- a/sci-mathematics/dataplot/ChangeLog
+++ b/sci-mathematics/dataplot/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/dataplot
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/ChangeLog,v 1.10 2010/12/16 15:26:57 jlec Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/ChangeLog,v 1.11 2011/06/21 10:19:33 jlec Exp $
+
+ 21 Jun 2011; Justin Lecher <jlec@gentoo.org> dataplot-20080225.ebuild,
+ dataplot-20090821.ebuild:
+ Added fortran-2.eclass support
16 Dec 2010; Justin Lecher <jlec@gentoo.org> dataplot-20080225.ebuild:
Removal of fortran.eclass, #348851
diff --git a/sci-mathematics/dataplot/dataplot-20080225.ebuild b/sci-mathematics/dataplot/dataplot-20080225.ebuild
index e9714697a8eb..7415e7371d67 100644
--- a/sci-mathematics/dataplot/dataplot-20080225.ebuild
+++ b/sci-mathematics/dataplot/dataplot-20080225.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/dataplot-20080225.ebuild,v 1.8 2010/12/16 15:26:57 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/dataplot-20080225.ebuild,v 1.9 2011/06/21 10:19:33 jlec Exp $
-EAPI="2"
-inherit eutils toolchain-funcs autotools
+EAPI=2
+
+inherit eutils fortran-2 toolchain-funcs autotools
# DAY MONTH YEAR
MY_PV=${PV:4:2}_${PV:6:2}_${PV:0:4}
@@ -12,15 +13,17 @@ MY_P_AUX=dplib.${MY_PV}
DESCRIPTION="A program for scientific visualization and statistical analyis"
HOMEPAGE="http://www.itl.nist.gov/div898/software/dataplot/"
-SRC_URI="ftp://ftp.nist.gov/pub/dataplot/unix/dpsrc.${MY_PV}.tar.gz
+SRC_URI="
+ ftp://ftp.nist.gov/pub/dataplot/unix/dpsrc.${MY_PV}.tar.gz
ftp://ftp.nist.gov/pub/dataplot/unix/dplib.${MY_PV}.tar.gz"
-LICENSE="public-domain"
SLOT="0"
+LICENSE="public-domain"
KEYWORDS="~amd64 ~x86"
IUSE="examples gd gs opengl X"
-COMMON_DEPEND="opengl? ( virtual/opengl )
+COMMON_DEPEND="
+ opengl? ( virtual/opengl )
gd? ( media-libs/gd[png,jpeg] )
gs? ( app-text/ghostscript-gpl media-libs/gd[png,jpeg] )"
DEPEND="${COMMON_DEPEND}
@@ -35,9 +38,9 @@ src_unpack() {
# unpacking and renaming because
# upstream does not use directories
mkdir "${S_AUX}"
- pushd "${S_AUX}"
+ pushd "${S_AUX}" > /dev/null
unpack ${MY_P_AUX}.tar.gz
- popd
+ popd > /dev/null
mkdir ${MY_P}
cd "${S}"
unpack ${MY_P}.tar.gz
diff --git a/sci-mathematics/dataplot/dataplot-20090821.ebuild b/sci-mathematics/dataplot/dataplot-20090821.ebuild
index c1d817eb85a5..a84918df95f5 100644
--- a/sci-mathematics/dataplot/dataplot-20090821.ebuild
+++ b/sci-mathematics/dataplot/dataplot-20090821.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/dataplot-20090821.ebuild,v 1.1 2010/07/23 18:28:47 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/dataplot-20090821.ebuild,v 1.2 2011/06/21 10:19:33 jlec Exp $
EAPI=3
-inherit eutils toolchain-funcs autotools
+
+inherit eutils fortran-2 toolchain-funcs autotools
# YEAR MONTH DAY
MY_PV=${PV:0:4}_${PV:4:2}_${PV:6:2}
@@ -14,15 +15,17 @@ MY_P_AUX=dplib.${MY_PV_AUX}
DESCRIPTION="A program for scientific visualization and statistical analyis"
HOMEPAGE="http://www.itl.nist.gov/div898/software/dataplot/"
-SRC_URI="ftp://ftp.nist.gov/pub/dataplot/unix/${MY_P}.tar.gz
+SRC_URI="
+ ftp://ftp.nist.gov/pub/dataplot/unix/${MY_P}.tar.gz
ftp://ftp.nist.gov/pub/dataplot/unix/${MY_P_AUX}.tar.gz"
-LICENSE="public-domain"
SLOT="0"
+LICENSE="public-domain"
KEYWORDS="~amd64 ~x86"
IUSE="examples gd opengl X"
-COMMON_DEPEND="media-libs/plotutils
+COMMON_DEPEND="
+ media-libs/plotutils
opengl? ( virtual/opengl )
gd? ( media-libs/gd[png,jpeg] )"
DEPEND="${COMMON_DEPEND}
@@ -37,9 +40,9 @@ src_unpack() {
# unpacking and renaming because
# upstream does not use directories
mkdir "${S_AUX}"
- pushd "${S_AUX}"
+ pushd "${S_AUX}" > /dev/null
unpack ${MY_P_AUX}.tar.gz
- popd
+ popd > /dev/null
mkdir ${MY_P}
cd "${S}"
unpack ${MY_P}.tar.gz