public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cgal/
Date: Sat, 23 Nov 2024 21:25:42 +0000 (UTC)	[thread overview]
Message-ID: <1732397097.1af399b5faae4b58ecf57046c0e15bef3a3f6cb6.sam@gentoo> (raw)

commit:     1af399b5faae4b58ecf57046c0e15bef3a3f6cb6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 21:24:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 21:24:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af399b5

sci-mathematics/cgal: add 6.0.1 w/ tests

Wire up tests too.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/cgal/Manifest          |  2 +
 sci-mathematics/cgal/cgal-6.0.1.ebuild | 68 ++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/sci-mathematics/cgal/Manifest b/sci-mathematics/cgal/Manifest
index 7e21982125c6..ee6adfaf6e17 100644
--- a/sci-mathematics/cgal/Manifest
+++ b/sci-mathematics/cgal/Manifest
@@ -3,4 +3,6 @@ DIST CGAL-5.6.1-doc_html.tar.xz 55148128 BLAKE2B 526d71be5c474570f5d17734a0931ec
 DIST CGAL-5.6.1.tar.xz 24893904 BLAKE2B 51abb85af785a6428893df282ce8e8dd6f2aed705d89b057e52f08e4cc42bf2696f676553bd89adb5178915b980b2566bae61bc9809ba58913b9244dac26034d SHA512 34b0b5958253fd4bcfd83ec40d3232bcd1f3ee4c07739ad3e19bf97104c628d10601909cc2343e48fceca0407a41f2c31a686b182b795e471a9a02f1964574f0
 DIST CGAL-5.6.tar.xz 24874364 BLAKE2B 556c05177f8b3bcecfd16f2bd38cb6505ab04fb41f1fdcfc97a300f539c7642c3529c75cbe29fd6186b329b3ea844698e752d04690d010a7a5c3f5b6ad3a141f SHA512 1d91ad870b63bce36e060c0de7fa2e7ab98f9d9f6cf7c94d91a6677db237f50c28f8fc49f24bef943b2adcb5a4a8acf01dd94092a97024c33413763348131ea4
 DIST CGAL-6.0-doc_html.tar.xz 59969836 BLAKE2B 4b1a64767e4fba2cd99ff79c361a155a4fd96feac016bf2e556a68eedbef97565db5f3cd58cfc862fbadb7aa0c8ce7bbe85fd7c0a6e17554e384f09004792f3c SHA512 38d77f14bb3ec3fcdec9f8a951970ed843a7171d3cb3bfeb9d4bf5b8312857ba405ec71afcb04bbc4c703286c66ce364c7f0383831aa46b2ef3a6cf30ad2ab15
+DIST CGAL-6.0.1-doc_html.tar.xz 59971752 BLAKE2B 050f078d7c56b5a9044b319f35c9602fdab68cc371c1255af37866794fd26b498552275ad1ad4578a3a5ab6fa0d09afaa53e24af602fea0d0d05b8b6d6c1ad41 SHA512 df623bbaeabacc2a8391ff0b2ba7fdaabb078eb95a9e691ad24a2a66a6bd863fca798e76a1d03f9af01ef0acc981654cbb9eecc7f627deb9c4fcec9ec671cbc3
+DIST CGAL-6.0.1.tar.xz 25659212 BLAKE2B 48a707b74f6fc823197e60ae9643001ff24efcb7adfcb325018ee54ce538ef5f356f19fb2e979c2b2cd5fb0945590d37abe3f41bae4a511c9c88e83edab03422 SHA512 f3dfd8f872d5ac016f6e2e1ae83a0c070fc352c1d97dd5012f774e708401a8ad7e78bc117a48dbc799aba49d6bd537470c35a52956d9484f877df72497cfc23d
 DIST CGAL-6.0.tar.xz 25979696 BLAKE2B dfc7785cc6398334b877a8839c2ea20e4540663f86230d54b45771519cf2ade31bb943e512714b72e5bc5af80978cfe9833332bbb1a75fa009de9d6caf6c8f89 SHA512 3c7aa6e5a014867cc2a2038c96ab7f62ab735d678efc580cc498fa27209cd338c4bba9524ea90d4dd88442e4df648791b83c465e7319ae5870f8c3c8827128e7

