summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-05-06 10:04:07 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-05-06 10:04:07 +0000
commiteef2cb33c1784d4b85496fe905f3d3bc3bd204f2 (patch)
treee8f59807095beb212b55ba94eb5fae864d3c3f10 /sci-astronomy
parentVersion bump (diff)
downloadhistorical-eef2cb33c1784d4b85496fe905f3d3bc3bd204f2.tar.gz
historical-eef2cb33c1784d4b85496fe905f3d3bc3bd204f2.tar.bz2
historical-eef2cb33c1784d4b85496fe905f3d3bc3bd204f2.zip
Version bump, make building static libs optional
Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/wcstools/ChangeLog9
-rw-r--r--sci-astronomy/wcstools/Manifest26
-rw-r--r--sci-astronomy/wcstools/wcstools-3.8.5.ebuild63
3 files changed, 88 insertions, 10 deletions
diff --git a/sci-astronomy/wcstools/ChangeLog b/sci-astronomy/wcstools/ChangeLog
index b61512d145b4..ce303ee3abda 100644
--- a/sci-astronomy/wcstools/ChangeLog
+++ b/sci-astronomy/wcstools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-astronomy/wcstools
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.22 2011/09/23 19:17:31 xarthisius Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/ChangeLog,v 1.23 2012/05/06 10:04:07 xarthisius Exp $
+
+*wcstools-3.8.5 (06 May 2012)
+
+ 06 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +wcstools-3.8.5.ebuild:
+ Version bump, make building static libs optional
*wcstools-3.8.4 (23 Sep 2011)
diff --git a/sci-astronomy/wcstools/Manifest b/sci-astronomy/wcstools/Manifest
index 237ec5c2c662..4d40d205f9c7 100644
--- a/sci-astronomy/wcstools/Manifest
+++ b/sci-astronomy/wcstools/Manifest
@@ -1,19 +1,29 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX wcstools-3.8.3-autotools.patch 4454 RMD160 e994101268e5ad16d8d6d72f89710c8dd20ecfc2 SHA1 b740a3007284c86e5fd3eefeb4c63f0abb8d1600 SHA256 595679ba27848244b376a162b10aa3160a95afc97a76c97b7caa639c54b10459
AUX wcstools-3.8.4-implicits.patch 409 RMD160 bbeea17f9e3ca05676a9abe81b49e830a336beaf SHA1 aa4f2cdb0ab6be37944ce356d3cc00cf78d23bb6 SHA256 76d235588d570fd4a9f99cc338038dcfa60b20731bebbd8b22e04c29f2c24b1d
AUX wcstools-3.8.4-overflows.patch 225 RMD160 d234305388b7a6f33eec9bdd5e43d106e43da54a SHA1 55c869c2e7132ba44ad2fb798276e48c2aeee6c6 SHA256 7f975926b60b6d458e0121c02686e8ce1637e0b857c18eee712cad9519ad7c2e
DIST wcstools-3.8.4.tar.gz 954899 RMD160 4bc9f03fcfaad3d35a334d676fd7db88275a4506 SHA1 3e23da2638fbd219c47599cc21ad7f768d2f6f2c SHA256 a3b3475527b107c940f18a55cbf50e558e425bd2277a5f7dc57c0f2daca64c8a
+DIST wcstools-3.8.5.tar.gz 956311 RMD160 dc4f2e4976bcc9eea863b0da2d2bad4335b812a3 SHA1 e9b56a1605e42496b49b2991bcac5b07bd3d7cd3 SHA256 c582b697e63f1da77fce9ef581dc7bf5ba9170ab49954ed95d2f8cf9f68fc81f
EBUILD wcstools-3.8.4.ebuild 1550 RMD160 5ef4e66d28b39afb9d8f86358282d0b4cfecc73a SHA1 1973989594875cf3da6cd2f2b664febae26c9d68 SHA256 39e4023974c3bf91f36dd18f450686d7cf9f46be8548a0adbb643eee56c8d5ab
-MISC ChangeLog 5819 RMD160 59a50d37b44865902ff6932738303f3453e3e55d SHA1 2e2d95dbe85659f5dfb2775175bfd2514e2240f6 SHA256 478a47010e6b93525d35173f03178d8ac0c169d83afe19fe12f0a4af3a5e6e14
+EBUILD wcstools-3.8.5.ebuild 1660 RMD160 3c4a37dc829c42c27531a7dc6045497ddaa57ac8 SHA1 be5030f8ea67631207a8a906c8f1812696383e5c SHA256 990352c369085c02157fe9429b942c9b085bdeb8f11bb129a981de084962869d
+MISC ChangeLog 5980 RMD160 c3b3a326c461767d0a5d70131d7dc5983026dc83 SHA1 3d13a2e2f6335b03311608e7e0f275b63faa32d1 SHA256 2e578e019ba95bf54ad1f20ff626621e2043ed73831734c721a7d3e6e6f6de57
MISC metadata.xml 844 RMD160 ec4785d001f529e00347bb1cd9c29add69196d04 SHA1 7961558f9441d906f4fcc1616dae591f894cacef SHA256 5ec9687eb03fffc9b6a50631582908ab233adbc81a1aff9e1fd7101eeb06272c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iJwEAQECAAYFAk5821QACgkQIiMqcbOVdxShrAP+LVS9sbslMNM6v6At0SbO+zGX
-thS4FG/mnbrniuw5JxNfJLZqRhSeabDQ3UG27RbdcDUrnMGMzJYPDpz6MEYlFFns
-HvcgkonBeiw9krSDsmPVmTPqAsIG3/FzVmj2+Zw6w9wbnArnMYBOj9eJkWA4JbN7
-pcclib6LyVTF1DE88NA=
-=yucA
+iQIcBAEBCAAGBQJPpkyhAAoJEF0huFKJUZL5R3UP/3Z8cGESUMfIQWNXCacNHHL0
+alUoCVVpzq/Rsq8JypR62tu1+243KKasSoSkQNJY1+J0sCgye7CGl+5vuz0bnTIJ
+zrRoM0bhEtpDL59IEGOpm0l+Bs9GmpsW+TdtjlRKhCR5zB8GlWShCjxuaoHcLq+c
+vYqIzsBFOpIZ3UfvUZYPvxYreWZqn9sTOnYXfH/h6BLSZw+NuBBz8l2HXHQ12qVu
+8Joqb+DVa0hl9ewuFQD4VKmKAfPkTuBUTC5amcOs2EgdI/QJhQ6xiEbgn0dlIq/U
+AD/B6WboPrOExlG3iczrwvC3l4zVj5SWeeuntA1Rj/07q7yhWJP2Nf/M495iuvmH
+A2VFJXnckQu2gcmwm6Y07nlKCmGMilRUum+kB8rwbpH0pI/2kNNomeQc4gND0HLL
+HQWepNY5TtXs7L1NS7Bk0NcCyQK/6EMCGD1DzLs0fFxjFae1mwdCan3cNITIf6RD
+x0+j/h/C4PUAchV+26qdTWUayJsL0gSpO1c6WU6rwTk18uSEWrNwqRv33pmyVKX0
+tcNnT+YzjrN6fgz8S90F1S032oT8ReJp804tONjCNK4147jl4v8hM3ZQo1DYQoP8
+Z0tNyPf3PVdNIEO8nLfruaRYwH1/d71LTjl5TUI3fieDTGHPuwo/XE/rLRRwzTv+
+ZvPPrcj8rL86BQN/P9z0
+=MOU1
-----END PGP SIGNATURE-----
diff --git a/sci-astronomy/wcstools/wcstools-3.8.5.ebuild b/sci-astronomy/wcstools/wcstools-3.8.5.ebuild
new file mode 100644
index 000000000000..98926f628641
--- /dev/null
+++ b/sci-astronomy/wcstools/wcstools-3.8.5.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/wcstools/wcstools-3.8.5.ebuild,v 1.1 2012/05/06 10:04:07 xarthisius Exp $
+
+EAPI=4
+
+inherit autotools eutils multilib
+
+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"
+IUSE="static-libs"
+
+DOCS=( Readme Programs NEWS libned/NED_client )
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-3.8.3-autotools.patch \
+ "${FILESDIR}"/${PN}-3.8.4-implicits.patch
+
+ # 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_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+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 -f test.fits
+}
+
+src_install() {
+ default
+ use static-libs || rm -rf "${D}"/usr/$(get_libdir)/*.la
+ doman Man/man1/*
+ newdoc libwcs/Readme Readme.libwcs
+ newdoc libwcs/NEWS NEWS.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"
+}