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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9DCB3158042 for ; Sat, 16 Nov 2024 21:39:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5F05E095F; Sat, 16 Nov 2024 21:39:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4C966E095F for ; Sat, 16 Nov 2024 21:39:52 +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 C29FE33C4EE for ; Sat, 16 Nov 2024 21:39:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32BCB1626 for ; Sat, 16 Nov 2024 21:39:49 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1731793145.b0de2d77915a2db22466744bc4c78809e5a1b6b9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-mathematics/manifold/Manifest sci-mathematics/manifold/manifold-3.0.0_pre20241108.ebuild X-VCS-Directories: sci-mathematics/manifold/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b0de2d77915a2db22466744bc4c78809e5a1b6b9 X-VCS-Branch: master Date: Sat, 16 Nov 2024 21:39:49 +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: b8e3ab42-4809-4ee0-a0bf-6d76bf203f9f X-Archives-Hash: 137609ec798b4a0c4b55d8ddbe2dc2d7 commit: b0de2d77915a2db22466744bc4c78809e5a1b6b9 Author: Chris Mayo gmail com> AuthorDate: Mon Nov 11 19:34:19 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat Nov 16 21:39:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0de2d77 sci-mathematics/manifold: new package, add 3.0.0_pre20241108 Signed-off-by: Chris Mayo gmail.com> Signed-off-by: Sam James gentoo.org> sci-mathematics/manifold/Manifest | 1 + .../manifold/manifold-3.0.0_pre20241108.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/sci-mathematics/manifold/Manifest b/sci-mathematics/manifold/Manifest new file mode 100644 index 000000000000..fd902480b99b --- /dev/null +++ b/sci-mathematics/manifold/Manifest @@ -0,0 +1 @@ +DIST manifold-3.0.0_pre20241108.tar.gz 29138377 BLAKE2B 4b12bf934ad1bef70aa24dad84898cef62dcd2cade2f2c7314775cc50f07ff952d7686b1585bcf1bab492a905d17f4cd14ebc1b56eba666b72a2bbc255ca685b SHA512 fb871468613bedb84d558e124f3ed8ebe90fb1377047c3a519a64d212b4a28332719e070e7730ac3dcd2360d518f773dda040e37da1e86d7bd768fc8c1ffee0a diff --git a/sci-mathematics/manifold/manifold-3.0.0_pre20241108.ebuild b/sci-mathematics/manifold/manifold-3.0.0_pre20241108.ebuild new file mode 100644 index 000000000000..69c4db1a7054 --- /dev/null +++ b/sci-mathematics/manifold/manifold-3.0.0_pre20241108.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +COMMIT=66bca6e3fdfce0f590ca84edc1a6256502636f4b +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake python-single-r1 + +DESCRIPTION="Geometry library for topological robustness" +HOMEPAGE="https://github.com/elalish/manifold" +SRC_URI="https://github.com/elalish/manifold/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="debug python test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RESTRICT="!test? ( test ) mirror" + +RDEPEND=" + dev-cpp/tbb + sci-mathematics/clipper2 + python? ( ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ') + ) + " +DEPEND=" + python? ( + $(python_gen_cond_dep ' + >=dev-python/nanobind-2.1.0[${PYTHON_USEDEP}] + ') + ) + test? ( dev-cpp/gtest ) + ${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DMANIFOLD_CROSS_SECTION=ON + -DMANIFOLD_DEBUG=$(usex debug) + -DMANIFOLD_DOWNLOADS=OFF + -DMANIFOLD_EXPORT=OFF + -DMANIFOLD_JSBIND=OFF + -DMANIFOLD_PAR=ON + -DMANIFOLD_PYBIND=$(usex python) + -DMANIFOLD_TEST=$(usex test) + ) + if use debug; then + mycmakeargs+=( + -DMANIFOLD_FLAGS=-ggdb + ) + fi + cmake_src_configure +} + +src_test() { + "${BUILD_DIR}"/test/manifold_test || die +}