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 9DA99138010 for ; Mon, 15 Feb 2016 21:52:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F46121C013; Mon, 15 Feb 2016 21:52:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D82F121C013 for ; Mon, 15 Feb 2016 21:52:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8BA75340B1C for ; Mon, 15 Feb 2016 21:52:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 53DE68E8 for ; Mon, 15 Feb 2016 21:52:14 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1455576471.db3a80784f7a9706509a06d6460db0196ba37551.bicatali@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cfitsio/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/cfitsio/Manifest sci-libs/cfitsio/cfitsio-3.38.ebuild X-VCS-Directories: sci-libs/cfitsio/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: db3a80784f7a9706509a06d6460db0196ba37551 X-VCS-Branch: master Date: Mon, 15 Feb 2016 21:52:14 +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: 95664646-cba7-4cc3-83bd-31c8a4c0ac13 X-Archives-Hash: 7463940a26cafe077945a64adfac6225 commit: db3a80784f7a9706509a06d6460db0196ba37551 Author: Sébastien Fabbro gentoo org> AuthorDate: Mon Feb 15 20:43:50 2016 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Mon Feb 15 22:47:51 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db3a8078 sci-libs/cfitsio: version bump (reversioned to match upstream) Package-Manager: portage-2.2.27 sci-libs/cfitsio/Manifest | 1 + sci-libs/cfitsio/cfitsio-3.38.ebuild | 60 ++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/sci-libs/cfitsio/Manifest b/sci-libs/cfitsio/Manifest index 00ace02..df8d0d0 100644 --- a/sci-libs/cfitsio/Manifest +++ b/sci-libs/cfitsio/Manifest @@ -1 +1,2 @@ DIST cfitsio-3.360.tar.gz 4104894 SHA256 b5fb209583c76a0bcc39808e55ebf2417b9c26114c59db1a3f49ea1ede5fa95d SHA512 158819b4a3a29c29a5f017283e2b20067420994e881d202dbf3ba199c9e564dc1e74f8be5ce84f78107126d2a8688cc55cc7ed284540ca647e44cdc3b0b02072 WHIRLPOOL 05589a27c6fa83a0240b26924954c1c6d25d985ad609dfbd37fccfe5758fd28efbd97a5ec289803053e2f53e053e51c017292845de1b4368bcd1725fa2eccdb7 +DIST cfitsio-3.38.tar.gz 4142216 SHA256 e2a4e4fa9ed7f32afb87527b53242bcfb080b5832eec56bca57fb640efac5f84 SHA512 ed1bb8be48778dfaf5f5f973af4905b264f0600c29dcabf994d6c0d79f0cf472f41ed81c2d183b892447a856da795f50fe68a1364f34ab5fce55d13a4343add0 WHIRLPOOL 3ff0978f82f05b09133a61955e855e3633b006009dab165157ec8437d4b284e620c8d9b5a232095dcdae84dfffb8daa42535aac4a3f1cf492b39c96566f79b31 diff --git a/sci-libs/cfitsio/cfitsio-3.38.ebuild b/sci-libs/cfitsio/cfitsio-3.38.ebuild new file mode 100644 index 0000000..1bc7e27 --- /dev/null +++ b/sci-libs/cfitsio/cfitsio-3.38.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +FORTRAN_NEEDED=fortran + +inherit autotools-multilib fortran-2 + +DESCRIPTION="C and Fortran library for manipulating FITS files" +HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" +SRC_URI="https://dev.gentoo.org/~bicatali/distfiles/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" +IUSE="bzip2 doc examples fortran static-libs +tools threads" + +RDEPEND=" + sys-libs/zlib[${MULTILIB_USEDEP}] + bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + fortran? ( dev-lang/cfortran )" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} + +src_prepare() { + # avoid internal cfortran + if use fortran; then + mv cfortran.h cfortran.h.disabled + ln -s "${EPREFIX}"/usr/include/cfortran.h . || die + fi + autotools-multilib_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable fortran) + $(use_enable threads) + $(use_enable tools) + $(use_with bzip2) + ) + autotools-multilib_src_configure +} + +src_install () { + autotools-multilib_src_install + dodoc README README.md CHANGES.md docs/changes.txt docs/cfitsio.doc + use fortran && dodoc docs/fitsio.doc + use doc && dodoc docs/{quick,cfitsio,fpackguide}.pdf + use doc && use fortran && dodoc docs/fitsio.pdf + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins cookbook.c testprog.c speed.c smem.c + use fortran && doins cookbook.f testf77.f + fi +}