public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-astronomy/sextractor/
@ 2020-09-22 10:12 Aisha Tammy
  0 siblings, 0 replies; 8+ messages in thread
From: Aisha Tammy @ 2020-09-22 10:12 UTC (permalink / raw
  To: gentoo-commits

commit:     b7974a5c19ce434e371dcbc1f1fd64e5c513464e
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Sep 22 10:12:29 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Sep 22 10:12:46 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b7974a5c

sci-astronomy/sextractor: drop package

present in ::gentoo

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 sci-astronomy/sextractor/metadata.xml           | 22 ---------
 sci-astronomy/sextractor/sextractor-9999.ebuild | 66 -------------------------
 2 files changed, 88 deletions(-)

diff --git a/sci-astronomy/sextractor/metadata.xml b/sci-astronomy/sextractor/metadata.xml
deleted file mode 100644
index 9564e71e6..000000000
--- a/sci-astronomy/sextractor/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>sci-astronomy@gentoo.org</email>
-		<name>Gentoo Astronomy Project</name>
-	</maintainer>
-	<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
-performs rather well on moderately crowded star fields. It has the
-ability to automatically separate stars and galaxy using neural
-networks.
-</longdescription>
-	<use>
-		<flag name="modelfit">
-Enable profile model fitting, needs <pkg>sci-libs/atlas</pkg>
-and <pkg>sci-libs/fftw</pkg>
-</flag>
-	</use>
-</pkgmetadata>

diff --git a/sci-astronomy/sextractor/sextractor-9999.ebuild b/sci-astronomy/sextractor/sextractor-9999.ebuild
deleted file mode 100644
index 2837c4ab3..000000000
--- a/sci-astronomy/sextractor/sextractor-9999.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit subversion autotools
-
-ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk"
-ESVN_OPTIONS="--trust-server-cert-failures=unknown-ca"
-SRC_URI=""
-KEYWORDS=""
-
-DESCRIPTION="Extract catalogs of sources from astronomical FITS images"
-HOMEPAGE="http://www.astromatic.net/software/sextractor"
-
-LICENSE="GPL-3"
-SLOT="0"
-
-IUSE="doc modelfit test threads"
-
-RDEPEND="
-	modelfit? ( sci-libs/atlas[lapack,threads=] sci-libs/fftw:3.0 )"
-DEPEND="${RDEPEND}"
-
-REQUIRED_USE="test? ( modelfit )"
-
-src_prepare() {
-	default
-	if use modelfit; then
-		local mycblas=atlcblas myclapack=atlclapack
-		if use threads; then
-			[[ -e "${EPREFIX}"/usr/$(get_libdir)/libptcblas.so ]] && \
-				mycblas=ptcblas
-			[[ -e "${EPREFIX}"/usr/$(get_libdir)/libptclapack.so ]] && \
-			myclapack=ptclapack
-		fi
-		sed -i \
-			-e "s/-lcblas/-l${mycblas}/g" \
-			-e "s/AC_CHECK_LIB(cblas/AC_CHECK_LIB(${mycblas}/g" \
-			-e "s/-llapack/-l${myclapack}/g" \
-			-e "s/AC_CHECK_LIB(lapack/AC_CHECK_LIB(${myclapack}/g" \
-			acx_atlas.m4 || die
-		eautoreconf
-	fi
-	subversion_src_prepare
-}
-
-src_configure() {
-	econf \
-		--with-atlas-incdir="${EPREFIX}/usr/include/atlas" \
-		$(use_enable modelfit model-fitting) \
-		$(use_enable threads)
-}
-
-src_install () {
-	default
-	CONFDIR=/usr/share/sextractor
-	insinto ${CONFDIR}
-	doins config/*
-	use doc && dodoc doc/*
-}
-
-pkg_postinst() {
-	elog "SExtractor examples configuration files are located in"
-	elog "${EROOT%/}/${CONFDIR} and are not loaded anymore by default."
-}


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-astronomy/sextractor/
@ 2016-03-14  2:17 Christoph Junghans
  0 siblings, 0 replies; 8+ messages in thread
From: Christoph Junghans @ 2016-03-14  2:17 UTC (permalink / raw
  To: gentoo-commits

commit:     e4aa90fea599d5fcc9d00ba612f9d409d209fec9
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  3 17:38:19 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 21:04:08 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e4aa90fe

sci-astronomy/sextractor: testing needs modelfit

 sci-astronomy/sextractor/sextractor-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-astronomy/sextractor/sextractor-9999.ebuild b/sci-astronomy/sextractor/sextractor-9999.ebuild
index 7c29244..dd4014d 100644
--- a/sci-astronomy/sextractor/sextractor-9999.ebuild
+++ b/sci-astronomy/sextractor/sextractor-9999.ebuild
@@ -17,12 +17,14 @@ HOMEPAGE="http://www.astromatic.net/software/sextractor"
 LICENSE="GPL-3"
 SLOT="0"
 
-IUSE="doc modelfit threads"
+IUSE="doc modelfit test threads"
 
 RDEPEND="
 	modelfit? ( sci-libs/atlas[lapack,threads=] sci-libs/fftw:3.0 )"
 DEPEND="${RDEPEND}"
 
+REQUIRED_USE="test? ( modelfit )"
+
 src_prepare() {
 	default
 	if use modelfit; then


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-astronomy/sextractor/
@ 2014-03-22  9:45 Justin Lecher
  0 siblings, 0 replies; 8+ messages in thread
From: Justin Lecher @ 2014-03-22  9:45 UTC (permalink / raw
  To: gentoo-commits

commit:     a74a6ca3bed3b68808cde534675ae986f296af0e
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 21 16:55:23 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Mar 22 09:44:41 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a74a6ca3

sci-astronomy/sextractor: Add new version linked to live one

Package-Manager: portage-2.2.8-prefix

---
 sci-astronomy/sextractor/ChangeLog                | 6 ++++++
 sci-astronomy/sextractor/sextractor-2.19.5.ebuild | 1 +
 sci-astronomy/sextractor/sextractor-9999.ebuild   | 6 +++---
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/sci-astronomy/sextractor/ChangeLog b/sci-astronomy/sextractor/ChangeLog
index b5426c1..29d2adc 100644
--- a/sci-astronomy/sextractor/ChangeLog
+++ b/sci-astronomy/sextractor/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 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 $
 
+*sextractor-2.19.5 (21 Mar 2014)
+
+  21 Mar 2014; Sébastien Fabbro <bicatali@gentoo.org> +sextractor-2.19.5.ebuild,
+  sextractor-9999.ebuild:
+  sci-astronomy/sextractor: Add new version linked to live one
+
   27 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org>
   sextractor-2.8.6-r1.ebuild, sextractor-9999.ebuild:
   sci-astronomy/sextractor: EAPI-5, autotools-utils, missing threads on atlas

diff --git a/sci-astronomy/sextractor/sextractor-2.19.5.ebuild b/sci-astronomy/sextractor/sextractor-2.19.5.ebuild
new file mode 120000
index 0000000..8b8a275
--- /dev/null
+++ b/sci-astronomy/sextractor/sextractor-2.19.5.ebuild
@@ -0,0 +1 @@
+sextractor-9999.ebuild
\ No newline at end of file

diff --git a/sci-astronomy/sextractor/sextractor-9999.ebuild b/sci-astronomy/sextractor/sextractor-9999.ebuild
index 0e8f58a..747a681 100644
--- a/sci-astronomy/sextractor/sextractor-9999.ebuild
+++ b/sci-astronomy/sextractor/sextractor-9999.ebuild
@@ -5,7 +5,7 @@
 EAPI=5
 
 if [[ ${PV} == "9999" ]] ; then
-	_SVN=subversion
+	inherit subversion
 	ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk"
 	SRC_URI=""
 	KEYWORDS=""
@@ -16,7 +16,7 @@ fi
 
 AUTOTOOLS_IN_SOURCE_BUILD=1
 
-inherit ${_SVN} autotools-utils multilib
+inherit autotools-utils multilib
 
 DESCRIPTION="Extract catalogs of sources from astronomical FITS images"
 HOMEPAGE="http://www.astromatic.net/software/sextractor"
@@ -69,5 +69,5 @@ src_install () {
 
 pkg_postinst() {
 	elog "SExtractor examples configuration files are located in"
-	elog "${EROOT}/${CONFDIR} and are not loaded anymore by default."
+	elog "${EROOT%/}/${CONFDIR} and are not loaded anymore by default."
 }


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-astronomy/sextractor/
@ 2014-03-21 17:10 Sebastien Fabbro
  0 siblings, 0 replies; 8+ messages in thread
From: Sebastien Fabbro @ 2014-03-21 17:10 UTC (permalink / raw
  To: gentoo-commits

commit:     dd98f95dfe01afa431ece680fe3ff37dd3dacca1
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 21 16:55:23 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Mar 21 16:55:23 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=dd98f95d

sci-astronomy/sextractor: Add new version linked to live one

Package-Manager: portage-2.2.8-prefix

---
 sci-astronomy/sextractor/ChangeLog                | 6 ++++++
 sci-astronomy/sextractor/sextractor-2.19.5.ebuild | 1 +
 sci-astronomy/sextractor/sextractor-9999.ebuild   | 6 +++---
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/sci-astronomy/sextractor/ChangeLog b/sci-astronomy/sextractor/ChangeLog
index b5426c1..29d2adc 100644
--- a/sci-astronomy/sextractor/ChangeLog
+++ b/sci-astronomy/sextractor/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2014 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 $
 
+*sextractor-2.19.5 (21 Mar 2014)
+
+  21 Mar 2014; Sébastien Fabbro <bicatali@gentoo.org> +sextractor-2.19.5.ebuild,
+  sextractor-9999.ebuild:
+  sci-astronomy/sextractor: Add new version linked to live one
+
   27 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org>
   sextractor-2.8.6-r1.ebuild, sextractor-9999.ebuild:
   sci-astronomy/sextractor: EAPI-5, autotools-utils, missing threads on atlas

diff --git a/sci-astronomy/sextractor/sextractor-2.19.5.ebuild b/sci-astronomy/sextractor/sextractor-2.19.5.ebuild
new file mode 120000
index 0000000..8b8a275
--- /dev/null
+++ b/sci-astronomy/sextractor/sextractor-2.19.5.ebuild
@@ -0,0 +1 @@
+sextractor-9999.ebuild
\ No newline at end of file

diff --git a/sci-astronomy/sextractor/sextractor-9999.ebuild b/sci-astronomy/sextractor/sextractor-9999.ebuild
index 0e8f58a..747a681 100644
--- a/sci-astronomy/sextractor/sextractor-9999.ebuild
+++ b/sci-astronomy/sextractor/sextractor-9999.ebuild
@@ -5,7 +5,7 @@
 EAPI=5
 
 if [[ ${PV} == "9999" ]] ; then
-	_SVN=subversion
+	inherit subversion
 	ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk"
 	SRC_URI=""
 	KEYWORDS=""
@@ -16,7 +16,7 @@ fi
 
 AUTOTOOLS_IN_SOURCE_BUILD=1
 
-inherit ${_SVN} autotools-utils multilib
+inherit autotools-utils multilib
 
 DESCRIPTION="Extract catalogs of sources from astronomical FITS images"
 HOMEPAGE="http://www.astromatic.net/software/sextractor"
@@ -69,5 +69,5 @@ src_install () {
 
 pkg_postinst() {
 	elog "SExtractor examples configuration files are located in"
-	elog "${EROOT}/${CONFDIR} and are not loaded anymore by default."
+	elog "${EROOT%/}/${CONFDIR} and are not loaded anymore by default."
 }


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-astronomy/sextractor/
@ 2014-02-27 23:01 Sebastien Fabbro
  0 siblings, 0 replies; 8+ messages in thread
From: Sebastien Fabbro @ 2014-02-27 23:01 UTC (permalink / raw
  To: gentoo-commits

commit:     2b1acdb3de802ef762b5bc586e10a97a736dd7bb
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 27 20:56:51 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Feb 27 20:56:51 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2b1acdb3

use multilib

---
 sci-astronomy/sextractor/sextractor-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-astronomy/sextractor/sextractor-9999.ebuild b/sci-astronomy/sextractor/sextractor-9999.ebuild
index c09faac..b393225 100644
--- a/sci-astronomy/sextractor/sextractor-9999.ebuild
+++ b/sci-astronomy/sextractor/sextractor-9999.ebuild
@@ -16,7 +16,7 @@ fi
 
 AUTOTOOLS_IN_SOURCE_BUILD=1
 
-inherit ${_SVN} autotools-utils
+inherit ${_SVN} autotools-utils multilib
 
 DESCRIPTION="Extract catalogs of sources from astronomical FITS images"
 HOMEPAGE="http://www.astromatic.net/software/sextractor"


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-astronomy/sextractor/
@ 2014-02-27 23:01 Sebastien Fabbro
  0 siblings, 0 replies; 8+ messages in thread
From: Sebastien Fabbro @ 2014-02-27 23:01 UTC (permalink / raw
  To: gentoo-commits

commit:     29d454bb00cf20c670b64ac4c265ce36dc38bcfa
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 27 19:57:47 2014 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu Feb 27 19:57:47 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=29d454bb

sci-astronomy/sextractor: EAPI-5, autotools-utils, missing threads on atlas

Package-Manager: portage-2.2.8-prefix

---
 sci-astronomy/sextractor/ChangeLog                 |  7 +++++--
 .../sextractor/sextractor-2.8.6-r1.ebuild          |  5 +++--
 sci-astronomy/sextractor/sextractor-9999.ebuild    | 22 ++++++++++++++--------
 3 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/sci-astronomy/sextractor/ChangeLog b/sci-astronomy/sextractor/ChangeLog
index fc4b8f9..b5426c1 100644
--- a/sci-astronomy/sextractor/ChangeLog
+++ b/sci-astronomy/sextractor/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-astronomy/sextractor
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 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 $
 
+  27 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org>
+  sextractor-2.8.6-r1.ebuild, sextractor-9999.ebuild:
+  sci-astronomy/sextractor: EAPI-5, autotools-utils, missing threads on atlas
+
 *sextractor-9999 (04 Jul 2012)
 
   04 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org>
@@ -51,4 +55,3 @@
 	
   26 Nov 2005; Sebastien Fabbro <seb@ist.utl.pt> +sextractor-2.4.4.ebuild:
   Initial import. Close bug #65684
-

diff --git a/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild b/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
index f6e4a0c..e70d3e3 100644
--- a/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
+++ b/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 inherit eutils autotools
 
 DESCRIPTION="Extract catalogs of sources from astronomical FITS images"
@@ -14,7 +14,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc threads"
 
-RDEPEND="sci-libs/atlas[lapack]
+RDEPEND="
+	sci-libs/atlas[lapack]
 	sci-libs/fftw:3.0"
 DEPEND="${RDEPEND}"
 

diff --git a/sci-astronomy/sextractor/sextractor-9999.ebuild b/sci-astronomy/sextractor/sextractor-9999.ebuild
index d79f690..c09faac 100644
--- a/sci-astronomy/sextractor/sextractor-9999.ebuild
+++ b/sci-astronomy/sextractor/sextractor-9999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
 if [[ ${PV} == "9999" ]] ; then
 	_SVN=subversion
@@ -14,7 +14,9 @@ else
 	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 fi
 
-inherit ${_SVN} autotools
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit ${_SVN} autotools-utils
 
 DESCRIPTION="Extract catalogs of sources from astronomical FITS images"
 HOMEPAGE="http://www.astromatic.net/software/sextractor"
@@ -24,7 +26,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc modelfit threads"
 
-RDEPEND="modelfit? ( sci-libs/atlas[lapack] sci-libs/fftw:3.0 )"
+RDEPEND="
+	modelfit? ( sci-libs/atlas[lapack,threads=] sci-libs/fftw:3.0 )"
 DEPEND="${RDEPEND}"
 
 src_prepare() {
@@ -42,19 +45,22 @@ src_prepare() {
 			-e "s/-llapack/-l${myclapack}/g" \
 			-e "s/AC_CHECK_LIB(lapack/AC_CHECK_LIB(${myclapack}/g" \
 			acx_atlas.m4 || die
-		eautoreconf
+		AUTOTOOLS_AUTORECONF=1
 	fi
+	autotools-utils_src_prepare
 }
 
 src_configure() {
-	econf \
-		--with-atlas-incdir="${EPREFIX}/usr/include/atlas" \
-		$(use_enable modelfit model-fitting) \
+	local myeconfargs=(
+		--with-atlas-incdir="${EPREFIX}/usr/include/atlas"
+		$(use_enable modelfit model-fitting)
 		$(use_enable threads)
+	)
+	autotools-utils_src_configure
 }
 
 src_install () {
-	default
+	autotools-utils_src_install
 	CONFDIR=/usr/share/sextractor
 	insinto ${CONFDIR}
 	doins config/*


^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-astronomy/sextractor/
@ 2012-07-04 22:42 Sebastien Fabbro
  0 siblings, 0 replies; 8+ messages in thread
From: Sebastien Fabbro @ 2012-07-04 22:42 UTC (permalink / raw
  To: gentoo-commits

commit:     018d507719c494e925789f30e6a73b28a66942b5
Author:     Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Wed Jul  4 22:26:10 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Jul  4 22:26:10 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=018d5077

sci-astronomy/sextractor: cblas -> atlas

---
 .../sextractor/sextractor-2.8.6-r1.ebuild          |    3 +--
 sci-astronomy/sextractor/sextractor-9999.ebuild    |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild b/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
index 53aead8..89e04ce 100644
--- a/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
+++ b/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
@@ -14,8 +14,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc threads"
 
-RDEPEND="virtual/cblas
-	sci-libs/atlas[lapack]
+RDEPEND="sci-libs/atlas[lapack]
 	sci-libs/fftw:3.0"
 DEPEND="${RDEPEND}"
 

diff --git a/sci-astronomy/sextractor/sextractor-9999.ebuild b/sci-astronomy/sextractor/sextractor-9999.ebuild
index 5185640..f723b7b 100644
--- a/sci-astronomy/sextractor/sextractor-9999.ebuild
+++ b/sci-astronomy/sextractor/sextractor-9999.ebuild
@@ -24,7 +24,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc modelfit threads"
 
-RDEPEND="modelfit? ( virtual/cblas sci-libs/atlas[lapack] sci-libs/fftw:3.0 )"
+RDEPEND="modelfit? ( sci-libs/atlas[lapack] sci-libs/fftw:3.0 )"
 DEPEND="${RDEPEND}"
 
 src_prepare() {



^ permalink raw reply related	[flat|nested] 8+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-astronomy/sextractor/
@ 2012-07-04 22:42 Sebastien Fabbro
  0 siblings, 0 replies; 8+ messages in thread
From: Sebastien Fabbro @ 2012-07-04 22:42 UTC (permalink / raw
  To: gentoo-commits

commit:     a68ef808d8313cc867af31052cf10883ef328d29
Author:     Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Wed Jul  4 21:14:48 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed Jul  4 21:14:48 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a68ef808

sci-astronomy/sextractor: Live version, introduced prefix love

---
 sci-astronomy/sextractor/ChangeLog                 |    8 ++-
 sci-astronomy/sextractor/metadata.xml              |    6 ++
 .../sextractor/sextractor-2.8.6-r1.ebuild          |   14 +++--
 sci-astronomy/sextractor/sextractor-9999.ebuild    |   67 ++++++++++++++++++++
 4 files changed, 88 insertions(+), 7 deletions(-)

diff --git a/sci-astronomy/sextractor/ChangeLog b/sci-astronomy/sextractor/ChangeLog
index 67fe448..fc4b8f9 100644
--- a/sci-astronomy/sextractor/ChangeLog
+++ b/sci-astronomy/sextractor/ChangeLog
@@ -1,7 +1,13 @@
 # ChangeLog for sci-astronomy/sextractor
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 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 $
 
+*sextractor-9999 (04 Jul 2012)
+
+  04 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org>
+  sextractor-2.8.6-r1.ebuild, +sextractor-9999.ebuild, metadata.xml:
+  Live version, introduced prefix love
+
 *sextractor-2.8.6-r1 (28 Nov 2011)
 
   28 Nov 2011; Sébastien Fabbro <bicatali@gentoo.org>

diff --git a/sci-astronomy/sextractor/metadata.xml b/sci-astronomy/sextractor/metadata.xml
index 8b8931e..49bc757 100644
--- a/sci-astronomy/sextractor/metadata.xml
+++ b/sci-astronomy/sextractor/metadata.xml
@@ -10,4 +10,10 @@
   ability to automatically separate stars and galaxy using neural
   networks.
 </longdescription>
+<use>
+<flag name='modelfit'>
+  Enable profile model fitting, needs <pkg>sci-libs/atlas</pkg>
+  and <pkg>sci-libs/fftw</pkg>
+</flag>
+</use>
 </pkgmetadata>

diff --git a/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild b/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
index 1db0e06..53aead8 100644
--- a/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
+++ b/sci-astronomy/sextractor/sextractor-2.8.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -11,7 +11,7 @@ SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
 
 LICENSE="CeCILL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc threads"
 
 RDEPEND="virtual/cblas
@@ -23,8 +23,10 @@ src_prepare() {
 	epatch "${FILESDIR}"/${PN}-configure.patch
 	local mycblas=atlcblas  myclapack=atlclapack
 	if use threads; then
-		[[ -e ${EPREFIX}/usr/$(get_libdir)/libptcblas.so ]] && mycblas=ptcblas
-		[[ -e ${EPREFIX}/usr/$(get_libdir)/libptclapack.so ]] && myclapack=ptclapack
+		[[ -e "${EPREFIX}"/usr/$(get_libdir)/libptcblas.so ]] && \
+			mycblas=ptcblas
+		[[ -e "${EPREFIX}"/usr/$(get_libdir)/libptclapack.so ]] && \
+			myclapack=ptclapack
 	fi
 	sed -i \
 		-e "s/-lcblas/-l${mycblas}/g" \
@@ -50,6 +52,6 @@ src_install () {
 }
 
 pkg_postinst() {
-	elog "SExtractor examples configuration files are located"
-	elog "in ${EROOT}/${CONFDIR} and are not loaded anymore by default."
+	elog "SExtractor examples configuration files are located in"
+	elog "${EROOT}/${CONFDIR} and are not loaded anymore by default."
 }

diff --git a/sci-astronomy/sextractor/sextractor-9999.ebuild b/sci-astronomy/sextractor/sextractor-9999.ebuild
new file mode 100644
index 0000000..5185640
--- /dev/null
+++ b/sci-astronomy/sextractor/sextractor-9999.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+if [[ ${PV} == "9999" ]] ; then
+	_SVN=subversion
+	ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk"
+	SRC_URI=""
+	KEYWORDS=""
+else
+	SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
+	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+inherit ${_SVN} autotools
+
+DESCRIPTION="Extract catalogs of sources from astronomical FITS images"
+HOMEPAGE="http://www.astromatic.net/software/sextractor"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc modelfit threads"
+
+RDEPEND="modelfit? ( virtual/cblas sci-libs/atlas[lapack] sci-libs/fftw:3.0 )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	if use modelfit; then
+		local mycblas=atlcblas myclapack=atlclapack
+		if use threads; then
+			[[ -e "${EPREFIX}"/usr/$(get_libdir)/libptcblas.so ]] && \
+				mycblas=ptcblas
+			[[ -e "${EPREFIX}"/usr/$(get_libdir)/libptclapack.so ]] && \
+			myclapack=ptclapack
+		fi
+		sed -i \
+			-e "s/-lcblas/-l${mycblas}/g" \
+			-e "s/AC_CHECK_LIB(cblas/AC_CHECK_LIB(${mycblas}/g" \
+			-e "s/-llapack/-l${myclapack}/g" \
+			-e "s/AC_CHECK_LIB(lapack/AC_CHECK_LIB(${myclapack}/g" \
+			acx_atlas.m4 || die
+		eautoreconf
+	fi
+}
+
+src_configure() {
+	econf \
+		--with-atlas-incdir="${EPREFIX}/usr/include/atlas" \
+		$(use_enable modelfit model-fitting) \
+		$(use_enable threads)
+}
+
+src_install () {
+	default
+	CONFDIR=/usr/share/sextractor
+	insinto ${CONFDIR}
+	doins config/*
+	use doc && dodoc doc/*
+}
+
+pkg_postinst() {
+	elog "SExtractor examples configuration files are located in"
+	elog "${EROOT}/${CONFDIR} and are not loaded anymore by default."
+}



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-09-22 10:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-22 10:12 [gentoo-commits] proj/sci:master commit in: sci-astronomy/sextractor/ Aisha Tammy
  -- strict thread matches above, loose matches on Subject: below --
2016-03-14  2:17 Christoph Junghans
2014-03-22  9:45 Justin Lecher
2014-03-21 17:10 Sebastien Fabbro
2014-02-27 23:01 Sebastien Fabbro
2014-02-27 23:01 Sebastien Fabbro
2012-07-04 22:42 Sebastien Fabbro
2012-07-04 22:42 Sebastien Fabbro

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