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 6BDE4158041 for ; Sun, 10 Mar 2024 16:48:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9484FE2A91; Sun, 10 Mar 2024 16:48:18 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 74B72E2A91 for ; Sun, 10 Mar 2024 16:48:18 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 877CE33BE3B for ; Sun, 10 Mar 2024 16:48:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 131F6FCB for ; Sun, 10 Mar 2024 16:48:16 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1710089275.fd6844e50f31693178a7c41561f28bdcaea2b4ab.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/GeographicLib/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/GeographicLib/GeographicLib-2.3.ebuild sci-geosciences/GeographicLib/Manifest sci-geosciences/GeographicLib/metadata.xml X-VCS-Directories: sci-geosciences/GeographicLib/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: fd6844e50f31693178a7c41561f28bdcaea2b4ab X-VCS-Branch: master Date: Sun, 10 Mar 2024 16:48:16 +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: f62322ec-adf5-4a97-b497-574524bcf9bf X-Archives-Hash: 3df4e248c1ea0b065c946eb268263ea2 commit: fd6844e50f31693178a7c41561f28bdcaea2b4ab Author: Andrew Ammerlaan gentoo org> AuthorDate: Sun Mar 10 16:24:21 2024 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sun Mar 10 16:47:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd6844e5 sci-geosciences/GeographicLib: add 2.3 python bindings are now distributed separately Closes: https://bugs.gentoo.org/851612 Closes: https://bugs.gentoo.org/923314 Closes: https://bugs.gentoo.org/910022 Signed-off-by: Andrew Ammerlaan gentoo.org> .../GeographicLib/GeographicLib-2.3.ebuild | 48 ++++++++++++++++++++++ sci-geosciences/GeographicLib/Manifest | 1 + sci-geosciences/GeographicLib/metadata.xml | 3 +- 3 files changed, 51 insertions(+), 1 deletion(-) diff --git a/sci-geosciences/GeographicLib/GeographicLib-2.3.ebuild b/sci-geosciences/GeographicLib/GeographicLib-2.3.ebuild new file mode 100644 index 000000000000..007b8af4fdfa --- /dev/null +++ b/sci-geosciences/GeographicLib/GeographicLib-2.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_PN="${PN,,}" + +DESCRIPTION="C++ library for converting geographic coordinate systems" +HOMEPAGE="https://sourceforge.net/projects/geographiclib/ https://github.com/geographiclib/geographiclib" +SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/26" +KEYWORDS="~amd64 ~arm" +IUSE="doc" + +BDEPEND=" + doc? ( + >=app-text/doxygen-1.8.7 + >=dev-lang/perl-5.26.1-r1 + >=dev-python/sphinx-1.6.3-r2 + >=sys-apps/util-linux-2.31 + ) +" + +src_configure() { + export GEODATAPATH="/usr/share/${MY_PN}" + + local mycmakeargs=( + -DBUILD_DOCUMENTATION=$(usex doc) + -DDOCDIR="${EPREFIX}/usr/share/doc/${PF}" + -DEXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" + -DBUILD_SHARED_LIBS=ON + -DGEOGRAPHICLIB_DATA="${GEODATAPATH}" + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + insinto "/usr/share/maxima/${MY_PN}" + doins -r maxima/. + + find "${D}" -name "*.la" -delete || die +} diff --git a/sci-geosciences/GeographicLib/Manifest b/sci-geosciences/GeographicLib/Manifest index fb8fd5f02107..d0412af95773 100644 --- a/sci-geosciences/GeographicLib/Manifest +++ b/sci-geosciences/GeographicLib/Manifest @@ -1 +1,2 @@ DIST GeographicLib-1.52.tar.gz 2432658 BLAKE2B 87328de1774ab9aec05355362c9a1760cf62864135b97a3e9cb1382b0ec9825b032f6c67a5e02b762c3009a3876a9cd995e3a49a3ad3c051dcd36446b55d0191 SHA512 98a4d33764db4a4755851a7db639fd9e055dcf4f1f949258e112fce2e198076b5896fcae2c1ea36b37fe1000d28eec326636a730e70f25bc19a1610423ba6859 +DIST GeographicLib-2.3.tar.gz 1701815 BLAKE2B 5695c5edd5b674f26f2fa21a835b155bca4c33177177750670fdf19f95ccb6d37eb13493b754820ccb22c5a05c8dc554da134eef37947a1d261d4ec6f6ebbcbe SHA512 1a1bd0fc2dc3e1372cf22618af3a4340bbc6497f94c64226c97654dfff92a4bf3acf47d91592741fe0c643d401d9721f680bdb4974b8ee258fb09d525fbaec67 diff --git a/sci-geosciences/GeographicLib/metadata.xml b/sci-geosciences/GeographicLib/metadata.xml index e2f2a267068d..44742be323e4 100644 --- a/sci-geosciences/GeographicLib/metadata.xml +++ b/sci-geosciences/GeographicLib/metadata.xml @@ -10,9 +10,10 @@ charles@karney.com Charles Karney - https://geographiclib.sourceforge.io/html + https://geographiclib.sourceforge.io/html/ https://sourceforge.net/p/geographiclib/bugs/ geographiclib + geographiclib/geographiclib GeographicLib is a small set of C++ classes for converting between geographic, UTM, UPS, MGRS, and geocentric coordinates, for gravity (e.g., EGM2008), geoid, and geomagnetic field (e.g., WMM2010) calculations, and for solving geodesic problems.