mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-astronomy/wcstools: remove 3.9.4
Package-Manager: Portage-2.3.6, Repoman-2.3.3
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST wcstools-3.9.4.tar.gz 8528588 SHA256 92aceebb7c4409706bd1d30abe020ab0516a2bf507719e60aede6498ce5e4b7d SHA512 0f46ac82d8f512496b33b43d417e92acc7d7e0710d217895ad464686837b7e08740e64ce1800b6c58c9e326b5fcfd5387d1817ca6898512baaaf86ec6ca72d6e WHIRLPOOL 3a6f50567a9831aa9dc35a4744268dc071f38f853a1299937ba1f4d5cdc84c0d8faa528c4e54a82828cfa00a755e8e69fb2b564186a16ba8fc042dd20f230c12
|
||||
DIST wcstools-3.9.5.tar.gz 8538612 SHA256 b2f9be55fdec29f0c640028a9986771bfd6ab3d2f633953e4c7cc3b410e5fe9c SHA512 aa48081b6f5dc12ed8d64eae5275c27aaa279856f588a3eb429ec0a4943dc482788cb7f84820233f0e2ee4fefeda7ab9bb85c4513a9942c48f5d97a0bde1581d WHIRLPOOL 9df23431c0a5364e736aa24bed93cb3ff76a76f3849d663460db248cad031eefeb8362877b464495c0188129d7236a67261128a2ad3a6e3fc5e9452ef549c052
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="World Coordinate System library for astronomical FITS images"
|
||||
HOMEPAGE="http://tdc-www.harvard.edu/software/wcstools"
|
||||
SRC_URI="${HOMEPAGE}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DOCS=( Readme Programs NEWS )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.9.4-spelling.patch
|
||||
"${FILESDIR}"/${PN}-3.9.4-haspm.patch
|
||||
"${FILESDIR}"/${PN}-3.9.4-fix-tests.patch
|
||||
"${FILESDIR}"/${PN}-3.9.4-compiler-warning.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
einfo "Copying gentoo autotools files"
|
||||
local f
|
||||
for f in "${FILESDIR}"/{configure.ac,wcstools.pc.in,Makefile.am}; do
|
||||
cp ${f} "${S}"/ || die
|
||||
done
|
||||
cp "${FILESDIR}"/Makefile.libwcs.am "${S}"/libwcs/Makefile.am || die
|
||||
# avoid colliding with fixdos, getdate and remap from other packages
|
||||
sed -i \
|
||||
-e 's/getdate/wcsgetdate/' \
|
||||
-e 's/crlf/wcscrlf/' \
|
||||
-e 's/remap/wcsremap/' \
|
||||
-e "s/3.... Programs/${PV} Programs/" \
|
||||
wcstools || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo "Testing various wcstools programs"
|
||||
./newfits -a 10 -j 248 41 -p 0.15 test.fits || die "test newfits failed"
|
||||
./sethead test.fits A=1 B=1 || die "test sethead failed"
|
||||
[[ "$(./gethead test.fits RA)" == "16:32:00.0000" ]] \
|
||||
|| die "test gethead failed"
|
||||
rm test.fits
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
doman man/man1/*
|
||||
newdoc libwcs/NEWS NEWS.libwcs
|
||||
newdoc libwcs/Readme Readme.libwcs
|
||||
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The following execs have been renamed to avoid colliding"
|
||||
elog "with other packages:"
|
||||
elog " getdate -> wcsgetdate"
|
||||
elog " crlf -> wcscrlf"
|
||||
elog " remap -> wcsremap"
|
||||
}
|
||||
Reference in New Issue
Block a user