Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/stiff/, sci-astronomy/stiff/files/
Date: Wed, 24 Feb 2016 17:59:59
Message-Id: 1456340167.e946244936157ce995d0194a62d30963ac0fedbe.bicatali@gentoo
1 commit: e946244936157ce995d0194a62d30963ac0fedbe
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 24 18:55:42 2016 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 24 18:56:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9462449
7
8 sci-astronomy/stiff: Version bump
9
10 Package-Manager: portage-2.2.27
11
12 sci-astronomy/stiff/Manifest | 2 +-
13 sci-astronomy/stiff/files/stiff-configure.patch | 63 -------------------------
14 sci-astronomy/stiff/stiff-2.1.3.ebuild | 28 -----------
15 sci-astronomy/stiff/stiff-2.4.0.ebuild | 37 +++++++++++++++
16 4 files changed, 38 insertions(+), 92 deletions(-)
17
18 diff --git a/sci-astronomy/stiff/Manifest b/sci-astronomy/stiff/Manifest
19 index 2239096..fd1d106 100644
20 --- a/sci-astronomy/stiff/Manifest
21 +++ b/sci-astronomy/stiff/Manifest
22 @@ -1 +1 @@
23 -DIST stiff-2.1.3.tar.gz 1043999 SHA256 64ad8aa64cb82c4d96cfa54335016260a6f264d9b7cdaf175a247476233e8aad SHA512 f5b9d4c1fb3db68d8422b357f0005e188259d021977dfa777ec999356e0f73d083cc9e04ffd16655582883d2b7dd38f7888006f086d12412ce13a9c5084a7359 WHIRLPOOL 97436148dadb5237a91d817b9040c5eb67857eea63a3f7728fa24588354861418c150a16b27385db973166e8bb86cf39fd273116c043b2b1a9c57bc78b5162a1
24 +DIST stiff-2.4.0.tar.gz 1074161 SHA256 f4e85146c17fe8dcf160d12dc6df08bbd9212bb8444162b2e6ebf03f7513a992 SHA512 c8a293a2d1771b21d8af1194f9a2f582eca1a363964e76b78319c9cc2407332ef5e31dc74c0d10b9d5c7b6ae18ebd35ee59c53ad31c5f3966fabcd03948cadf6 WHIRLPOOL aa3b0d4ee6e2fc7d1fd90d19c815985ddb520c3fe37da6ec7c631675f5277b1d75b72a776a64631beedc57b934899c86eebbdc0b7c54925eb153cff65146e805
25
26 diff --git a/sci-astronomy/stiff/files/stiff-configure.patch b/sci-astronomy/stiff/files/stiff-configure.patch
27 deleted file mode 100644
28 index 15b8d9a..0000000
29 --- a/sci-astronomy/stiff/files/stiff-configure.patch
30 +++ /dev/null
31 @@ -1,63 +0,0 @@
32 ---- configure.ac.orig 2009-03-10 12:34:36.000000000 +0000
33 -+++ configure.ac 2009-07-28 17:26:22.000000000 +0100
34 -@@ -21,40 +21,14 @@
35 -
36 - # Include macros
37 - #sinclude(acx_pthread.m4)
38 --sinclude(acx_prog_cc_optim.m4)
39 -
40 - # Display pakage and version number
41 - AC_MSG_RESULT([*********** Configuring: $PACKAGE $VERSION ($date) **********])
42 -
43 --# Initialize the list of compilers to consider
44 --cclist="cc gcc"
45 --
46 --# Backup and reset the input CFLAGS and LDFLAGS
47 --mycflags="$CFLAGS"
48 --CFLAGS=""
49 --myldflags="$LDFLAGS"
50 --LDFLAGS=""
51 --
52 --# Provide special option for the Linux Intel C compiler
53 --AC_MSG_CHECKING([for Linux Intel C compiler mode])
54 --AC_ARG_ENABLE(icc,
55 -- [AC_HELP_STRING([--enable-icc],
56 -- [Enable special mode for compilation with the Intel compiler \
57 --(off by default)])],
58 -- use_icc="yes"
59 -- cclist="icc $cclist"
60 -- AC_MSG_RESULT([yes]),
61 -- use_icc="no"
62 -- AC_MSG_RESULT([no]))
63 --
64 --# Checks for programs.
65 --# GCC is chosen last because it is likely to yield less optimized code
66 --AC_PROG_CC([$cclist])
67 - # C Compiler: Check that it is ANSI C
68 - AM_PROG_CC_STDC
69 - # C Compiler: Check that it is POSIX-compliant
70 - AC_ISC_POSIX
71 --ACX_PROG_CC_OPTIM
72 - AC_PROG_AWK
73 - AC_PROG_INSTALL
74 - AC_PROG_RANLIB
75 -@@ -107,19 +81,9 @@
76 -
77 - # Link with gprof option
78 - if test "$use_gprof" = "yes"; then
79 -- if test "$use_icc" = "yes"; then
80 -- CFLAGS="$CFLAGS -pq"
81 -- else
82 -- CFLAGS="$CFLAGS -pg"
83 -- fi
84 - use_static="no"
85 - fi
86 -
87 --# Static linking option
88 --if test "$use_static" = "yes"; then
89 -- LDFLAGS="-static -shared-libgcc $LDFLAGS"
90 --fi
91 --
92 - # Override automatic CFLAGS and LDFLAGS with those of user
93 - #if test -n "$mycflags"; then
94 - #CFLAGS="$mycflags"
95
96 diff --git a/sci-astronomy/stiff/stiff-2.1.3.ebuild b/sci-astronomy/stiff/stiff-2.1.3.ebuild
97 deleted file mode 100644
98 index 4aecbf3..0000000
99 --- a/sci-astronomy/stiff/stiff-2.1.3.ebuild
100 +++ /dev/null
101 @@ -1,28 +0,0 @@
102 -# Copyright 1999-2012 Gentoo Foundation
103 -# Distributed under the terms of the GNU General Public License v2
104 -# $Id$
105 -
106 -EAPI=4
107 -
108 -DESCRIPTION="Converts astronomical FITS images to the TIFF format"
109 -HOMEPAGE="http://www.astromatic.net/software/stiff"
110 -SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
111 -
112 -LICENSE="CeCILL-2"
113 -SLOT="0"
114 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
115 -IUSE="doc threads"
116 -
117 -RDEPEND="media-libs/tiff
118 - virtual/jpeg
119 - sys-libs/zlib"
120 -DEPEND="${RDEPEND}"
121 -
122 -src_configure() {
123 - econf $(use_enable threads)
124 -}
125 -
126 -src_install () {
127 - default
128 - use doc && dodoc doc/*
129 -}
130
131 diff --git a/sci-astronomy/stiff/stiff-2.4.0.ebuild b/sci-astronomy/stiff/stiff-2.4.0.ebuild
132 new file mode 100644
133 index 0000000..195aa2f
134 --- /dev/null
135 +++ b/sci-astronomy/stiff/stiff-2.4.0.ebuild
136 @@ -0,0 +1,37 @@
137 +# Copyright 1999-2016 Gentoo Foundation
138 +# Distributed under the terms of the GNU General Public License v2
139 +# $Id$
140 +
141 +EAPI=6
142 +
143 +if [[ ${PV} == "9999" ]] ; then
144 + inherit subversion
145 + ESVN_REPO_URI="https://astromatic.net/pubsvn/software/${PN}/trunk"
146 + SRC_URI=""
147 + KEYWORDS=""
148 +else
149 + SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
150 + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
151 +fi
152 +
153 +DESCRIPTION="Converts astronomical FITS images to the TIFF format"
154 +HOMEPAGE="http://www.astronomatic.net/software/stiff"
155 +
156 +LICENSE="GPL-3"
157 +SLOT="0"
158 +IUSE="doc threads"
159 +
160 +RDEPEND="
161 + media-libs/tiff:0=
162 + virtual/jpeg:0
163 + sys-libs/zlib:0="
164 +DEPEND="${RDEPEND}"
165 +
166 +src_configure() {
167 + ECONF_SOURCE="${S}" econf $(use_enable threads)
168 +}
169 +
170 +src_install () {
171 + default
172 + use doc && dodoc doc/stiff.pdf
173 +}