diff --git a/sci-mathematics/cgal/cgal-6.0.1.ebuild b/sci-mathematics/cgal/cgal-6.0.1.ebuild
new file mode 100644
index 000000000000..17cb4b0c9a50
--- /dev/null
+++ b/sci-mathematics/cgal/cgal-6.0.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Modules provided by dev-cpp/eigen
+CMAKE_REMOVE_MODULES_LIST=( FindEigen3 )
+inherit cmake
+
+MY_PV="${PV/_/-}"
+MY_P="CGAL-${PV/_/-}"
+DESCRIPTION="C++ library for geometric algorithms and data structures"
+HOMEPAGE="https://www.cgal.org/"
+SRC_URI="
+	https://github.com/CGAL/cgal/releases/download/v${MY_PV}/${MY_P}.tar.xz
+	doc? ( https://github.com/CGAL/cgal/releases/download/v${MY_PV}/${MY_P}-doc_html.tar.xz )"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-3 GPL-3 Boost-1.0"
+SLOT="0/14"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-cpp/eigen
+	dev-libs/boost:=
+	dev-libs/gmp:=[cxx]
+	dev-libs/mpfr:=
+	sys-libs/zlib
+	x11-libs/libX11:=
+	virtual/glu:=
+	virtual/opengl:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-arch/xz-utils
+	virtual/pkgconfig
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-4.11.1-fix-buildsystem.patch
+)
+
+src_configure() {
+	local mycmakeargs=(
+		-DCGAL_INSTALL_LIB_DIR="$(get_libdir)"
+		-DCGAL_INSTALL_CMAKE_DIR="$(get_libdir)/cmake/CGAL"
+
+		# https://github.com/CGAL/cgal/wiki/Testing#using-ctest
+		-DCGAL_ENABLE_TESTING="$(usex test)"
+		-DCGAL_TEST_SUITE="$(usex test)"
+		-DBUILD_TESTING="$(usex test)"
+		-DWITH_examples="$(usex test)"
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	use doc && local HTML_DOCS=( "${WORKDIR}"/doc_html/. )
+
+	cmake_src_install
+
+	if use examples; then
+		dodoc -r examples demo
+	fi
+}


             reply	other threads:[~2024-11-23 21:25 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-23 21:25 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-10 22:43 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/cgal/ Sam James
2024-12-05 21:16 Sam James
2024-10-15 19:05 Matthias Maier
2024-07-23 12:54 Matthias Maier
2024-07-03 22:43 Matthias Maier
2024-02-20 20:49 Andreas Sturmlechner
2024-01-31  9:18 Sam James
2024-01-03 15:22 Andrew Ammerlaan
2023-12-16 19:16 Arthur Zamarin
2023-12-03  5:45 Arthur Zamarin
2023-06-19 18:26 Matthias Maier
2022-12-19 14:47 Andreas Sturmlechner
2022-12-18 20:15 Arthur Zamarin
2022-09-04 12:23 David Seifert
2022-07-16 14:33 Sam James
2022-06-08 22:37 Matthias Maier
2022-06-08 22:14 Matthias Maier
2022-06-08 22:14 Matthias Maier
2021-07-10  9:46 David Seifert
2021-07-07 17:48 Joonas Niilola
2021-06-18 19:18 David Seifert
2021-06-18 13:15 David Seifert
2021-05-05  6:42 Joonas Niilola
2021-02-25 11:19 Sam James
2021-02-19 12:07 Sam James
2021-02-18 20:12 Andreas Sturmlechner
2021-01-05 20:51 Sam James
2020-12-29  9:52 Sam James
2020-12-27  3:37 Sam James
2020-11-20  9:53 David Seifert
2020-11-20  9:53 David Seifert
2020-08-25 10:25 Sam James
2019-06-05  6:48 Agostino Sarubbo
2018-09-09 15:54 Amy Liffey
2018-03-05 15:47 Andreas Sturmlechner
2017-05-13 10:52 Agostino Sarubbo
2017-04-07  3:04 Matthias Maier
2017-04-07  3:04 Matthias Maier
2016-05-06 10:03 David Seifert
2016-05-05 18:32 David Seifert
2016-05-03 21:24 David Seifert
2016-04-19 20:16 Ian Stakenvicius
2016-03-05 17:30 David Seifert
2016-03-05  9:44 David Seifert
2015-12-25 16:20 Agostino Sarubbo
2015-12-25 15:42 Agostino Sarubbo
2015-08-09 17:02 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1732397097.1af399b5faae4b58ecf57046c0e15bef3a3f6cb6.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox