From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/
Date: Sat, 16 Nov 2024 21:39:49 +0000 (UTC) [thread overview]
Message-ID: <1731793145.b0de2d77915a2db22466744bc4c78809e5a1b6b9.sam@gentoo> (raw)
commit: b0de2d77915a2db22466744bc4c78809e5a1b6b9
Author: Chris Mayo <aklhfex <AT> gmail <DOT> com>
AuthorDate: Mon Nov 11 19:34:19 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <aklhfex <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> 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
+}
next reply other threads:[~2024-11-16 21:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-16 21:39 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-07-22 19:41 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/ Sam James
2025-07-16 7:10 Joonas Niilola
2025-05-22 16:08 Sam James
2025-05-10 5:48 Joonas Niilola
2025-05-07 19:12 Arthur Zamarin
2025-02-12 19:25 Arthur Zamarin
2025-01-03 22:26 Sam James
2025-01-03 22:08 Sam James
2024-11-16 21:39 Sam James
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=1731793145.b0de2d77915a2db22466744bc4c78809e5a1b6b9.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