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/skycat/
Date: Fri, 02 Sep 2016 20:09:35
Message-Id: 1472846924.5146219b6b6a3642e72385b49408989241a2d74f.soap@gentoo
1 commit: 5146219b6b6a3642e72385b49408989241a2d74f
2 Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
3 AuthorDate: Thu Sep 1 20:39:18 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 20:08:44 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5146219b
7
8 sci-astronomy/skycat: revbump (EAPI 4 -> 6)
9
10 Package-Manager: portage-2.2.28
11 Closes: https://github.com/gentoo/gentoo/pull/2186
12
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 sci-astronomy/skycat/skycat-3.1.2-r2.ebuild | 63 +++++++++++++++++++++++++++++
16 1 file changed, 63 insertions(+)
17
18 diff --git a/sci-astronomy/skycat/skycat-3.1.2-r2.ebuild b/sci-astronomy/skycat/skycat-3.1.2-r2.ebuild
19 new file mode 100644
20 index 00000000..71509ef
21 --- /dev/null
22 +++ b/sci-astronomy/skycat/skycat-3.1.2-r2.ebuild
23 @@ -0,0 +1,63 @@
24 +# Copyright 1999-2016 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +# $Id$
27 +
28 +EAPI=6
29 +inherit autotools flag-o-matic
30 +
31 +DESCRIPTION="ESO astronomical image visualizer with catalog access"
32 +HOMEPAGE="http://archive.eso.org/skycat"
33 +SRC_URI="http://archive.eso.org/cms/tools-documentation/skycat-download/${P}.tar.gz"
34 +
35 +LICENSE="GPL-2"
36 +SLOT="0"
37 +
38 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
39 +IUSE="threads"
40 +
41 +DEPEND="x11-libs/libXext
42 + >=dev-tcltk/tclx-2.4
43 + >=dev-tcltk/blt-2.4
44 + >=dev-tcltk/itcl-3.3
45 + >=dev-tcltk/iwidgets-4.0.1
46 + >=dev-tcltk/tkimg-1.3
47 + sci-libs/cfitsio
48 + sci-astronomy/wcstools"
49 +RDEPEND="${DEPEND}"
50 +
51 +PATCHES=(
52 + "${FILESDIR}"/${P}-m4.patch # fix buggy tcl.m4 for bash3 and add soname
53 + "${FILESDIR}"/${P}-makefile-qa.patch
54 + "${FILESDIR}"/${PN}-3.0.2-systemlibs.patch # use system libs
55 + "${FILESDIR}"/${PN}-3.0.2-tk8.5.patch # need fix for tk-8.5
56 +)
57 +
58 +src_prepare() {
59 + default
60 + rm -fr astrotcl/{cfitsio,libwcs} \
61 + || die "Failed to remove included libs"
62 + # prefix it
63 + sed -i \
64 + -e "s:/usr:${EPREFIX}/usr:g" \
65 + */configure.in */aclocal.m4 || die
66 + local f
67 + for f in configure.in */configure.in ; do
68 + mv "$f" "${f/.in/.ac}" || die
69 + done
70 + eautoreconf
71 +}
72 +
73 +src_configure() {
74 + append-cppflags -DUSE_INTERP_RESULT # 514604
75 + econf $(use_enable threads) --enable-merge
76 +}
77 +
78 +src_install() {
79 + default
80 + local d f
81 + for d in tclutil astrotcl rtd cat skycat; do
82 + for f in README CHANGES VERSION; do
83 + newdoc ${f} ${f}.${d}
84 + done
85 + done
86 +}