From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6856F158089 for ; Sun, 17 Sep 2023 14:53:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 648EC2BC016; Sun, 17 Sep 2023 14:53:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 489662BC016 for ; Sun, 17 Sep 2023 14:53:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E034335D31 for ; Sun, 17 Sep 2023 14:53:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C023B11C7 for ; Sun, 17 Sep 2023 14:53:35 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1694962276.dfb8fc1ab575e04ca6d8f6e8b4a11e4e1a4b4364.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/cpl/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-astronomy/cpl/Manifest sci-astronomy/cpl/cpl-7.3.2.ebuild X-VCS-Directories: sci-astronomy/cpl/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: dfb8fc1ab575e04ca6d8f6e8b4a11e4e1a4b4364 X-VCS-Branch: master Date: Sun, 17 Sep 2023 14:53:35 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c77d43ad-784f-42ef-bba4-273f09f71ae5 X-Archives-Hash: 615c15648af6771bac639f8df9e2d86f commit: dfb8fc1ab575e04ca6d8f6e8b4a11e4e1a4b4364 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Fri Sep 15 12:11:11 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Sep 17 14:51:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb8fc1a sci-astronomy/cpl: add 7.3.2, update EAPI 6 -> 8 Bug: https://bugs.gentoo.org/834577 Bug: https://bugs.gentoo.org/905683 Signed-off-by: Volkmar W. Pogatzki pogatzki.net> Signed-off-by: Arthur Zamarin gentoo.org> sci-astronomy/cpl/Manifest | 1 + sci-astronomy/cpl/cpl-7.3.2.ebuild | 70 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/sci-astronomy/cpl/Manifest b/sci-astronomy/cpl/Manifest index 6390d6e12c57..da45f158ecbf 100644 --- a/sci-astronomy/cpl/Manifest +++ b/sci-astronomy/cpl/Manifest @@ -1 +1,2 @@ DIST cpl-7.0.tar.gz 3090767 BLAKE2B bb1f6dcc35c1e2f574a6e008af2461a3832cfbd742bcef7ce9ff151d7fd7157ecc34b6efb75dcf3fc77e41ae20d7d14f229da05351712c3214f9da4814e0f5e5 SHA512 d79eb37a5f29740edc1736815bde6ec31bc4e1f648552cad48ab70626170ff6195d226de0c198e0287dee3bfe815ee7302b6882395d710c534fabe0c5353aaa6 +DIST cpl-7.3.2.tar.gz 3442591 BLAKE2B 286b2a0f6b9af92395a3247b176bf9ab28a126008f3c68b790515dd6d13cf5bf02982382fe3c3ea3067020ff84c3e525326d3f6cb9110d8b1eded485f7d95da9 SHA512 fa0877346967581992ddd8e0e64c6b280b3bac7d086c071d6428d1ee3afa8030e1e6beb5e1b23d23447c7669b86e5264cd4fe6f9fd330ab15ed883aec4ea2ab6 diff --git a/sci-astronomy/cpl/cpl-7.3.2.ebuild b/sci-astronomy/cpl/cpl-7.3.2.ebuild new file mode 100644 index 000000000000..14ed1365f279 --- /dev/null +++ b/sci-astronomy/cpl/cpl-7.3.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_OPT_USE=gasgano + +inherit autotools java-pkg-opt-2 + +DESCRIPTION="ESO common pipeline library for astronomical data reduction" +HOMEPAGE="https://www.eso.org/sci/software/cpl/" +SRC_URI="https://ftp.eso.org/pub/dfs/pipelines/libraries/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/26" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc gasgano static-libs threads" + +RDEPEND=" + dev-libs/libltdl + sci-astronomy/wcslib:0= + sci-libs/cfitsio:0= + sci-libs/fftw:3.0= + gasgano? ( sci-astronomy/gasgano )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +src_prepare() { + default + # remove cpu chcking + sed -e '/CPL_CHECK_CPU/d' \ + -i configure.ac libcext/configure.ac || die + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-ltdl-install + --without-included-ltdl + --with-cfitsio="${EPREFIX}/usr" + --with-wcs="${EPREFIX}/usr" + --with-fftw="${EPREFIX}/usr" + $(use_enable doc maintainer-mode) + $(use_enable static-libs static) + $(use_enable threads) + ) + if use gasgano; then + myeconfargs+=( + --enable-gasgano + --with-gasgano="${EPREFIX}/usr" + --with-gasgano-classpath="${EPREFIX}/usr/share/gasgano/lib" + --with-java="$(java-config -O)" + ) + else + myeconfargs+=( --disable-gasgano ) + fi + econf ${myeconfargs[@]} +} + +src_compile() { + default + use doc && emake html +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die + use doc && emake install-html +}