From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id ABD331382A4 for ; Thu, 9 Jun 2016 19:33:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60A361429F; Thu, 9 Jun 2016 19:33:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 974141427E for ; Thu, 9 Jun 2016 19:33:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 30859340C69 for ; Thu, 9 Jun 2016 19:33:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B4EC97B for ; Thu, 9 Jun 2016 19:33:12 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1465337079.930f8d5f0be912fda0ca8ba3d4ea9451daa5dff8.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/montage/files/, sci-astronomy/montage/, ... X-VCS-Repository: proj/sci X-VCS-Files: dev-python/montage-wrapper/metadata.xml dev-python/montage-wrapper/montage-wrapper-0.9.7.ebuild sci-astronomy/montage/files/montage-3.3-gcc48.patch sci-astronomy/montage/metadata.xml sci-astronomy/montage/montage-3.3.ebuild X-VCS-Directories: sci-astronomy/montage/files/ sci-astronomy/montage/ dev-python/montage-wrapper/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 930f8d5f0be912fda0ca8ba3d4ea9451daa5dff8 X-VCS-Branch: master Date: Thu, 9 Jun 2016 19:33:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1dbd417c-b002-46a4-ba42-5a8670775566 X-Archives-Hash: 04f5364ccd61d218c4dfd52e80105f64 commit: 930f8d5f0be912fda0ca8ba3d4ea9451daa5dff8 Author: Sébastien Fabbro gentoo org> AuthorDate: Tue Jun 7 22:04:39 2016 +0000 Commit: Justin Lecher gentoo org> CommitDate: Tue Jun 7 22:04:39 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=930f8d5f montage and wrapper now in main tree dev-python/montage-wrapper/metadata.xml | 17 ---- .../montage-wrapper/montage-wrapper-0.9.7.ebuild | 39 --------- .../montage/files/montage-3.3-gcc48.patch | 97 ---------------------- sci-astronomy/montage/metadata.xml | 12 --- sci-astronomy/montage/montage-3.3.ebuild | 55 ------------ 5 files changed, 220 deletions(-) diff --git a/dev-python/montage-wrapper/metadata.xml b/dev-python/montage-wrapper/metadata.xml deleted file mode 100644 index aa3e481..0000000 --- a/dev-python/montage-wrapper/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - sci-astronomy@gentoo.org - Gentoo Astronomy Project - - - This Astropy-affiliated package provides a python wrapper to the - Montage Astronomical Image Mosaic Engine, including both functions to - access individual Montage commands, and high-level functions to - facilitate mosaicking and re-projecting. - - - montage-wrapper - - diff --git a/dev-python/montage-wrapper/montage-wrapper-0.9.7.ebuild b/dev-python/montage-wrapper/montage-wrapper-0.9.7.ebuild deleted file mode 100644 index 9ac8c65..0000000 --- a/dev-python/montage-wrapper/montage-wrapper-0.9.7.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_3} ) - -inherit distutils-r1 - -DESCRIPTION="Python wrapper for the Montage mosaicking toolkit" -HOMEPAGE="http://www.astropy.org/montage-wrapper/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="doc test" - -RDEPEND=" - dev-python/astropy[${PYTHON_USEDEP}] - sci-astronomy/montage" -DEPEND=" - dev-python/astropy[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( sci-astronomy/montage )" - -python_compile_all() { - use doc && PYTHONPATH=".." emake -C docs html -} - -python_test() { - ${EPYTHON} setup.py test -} - -python_install_all() { - use doc && HTML_DOCS=( docs/_build/html/. ) - distutils-r1_python_install_all -} diff --git a/sci-astronomy/montage/files/montage-3.3-gcc48.patch b/sci-astronomy/montage/files/montage-3.3-gcc48.patch deleted file mode 100644 index 4846b4c..0000000 --- a/sci-astronomy/montage/files/montage-3.3-gcc48.patch +++ /dev/null @@ -1,97 +0,0 @@ -diff -Nur Montage_v3.3.orig/grid/Pegasus/mPresentation.c Montage_v3.3/grid/Pegasus/mPresentation.c ---- Montage_v3.3.orig/grid/Pegasus/mPresentation.c 2009-12-10 19:54:51.000000000 -0800 -+++ Montage_v3.3/grid/Pegasus/mPresentation.c 2014-04-17 14:36:28.735594113 -0700 -@@ -14,6 +14,7 @@ - #include - #include - #include -+#include - - #define MAXLEN 20000 - -diff -Nur Montage_v3.3.orig/lib/src/coord/ccalc.c Montage_v3.3/lib/src/coord/ccalc.c ---- Montage_v3.3.orig/lib/src/coord/ccalc.c 2009-12-10 19:54:51.000000000 -0800 -+++ Montage_v3.3/lib/src/coord/ccalc.c 2014-04-17 14:11:51.041349620 -0700 -@@ -25,7 +25,7 @@ - static int ConvertfromDD(char *fmt, char *clongprec, char *clatprec, - char *clon, char *clat, double *lon, double *lat); - static char *downcase(char *s); --char *strdup(const char *s1); -+ - int ParseUnits(char *cunit, int *chflag, CoordUnit *unit); - int ParsePrec(CoordUnit units, char *cprec, int longflag); - -diff -Nur Montage_v3.3.orig/lib/src/two_plane_v1.1/initdistdata.c Montage_v3.3/lib/src/two_plane_v1.1/initdistdata.c ---- Montage_v3.3.orig/lib/src/two_plane_v1.1/initdistdata.c 2009-12-10 19:54:51.000000000 -0800 -+++ Montage_v3.3/lib/src/two_plane_v1.1/initdistdata.c 2014-04-17 14:35:14.559081232 -0700 -@@ -1,8 +1,13 @@ - #include -+#include - #include - #include "fitsio.h" - #include "distort.h" - -+int parse_double(char *fitsheader, double *value, const char *key); -+int parse_int(char *fitsheader, int *value, const char *key); -+int parse_str(char *fitsheader, char *value, const char *key); -+ - fitsfile *ffp_FITS_In; - - int openfitsfile(char *fitsfilename) -@@ -21,16 +26,16 @@ - return 0; - } - --closefitsfile() -+int closefitsfile() - { - int I_fits_return_status=0; - fits_close_file(ffp_FITS_In, &I_fits_return_status); - if (I_fits_return_status != 0) - { - fprintf(stderr, "Error closing file\n"); -- return; -+ return -1; - } -- return; -+ return 0; - } - - int initdata_byheader(char *fitsheader, DistCoeff *coeff) -diff -Nur Montage_v3.3.orig/lib/src/two_plane_v1.1/two_plane.c Montage_v3.3/lib/src/two_plane_v1.1/two_plane.c ---- Montage_v3.3.orig/lib/src/two_plane_v1.1/two_plane.c 2010-02-04 11:53:56.000000000 -0800 -+++ Montage_v3.3/lib/src/two_plane_v1.1/two_plane.c 2014-04-17 14:43:20.094377873 -0700 -@@ -21,6 +21,11 @@ - #include "two_plane.h" - #include "distort.h" - -+int undistort(double u, double v, DistCoeff coeff, double *x, double *y); -+int distort(double x, double y, DistCoeff coeff, double *u, double *v); -+int initdata_byheader(char *fitsheader, DistCoeff *coeff); -+ -+ - int plane1_to_plane2_transform(double x_1, double y_1, double *x_2, double *y_2, - struct TwoPlane *two_plane){ - -diff -Nur Montage_v3.3.orig/lib/src/wcstools-3.8.1/libwcs/imhfile.c Montage_v3.3/lib/src/wcstools-3.8.1/libwcs/imhfile.c ---- Montage_v3.3.orig/lib/src/wcstools-3.8.1/libwcs/imhfile.c 2007-01-08 09:24:29.000000000 -0800 -+++ Montage_v3.3/lib/src/wcstools-3.8.1/libwcs/imhfile.c 2014-04-17 14:40:06.993064103 -0700 -@@ -1019,7 +1019,6 @@ - nbw = write (fd, image, nbimage); - close (fd); - -- free (pixname); - return (nbw); - } - -diff -Nur Montage_v3.3.orig/util/TblExec/mTblExec.c Montage_v3.3/util/TblExec/mTblExec.c ---- Montage_v3.3.orig/util/TblExec/mTblExec.c 2009-12-10 19:54:51.000000000 -0800 -+++ Montage_v3.3/util/TblExec/mTblExec.c 2014-04-17 14:49:34.896939154 -0700 -@@ -4,6 +4,7 @@ - #include - #include - #include -+#include - - #include - #include diff --git a/sci-astronomy/montage/metadata.xml b/sci-astronomy/montage/metadata.xml deleted file mode 100644 index 5fda381..0000000 --- a/sci-astronomy/montage/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - sci-astronomy@gentoo.org - Gentoo Astronomy Project - - - Montage is a toolkit for assembling Flexible Image Transport System - (FITS) images into custom mosaics - - diff --git a/sci-astronomy/montage/montage-3.3.ebuild b/sci-astronomy/montage/montage-3.3.ebuild deleted file mode 100644 index 260796d..0000000 --- a/sci-astronomy/montage/montage-3.3.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils toolchain-funcs - -MYP=Montage_v${PV} - -DESCRIPTION="Astronomical image mosaic engine" -HOMEPAGE="http://montage.ipac.caltech.edu/" -SRC_URI="http://montage.ipac.caltech.edu/download/${MYP}.tar.gz - doc? ( http://montage.ipac.caltech.edu/docs/docs.tar.gz -> ${PN}-docs.tar.gz )" - -LICENSE="Montage" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -SLOT="0" - -IUSE="doc mpi" - -# unfortunate upstream patching, cfitsio, wcstools, jpeg -# see docs/ExternalLibraries - -RDEPEND="" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}" - -src_prepare() { - epatch "${FILESDIR}"/${P}-gcc48.patch - use doc && mv "${WORKDIR}"/docs/* docs/ - tc-export CC AR - - find . -name Makefile\* | xargs sed -i \ - -e "/^CC.*=/s:\(gcc\|cc\):$(tc-getCC):g" \ - -e "/^CFLAGS.*=/s:-g:${CFLAGS}:g" \ - -e "s:ar q:$(tc-getAR) q:g" || die - - if use mpi; then - sed -i \ - -e 's:# MPICC:MPICC:' \ - -e 's:# BINS:BINS:' \ - Montage/Makefile || die - fi -} - -src_install () { - dobin bin/* - dodoc README ChangeHistory - if use doc; then - insinto /usr/share/doc/${PF} - doins -r docs/* - fi -}