Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/wcstools/
Date: Sat, 02 Sep 2017 15:10:42
Message-Id: 1504365029.5d15604a3651f8adbcd7dd74804c7116f12e9de4.kensington@gentoo
1 commit: 5d15604a3651f8adbcd7dd74804c7116f12e9de4
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 2 15:08:36 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 2 15:10:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d15604a
7
8 sci-astronomy/wcstools: remove 3.9.4
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 sci-astronomy/wcstools/Manifest | 1 -
13 sci-astronomy/wcstools/wcstools-3.9.4.ebuild | 67 ----------------------------
14 2 files changed, 68 deletions(-)
15
16 diff --git a/sci-astronomy/wcstools/Manifest b/sci-astronomy/wcstools/Manifest
17 index 0266b5bc342..ce415f06240 100644
18 --- a/sci-astronomy/wcstools/Manifest
19 +++ b/sci-astronomy/wcstools/Manifest
20 @@ -1,2 +1 @@
21 -DIST wcstools-3.9.4.tar.gz 8528588 SHA256 92aceebb7c4409706bd1d30abe020ab0516a2bf507719e60aede6498ce5e4b7d SHA512 0f46ac82d8f512496b33b43d417e92acc7d7e0710d217895ad464686837b7e08740e64ce1800b6c58c9e326b5fcfd5387d1817ca6898512baaaf86ec6ca72d6e WHIRLPOOL 3a6f50567a9831aa9dc35a4744268dc071f38f853a1299937ba1f4d5cdc84c0d8faa528c4e54a82828cfa00a755e8e69fb2b564186a16ba8fc042dd20f230c12
22 DIST wcstools-3.9.5.tar.gz 8538612 SHA256 b2f9be55fdec29f0c640028a9986771bfd6ab3d2f633953e4c7cc3b410e5fe9c SHA512 aa48081b6f5dc12ed8d64eae5275c27aaa279856f588a3eb429ec0a4943dc482788cb7f84820233f0e2ee4fefeda7ab9bb85c4513a9942c48f5d97a0bde1581d WHIRLPOOL 9df23431c0a5364e736aa24bed93cb3ff76a76f3849d663460db248cad031eefeb8362877b464495c0188129d7236a67261128a2ad3a6e3fc5e9452ef549c052
23
24 diff --git a/sci-astronomy/wcstools/wcstools-3.9.4.ebuild b/sci-astronomy/wcstools/wcstools-3.9.4.ebuild
25 deleted file mode 100644
26 index 1a129f46f84..00000000000
27 --- a/sci-astronomy/wcstools/wcstools-3.9.4.ebuild
28 +++ /dev/null
29 @@ -1,67 +0,0 @@
30 -# Copyright 1999-2016 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=6
34 -
35 -inherit eutils autotools
36 -
37 -DESCRIPTION="World Coordinate System library for astronomical FITS images"
38 -HOMEPAGE="http://tdc-www.harvard.edu/software/wcstools"
39 -SRC_URI="${HOMEPAGE}/${P}.tar.gz"
40 -
41 -LICENSE="GPL-2 LGPL-2.1"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
44 -IUSE=""
45 -
46 -DOCS=( Readme Programs NEWS )
47 -
48 -PATCHES=(
49 - "${FILESDIR}"/${PN}-3.9.4-spelling.patch
50 - "${FILESDIR}"/${PN}-3.9.4-haspm.patch
51 - "${FILESDIR}"/${PN}-3.9.4-fix-tests.patch
52 - "${FILESDIR}"/${PN}-3.9.4-compiler-warning.patch
53 -)
54 -
55 -src_prepare() {
56 - default
57 - einfo "Copying gentoo autotools files"
58 - local f
59 - for f in "${FILESDIR}"/{configure.ac,wcstools.pc.in,Makefile.am}; do
60 - cp ${f} "${S}"/ || die
61 - done
62 - cp "${FILESDIR}"/Makefile.libwcs.am "${S}"/libwcs/Makefile.am || die
63 - # avoid colliding with fixdos, getdate and remap from other packages
64 - sed -i \
65 - -e 's/getdate/wcsgetdate/' \
66 - -e 's/crlf/wcscrlf/' \
67 - -e 's/remap/wcsremap/' \
68 - -e "s/3.... Programs/${PV} Programs/" \
69 - wcstools || die
70 - eautoreconf
71 -}
72 -
73 -src_test() {
74 - einfo "Testing various wcstools programs"
75 - ./newfits -a 10 -j 248 41 -p 0.15 test.fits || die "test newfits failed"
76 - ./sethead test.fits A=1 B=1 || die "test sethead failed"
77 - [[ "$(./gethead test.fits RA)" == "16:32:00.0000" ]] \
78 - || die "test gethead failed"
79 - rm test.fits
80 -}
81 -
82 -src_install() {
83 - default
84 - doman man/man1/*
85 - newdoc libwcs/NEWS NEWS.libwcs
86 - newdoc libwcs/Readme Readme.libwcs
87 -
88 -}
89 -
90 -pkg_postinst() {
91 - elog "The following execs have been renamed to avoid colliding"
92 - elog "with other packages:"
93 - elog " getdate -> wcsgetdate"
94 - elog " crlf -> wcscrlf"
95 - elog " remap -> wcsremap"
96 -}