Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/sextractor/
Date: Sun, 04 Oct 2020 13:23:48
Message-Id: 1601817676.bf00502a799f08bcd5a4e8bccce30037389590cd.soap@gentoo
1 commit: bf00502a799f08bcd5a4e8bccce30037389590cd
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 13:21:16 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 13:21:16 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf00502a
7
8 sci-astronomy/sextractor: Remove old
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 sci-astronomy/sextractor/sextractor-2.19.5.ebuild | 73 -----------------------
14 1 file changed, 73 deletions(-)
15
16 diff --git a/sci-astronomy/sextractor/sextractor-2.19.5.ebuild b/sci-astronomy/sextractor/sextractor-2.19.5.ebuild
17 deleted file mode 100644
18 index ada0e42fda4..00000000000
19 --- a/sci-astronomy/sextractor/sextractor-2.19.5.ebuild
20 +++ /dev/null
21 @@ -1,73 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -AUTOTOOLS_AUTO_DEPEND=no
28 -
29 -inherit autotools
30 -
31 -DESCRIPTION="Extract catalogs of sources from astronomical FITS images"
32 -HOMEPAGE="http://www.astromatic.net/software/sextractor"
33 -SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
34 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
35 -
36 -LICENSE="GPL-3"
37 -SLOT="0"
38 -
39 -IUSE="doc modelfit test threads"
40 -RESTRICT="!test? ( test )"
41 -
42 -RDEPEND="
43 - modelfit? ( sci-libs/atlas[lapack,threads=] sci-libs/fftw:3.0 )"
44 -DEPEND="${RDEPEND}
45 - modelfit? ( ${AUTOTOOLS_DEPEND} )"
46 -
47 -REQUIRED_USE="test? ( modelfit )"
48 -
49 -PATCHES=(
50 - "${FILESDIR}/${P}-fix-format-errors.patch"
51 - "${FILESDIR}/${P}-have-malloc.patch"
52 - "${FILESDIR}/${P}-have-mmap.patch"
53 - "${FILESDIR}/${P}-sigbus.patch"
54 -)
55 -
56 -src_prepare() {
57 - default
58 - if use modelfit; then
59 - local mycblas=atlcblas myclapack=atlclapack
60 - if use threads; then
61 - [[ -e "${EPREFIX}"/usr/$(get_libdir)/libptcblas.so ]] && \
62 - mycblas=ptcblas
63 - [[ -e "${EPREFIX}"/usr/$(get_libdir)/libptclapack.so ]] && \
64 - myclapack=ptclapack
65 - fi
66 - sed -i \
67 - -e "s/-lcblas/-l${mycblas}/g" \
68 - -e "s/AC_CHECK_LIB(cblas/AC_CHECK_LIB(${mycblas}/g" \
69 - -e "s/-llapack/-l${myclapack}/g" \
70 - -e "s/AC_CHECK_LIB(lapack/AC_CHECK_LIB(${myclapack}/g" \
71 - acx_atlas.m4 || die
72 - eautoreconf
73 - fi
74 -}
75 -
76 -src_configure() {
77 - econf \
78 - --with-atlas-incdir="${EPREFIX}/usr/include/atlas" \
79 - $(use_enable modelfit model-fitting) \
80 - $(use_enable threads)
81 -}
82 -
83 -src_install() {
84 - default
85 - CONFDIR=/usr/share/sextractor
86 - insinto ${CONFDIR}
87 - doins config/*
88 - use doc && dodoc doc/*
89 -}
90 -
91 -pkg_postinst() {
92 - elog "SExtractor examples configuration files are located in"
93 - elog "${EROOT%/}/${CONFDIR} and are not loaded anymore by default."
94 -}