public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-astronomy/wcstools: ChangeLog wcstools-3.7.6-r1.ebuild wcstools-3.7.6.ebuild wcstools-3.7.4.ebuild
@ 2008-11-26 11:07 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro (bicatali) @ 2008-11-26 11:07 UTC (permalink / raw
  To: gentoo-commits

bicatali    08/11/26 11:07:39

  Modified:             ChangeLog
  Added:                wcstools-3.7.6-r1.ebuild
  Removed:              wcstools-3.7.6.ebuild wcstools-3.7.4.ebuild
  Log:
  Rename crlf to wcscrlf and getdate to wcsgetdate to avoid colliding with other packages, closing bug #248235
  (Portage version: 2.2_rc15/cvs/Linux 2.6.25-gentoo-r7 x86_64)

Revision  Changes    Path
1.11                 sci-astronomy/wcstools/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/ChangeLog?r1=1.10&r2=1.11

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	5 Nov 2008 22:00:15 -0000	1.10
+++ ChangeLog	26 Nov 2008 11:07:39 -0000	1.11
@@ -1,6 +1,15 @@
 # ChangeLog for sci-astronomy/wcstools
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.10 2008/11/05 22:00:15 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.11 2008/11/26 11:07:39 bicatali Exp $
+
+*wcstools-3.7.6-r1 (26 Nov 2008)
+
+  26 Nov 2008; Sébastien Fabbro <bicatali@gentoo.org>
+  -files/wcstools-3.7.1-autotools.patch,
+  files/wcstools-3.7.6-autotools.patch, -wcstools-3.7.4.ebuild,
+  -wcstools-3.7.6.ebuild, +wcstools-3.7.6-r1.ebuild:
+  Rename crlf to wcscrlf and getdate to wcsgetdate to avoid colliding with
+  other packages, closing bug #248235
 
 *wcstools-3.7.6 (05 Nov 2008)
 



1.1                  sci-astronomy/wcstools/wcstools-3.7.6-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/wcstools-3.7.6-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/wcstools/wcstools-3.7.6-r1.ebuild?rev=1.1&content-type=text/plain

Index: wcstools-3.7.6-r1.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/wcstools-3.7.6-r1.ebuild,v 1.1 2008/11/26 11:07:39 bicatali Exp $

EAPI=2
inherit eutils autotools

DESCRIPTION="World Coordinate System library for astronomical FITS images"
HOMEPAGE="http://tdc-www.harvard.edu/software/wcstools"
SRC_URI="http://tdc-www.harvard.edu/software/${PN}/${P}.tar.gz"

LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

src_prepare() {
	epatch "${FILESDIR}"/${PN}-3.7.0-fix-leaks.patch
	epatch "${FILESDIR}"/${P}-autotools.patch
	sed -i -e 's/3.7.x/${PV}/' "${S}"/configure.ac || die "sed failed"
	eautoreconf
	# avoid colliding with fixdos and getdate (also in autotools patch)
	sed -i \
		-e 's/getdate/wcsgetdate/' \
		-e 's/crlf/wcscrlf/' \
		wcstools || die
}

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.000" ]] \
		|| die "test gethead failed"
	rm -f test.fits
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"
	doman Man/man1/* || die "doman failed"
	dodoc Readme Programs NEWS libned/NED_client || die "dodoc failed"
	newdoc libwcs/Readme Readme.libwcs || die "newdoc failed"
	newdoc libwcs/NEWS NEWS.libwcs || die "newdoc failed"
}

pkg_postinst() {
	elog "The following execs have been renamed to avoid colliding"
	elog "with other packages:"
	elog " getdate -> wcsgetdate"
	elog " crlf -> wcscrlf"
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-26 11:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-26 11:07 [gentoo-commits] gentoo-x86 commit in sci-astronomy/wcstools: ChangeLog wcstools-3.7.6-r1.ebuild wcstools-3.7.6.ebuild wcstools-3.7.4.ebuild Sebastien Fabbro (bicatali)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox