diff options
author | Thomas Anderson <gentoofan23@gentoo.org> | 2009-02-20 17:36:44 +0000 |
---|---|---|
committer | Thomas Anderson <gentoofan23@gentoo.org> | 2009-02-20 17:36:44 +0000 |
commit | cc7cd4a51170daeb819448e9325e7ae6d2ed97ab (patch) | |
tree | 8e9cebfb44a2bd805ed3ceeba87c7b305daec554 /sci-mathematics/dataplot | |
parent | Add patch for ICQ charset stuff, bug #235541 (diff) | |
download | gentoo-2-cc7cd4a51170daeb819448e9325e7ae6d2ed97ab.tar.gz gentoo-2-cc7cd4a51170daeb819448e9325e7ae6d2ed97ab.tar.bz2 gentoo-2-cc7cd4a51170daeb819448e9325e7ae6d2ed97ab.zip |
Migrate to EAPI 2 use deps
Diffstat (limited to 'sci-mathematics/dataplot')
-rw-r--r-- | sci-mathematics/dataplot/ChangeLog | 8 | ||||
-rw-r--r-- | sci-mathematics/dataplot/dataplot-20080225.ebuild | 23 |
2 files changed, 12 insertions, 19 deletions
diff --git a/sci-mathematics/dataplot/ChangeLog b/sci-mathematics/dataplot/ChangeLog index 5a17e4f07fcb..fdd4247ecd3f 100644 --- a/sci-mathematics/dataplot/ChangeLog +++ b/sci-mathematics/dataplot/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-mathematics/dataplot -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/ChangeLog,v 1.5 2008/08/06 20:23:22 ulm Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/ChangeLog,v 1.6 2009/02/20 17:36:44 gentoofan23 Exp $ + + 20 Feb 2009; Thomas Anderson <gentoofan23@gentoo.org> + dataplot-20080225.ebuild: + Migrate to EAPI 2 use deps 06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: Add USE flag description to metadata wrt GLEP 56. diff --git a/sci-mathematics/dataplot/dataplot-20080225.ebuild b/sci-mathematics/dataplot/dataplot-20080225.ebuild index 9c29323d32b9..31302ccb8c14 100644 --- a/sci-mathematics/dataplot/dataplot-20080225.ebuild +++ b/sci-mathematics/dataplot/dataplot-20080225.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 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.4 2008/07/01 23:17:05 gentoofan23 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/dataplot-20080225.ebuild,v 1.5 2009/02/20 17:36:44 gentoofan23 Exp $ +EAPI="2" inherit eutils toolchain-funcs autotools fortran # DAY MONTH YEAR @@ -20,8 +21,8 @@ KEYWORDS="~amd64 ~x86" IUSE="examples gd gs opengl X" COMMON_DEPEND="opengl? ( virtual/opengl ) - gd? ( media-libs/gd ) - gs? ( virtual/ghostscript media-libs/gd )" + gd? ( media-libs/gd[png,jpeg] ) + gs? ( virtual/ghostscript media-libs/gd[png,jpeg] )" DEPEND="${COMMON_DEPEND} dev-util/pkgconfig" RDEPEND="${COMMON_DEPEND} @@ -30,19 +31,7 @@ RDEPEND="${COMMON_DEPEND} S="${WORKDIR}/${MY_P}" S_AUX="${WORKDIR}/${MY_P_AUX}" -pkg_setup() { - #Dataplot requires media-libs/gd to be built with USE="png jpeg" - if use gd || use gs; then - if ! built_with_use -a media-libs/gd png jpeg; then - eerror "media-libs/gd is not compiled with USE=\"png jpeg\"" - eerror "Please recompile media-libs/gd, ensuring USE=\"png jpeg\"" - die - fi - fi - ##FIXME: Just gfortran for now, I'll get to testing g77 later - FORTRAN="gfortran" - fortran_pkg_setup -} +FORTRAN="gfortran" src_unpack() { # unpacking and renaming because |