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/xfitsview/files/, sci-astronomy/xfitsview/
Date: Fri, 02 Sep 2016 20:09:36
Message-Id: 1472846937.b451a42dd3357a2d8d00dba9b92b1032799a295e.soap@gentoo
1 commit: b451a42dd3357a2d8d00dba9b92b1032799a295e
2 Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
3 AuthorDate: Thu Sep 1 20:52:50 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 20:08:57 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b451a42d
7
8 sci-astronomy/xfitsview: revbump (EAPI 4 -> 6)
9
10 Package-Manager: portage-2.2.28
11 Closes: https://github.com/gentoo/gentoo/pull/2187
12
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 .../files/xfitsview-2.2-build_system.patch | 8 ++---
16 sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild | 35 ++++++++++++++++++++++
17 2 files changed, 39 insertions(+), 4 deletions(-)
18
19 diff --git a/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch b/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch
20 index 6b010a3..12eaacf 100644
21 --- a/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch
22 +++ b/sci-astronomy/xfitsview/files/xfitsview-2.2-build_system.patch
23 @@ -4,8 +4,8 @@
24
25 http://bugs.gentoo.org/show_bug.cgi?id=337479
26
27 ---- Makefile.in
28 -+++ Makefile.in
29 +--- a/Makefile.in
30 ++++ b/Makefile.in
31 @@ -61,26 +61,26 @@
32 LIBDIR = lib/$(ARCH)/
33 CFLAGS = -Iinclude -Ifitssubs @MOTIF_CPPFLAGS@ @X_CFLAGS@ \
34 @@ -41,8 +41,8 @@ http://bugs.gentoo.org/show_bug.cgi?id=337479
35
36 # make gzipped tar backup of directory
37 backup:
38 ---- fitssubs/Makefile.in
39 -+++ fitssubs/Makefile.in
40 +--- a/fitssubs/Makefile.in
41 ++++ b/fitssubs/Makefile.in
42 @@ -69,7 +69,7 @@
43
44
45
46 diff --git a/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild b/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild
47 new file mode 100644
48 index 00000000..3ac2bd2
49 --- /dev/null
50 +++ b/sci-astronomy/xfitsview/xfitsview-2.2-r2.ebuild
51 @@ -0,0 +1,35 @@
52 +# Copyright 1999-2016 Gentoo Foundation
53 +# Distributed under the terms of the GNU General Public License v2
54 +# $Id$
55 +
56 +EAPI=6
57 +
58 +MY_PN=XFITSview
59 +MY_P=${MY_PN}${PV}
60 +
61 +DESCRIPTION="Viewer for astronomical images in FITS format"
62 +HOMEPAGE="http://www.nrao.edu/software/fitsview/"
63 +SRC_URI="ftp://ftp.cv.nrao.edu/fits/os-support/unix/xfitsview/${PN}${PV}.tgz"
64 +
65 +LICENSE="GPL-2"
66 +SLOT="0"
67 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
68 +IUSE=""
69 +
70 +DEPEND=">=x11-libs/motif-2.3:0"
71 +RDEPEND="${DEPEND}"
72 +
73 +S=${WORKDIR}/${MY_PN}
74 +
75 +DOCS=( README changes notes.text )
76 +PATCHES=( "${FILESDIR}"/${P}-build_system.patch )
77 +
78 +src_prepare() {
79 + default
80 + find "${S}" -name '*old.c' -delete || die
81 +}
82 +
83 +src_install() {
84 + dobin XFITSview
85 + einstalldocs
86 +}