public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-astronomy/sextractor: metadata.xml ChangeLog sextractor-2.8.6.ebuild sextractor-2.5.0.ebuild
@ 2012-04-26 16:35 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2012-04-26 16:35 UTC (permalink / raw
  To: gentoo-commits

jlec        12/04/26 16:35:35

  Modified:             metadata.xml ChangeLog sextractor-2.8.6.ebuild
  Removed:              sextractor-2.5.0.ebuild
  Log:
  sci-astronomy/sextractor: Move to EAPI=4 and autotools-util.eclass, Cleaned old
  
  (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  sci-astronomy/sextractor/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/sextractor/metadata.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/sextractor/metadata.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/sextractor/metadata.xml?r1=1.2&r2=1.3

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml	4 Aug 2011 18:32:38 -0000	1.2
+++ metadata.xml	26 Apr 2012 16:35:34 -0000	1.3
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci-astronomy</herd>
-<longdescription lang="en">
+	<herd>sci-astronomy</herd>
+	<longdescription lang="en">
   SExtractor (Source Extractor) is a program that builds a catalogue of
   objects from an astronomical image. Although it is particularly
   oriented towards reduction of large scale galaxy-survey data, it



1.4                  sci-astronomy/sextractor/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/sextractor/ChangeLog?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/sextractor/ChangeLog?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/sextractor/ChangeLog?r1=1.3&r2=1.4

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog	4 Aug 2011 18:32:38 -0000	1.3
+++ ChangeLog	26 Apr 2012 16:35:34 -0000	1.4
@@ -1,6 +1,10 @@
 # ChangeLog for sci-astronomy/sextractor
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/ChangeLog,v 1.3 2011/08/04 18:32:38 bicatali Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/ChangeLog,v 1.4 2012/04/26 16:35:34 jlec Exp $
+
+  26 Apr 2012; Justin Lecher <jlec@gentoo.org> -sextractor-2.5.0.ebuild,
+  sextractor-2.8.6.ebuild, metadata.xml:
+  Move to EAPI=4 and autotools-util.eclass, Cleaned old
 
   04 Aug 2011; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml:
   Switched herd to sci-astronomy



1.2                  sci-astronomy/sextractor/sextractor-2.8.6.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/sextractor/sextractor-2.8.6.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/sextractor/sextractor-2.8.6.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/sextractor/sextractor-2.8.6.ebuild?r1=1.1&r2=1.2

Index: sextractor-2.8.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/sextractor-2.8.6.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sextractor-2.8.6.ebuild	28 Jul 2009 17:39:02 -0000	1.1
+++ sextractor-2.8.6.ebuild	26 Apr 2012 16:35:34 -0000	1.2
@@ -1,12 +1,15 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/sextractor-2.8.6.ebuild,v 1.1 2009/07/28 17:39:02 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/sextractor/sextractor-2.8.6.ebuild,v 1.2 2012/04/26 16:35:34 jlec Exp $
 
-EAPI=2
-inherit eutils autotools
+EAPI=4
 
-DESCRIPTION="Extract catalogs of sources from astronomical FITS images."
-HOMEPAGE="http://astromatic.iap.fr/software/sextractor"
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-utils multilib
+
+DESCRIPTION="Extract catalogs of sources from astronomical FITS images"
+HOMEPAGE="http://astromatic.iap.fr/software/sextractor/"
 SRC_URI="ftp://ftp.iap.fr/pub/from_users/bertin/${PN}/${P}.tar.gz"
 
 LICENSE="CeCILL-2"
@@ -14,36 +17,37 @@
 KEYWORDS="~amd64 ~x86"
 IUSE="doc threads"
 
-RDEPEND="virtual/cblas
-	>=sci-libs/lapack-atlas-3.8.0
+RDEPEND="
+	virtual/cblas
+	sci-libs/lapack-atlas
 	sci-libs/fftw:3.0"
 DEPEND="${RDEPEND}"
 
+PATCHES=( "${FILESDIR}"/${PN}-configure.patch )
+
 src_prepare() {
-	epatch "${FILESDIR}"/${PN}-configure.patch
 	# gentoo uses cblas instead of ptcblas (linked to threaded with eselect)
-	sed -i \
+	sed \
 		-e 's/ptcblas/cblas/g' \
-		acx_atlas.m4 || die "sed acx_atlas.m4 failed"
-	eautoreconf
+		-i acx_atlas.m4 || die "sed acx_atlas.m4 failed"
+	autotools-utils_src_prepare
 }
 
 src_configure() {
-	econf \
-		--with-atlas="/usr/$(get_libdir)/lapack/atlas" \
+	local myeconfargs=(
+		--with-atlas="/usr/$(get_libdir)/lapack/atlas"
 		$(use_enable threads)
+		)
+	autotools-utils_src_configure
 }
 
 src_install () {
-	emake DESTDIR="${D}" install || die "emake install failed"
-	dodoc AUTHORS BUGS ChangeLog HISTORY README THANKS
-	CONFDIR=/usr/share/sextractor
-	insinto ${CONFDIR}
-	doins config/* || die
-	if use doc; then
-		insinto /usr/share/doc/${PF}
-		doins doc/* || die
-	fi
+	autotools-utils_src_install
+
+	insinto /usr/share/sextractor
+	doins config/*
+
+	use doc && dodoc doc/*
 }
 
 pkg_postinst() {






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-26 16:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-26 16:35 [gentoo-commits] gentoo-x86 commit in sci-astronomy/sextractor: metadata.xml ChangeLog sextractor-2.8.6.ebuild sextractor-2.5.0.ebuild Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox