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-libs/ccfits/files/, sci-libs/ccfits/
Date: Fri, 02 Sep 2016 20:09:38
Message-Id: 1472846953.4803c92cb7aab2e819b4d32a49b14d6ffe5d83c8.soap@gentoo
1 commit: 4803c92cb7aab2e819b4d32a49b14d6ffe5d83c8
2 Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
3 AuthorDate: Fri Sep 2 13:32:03 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 20:09:13 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4803c92c
7
8 sci-libs/ccfits: revbump (EAPI 4 -> 6)
9
10 Package-Manager: portage-2.2.28
11 Closes: https://github.com/gentoo/gentoo/pull/2189
12
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 sci-libs/ccfits/ccfits-2.4-r1.ebuild | 49 +++++++++++++++++++++++++
16 sci-libs/ccfits/files/ccfits-2.2-makefile.patch | 4 +-
17 2 files changed, 51 insertions(+), 2 deletions(-)
18
19 diff --git a/sci-libs/ccfits/ccfits-2.4-r1.ebuild b/sci-libs/ccfits/ccfits-2.4-r1.ebuild
20 new file mode 100644
21 index 00000000..bf971df
22 --- /dev/null
23 +++ b/sci-libs/ccfits/ccfits-2.4-r1.ebuild
24 @@ -0,0 +1,49 @@
25 +# Copyright 1999-2016 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=6
30 +
31 +inherit autotools
32 +
33 +MYPN=CCfits
34 +MYP=${MYPN}-${PV}
35 +
36 +DESCRIPTION="C++ interface for cfitsio"
37 +HOMEPAGE="http://heasarc.gsfc.nasa.gov/fitsio/CCfits/"
38 +SRC_URI="${HOMEPAGE}/${MYP}.tar.gz"
39 +
40 +LICENSE="BSD"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
43 +IUSE="doc static-libs"
44 +
45 +RDEPEND=">=sci-libs/cfitsio-3.080"
46 +DEPEND="${RDEPEND}"
47 +
48 +S="${WORKDIR}/${MYPN}"
49 +
50 +DOCS=( CHANGES README.INSTALL )
51 +PATCHES=(
52 + "${FILESDIR}"/${PN}-2.2-makefile.patch # avoid building cookbook by default and no rpath
53 +)
54 +
55 +src_prepare() {
56 + default
57 + mv configure.{in,ac} || die
58 + AT_M4DIR=config/m4 eautoreconf
59 +}
60 +
61 +src_configure() {
62 + econf $(use_enable static-libs static)
63 +}
64 +
65 +src_install () {
66 + if use doc; then
67 + DOCS+=( *.pdf )
68 + HTML_DOCS=( html/. )
69 + fi
70 + default
71 +
72 + find "${ED}" -name '*.la' -delete || die
73 +}
74
75 diff --git a/sci-libs/ccfits/files/ccfits-2.2-makefile.patch b/sci-libs/ccfits/files/ccfits-2.2-makefile.patch
76 index e92d930..f8fa5d5 100644
77 --- a/sci-libs/ccfits/files/ccfits-2.2-makefile.patch
78 +++ b/sci-libs/ccfits/files/ccfits-2.2-makefile.patch
79 @@ -1,5 +1,5 @@
80 ---- Makefile.am.orig 2010-01-20 02:52:22.000000000 +0000
81 -+++ Makefile.am 2010-01-20 02:50:34.000000000 +0000
82 +--- a/Makefile.am
83 ++++ b/Makefile.am
84 @@ -26,12 +26,11 @@
85 EXTRA_DIST = config CHANGES README.INSTALL License.txt file1.pha $(MSVC_FILES)