Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/swarp/
Date: Sun, 06 Mar 2016 19:41:14
Message-Id: 1456953466.ba81c1dc554b8ecafc91a4705ec030a941d94883.jlec@gentoo
1 commit: ba81c1dc554b8ecafc91a4705ec030a941d94883
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 2 21:17:46 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 21:17:46 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ba81c1dc
7
8 sci-astronomy/swarp: cleanup to move in main tree
9
10 Package-Manager: portage-2.2.27
11
12 sci-astronomy/swarp/swarp-2.38.0.ebuild | 41 ---------------------------------
13 sci-astronomy/swarp/swarp-9999.ebuild | 34 ++++++++++++---------------
14 2 files changed, 15 insertions(+), 60 deletions(-)
15
16 diff --git a/sci-astronomy/swarp/swarp-2.38.0.ebuild b/sci-astronomy/swarp/swarp-2.38.0.ebuild
17 deleted file mode 100644
18 index 71c254d..0000000
19 --- a/sci-astronomy/swarp/swarp-2.38.0.ebuild
20 +++ /dev/null
21 @@ -1,41 +0,0 @@
22 -# Copyright 1999-2014 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=5
27 -
28 -if [[ ${PV} == "9999" ]] ; then
29 - inherit subversion
30 - ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk"
31 - SRC_URI=""
32 - KEYWORDS=""
33 - AUTOTOOLS_AUTORECONF=1
34 -else
35 - SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
36 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
37 -fi
38 -
39 -AUTOTOOLS_IN_SOURCE_BUILD=1
40 -
41 -inherit autotools-utils
42 -
43 -DESCRIPTION="Resample and coadd astronomical FITS images"
44 -HOMEPAGE="http://astromatic.iap.fr/software/swarp"
45 -
46 -LICENSE="GPL-3"
47 -SLOT="0"
48 -
49 -IUSE="doc threads"
50 -
51 -RDEPEND=""
52 -DEPEND="${RDEPEND}"
53 -
54 -src_configure() {
55 - local myeconfargs=( $(use_enable threads) )
56 - autotools-utils_src_configure
57 -}
58 -
59 -src_install () {
60 - autotools-utils_src_install
61 - use doc && dodoc doc/*
62 -}
63
64 diff --git a/sci-astronomy/swarp/swarp-9999.ebuild b/sci-astronomy/swarp/swarp-9999.ebuild
65 index 71c254d..0ba8a64 100644
66 --- a/sci-astronomy/swarp/swarp-9999.ebuild
67 +++ b/sci-astronomy/swarp/swarp-9999.ebuild
68 @@ -1,26 +1,18 @@
69 -# Copyright 1999-2014 Gentoo Foundation
70 +# Copyright 1999-2016 Gentoo Foundation
71 # Distributed under the terms of the GNU General Public License v2
72 # $Id$
73
74 -EAPI=5
75 +EAPI=6
76
77 -if [[ ${PV} == "9999" ]] ; then
78 - inherit subversion
79 - ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk"
80 - SRC_URI=""
81 - KEYWORDS=""
82 - AUTOTOOLS_AUTORECONF=1
83 -else
84 - SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
85 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
86 -fi
87 +inherit subversion
88
89 -AUTOTOOLS_IN_SOURCE_BUILD=1
90 -
91 -inherit autotools-utils
92 +ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk"
93 +ESVN_OPTIONS="--trust-server-cert-failures=unknown-ca"
94 +SRC_URI=""
95 +KEYWORDS=""
96
97 DESCRIPTION="Resample and coadd astronomical FITS images"
98 -HOMEPAGE="http://astromatic.iap.fr/software/swarp"
99 +HOMEPAGE="http://www.astromatic.net/software/swarp"
100
101 LICENSE="GPL-3"
102 SLOT="0"
103 @@ -30,12 +22,16 @@ IUSE="doc threads"
104 RDEPEND=""
105 DEPEND="${RDEPEND}"
106
107 +src_prepare() {
108 + default
109 + subversion_src_prepare
110 +}
111 +
112 src_configure() {
113 - local myeconfargs=( $(use_enable threads) )
114 - autotools-utils_src_configure
115 + econf $(use_enable threads)
116 }
117
118 src_install () {
119 - autotools-utils_src_install
120 + default
121 use doc && dodoc doc/*
122 }