mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
sci-mathematics/manifold: drop 3.0.0_pre20241115
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41967 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST manifold-3.0.0_pre20241115.tar.gz 29143605 BLAKE2B 84c3e4c98a9279187660f31e4010097de431472412f2591943c99195edad9f700115df4b362d968b95e3ee136c699eecf2dc9845001019f71e9cf7b0cbca4d0e SHA512 bae671d190d8fbfc0ee12989a73a38d7d0ddf0e0081db8f56a446c09998e24f43828d70731f97d6948599f31ef6734f86183debc09f4cec07983af317ce0dba8
|
||||
DIST manifold-3.0.1.tar.gz 29246794 BLAKE2B 342cc6a3f125613e2d8837f04936bfce0fd2bf6cc6390bf2924916f74e5528d0f082c17a646a52255f4c4087359fd312ee43a4b5661d6682fd8f1e98eaa905cf SHA512 6970d7b30a0174eacd0a7f74d8e9647150f44144237815d6539a0669fcc74b5ddf336d12d1ee57b18ad6a97d8b58501cfe4072f9fd12c88395714471cb654f5a
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
COMMIT=e7e0780114881dcf6e5ad934323f2595966865f9
|
||||
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 )"
|
||||
|
||||
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_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
sed \
|
||||
-e "/list(APPEND MANIFOLD_FLAGS/s/^/# DONOTSET /" \
|
||||
-i CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DMANIFOLD_CROSS_SECTION="yes"
|
||||
-DMANIFOLD_DEBUG="$(usex debug)"
|
||||
-DMANIFOLD_DOWNLOADS="no"
|
||||
-DMANIFOLD_EXPORT="no"
|
||||
-DMANIFOLD_JSBIND="no"
|
||||
-DMANIFOLD_PAR="no"
|
||||
-DMANIFOLD_PYBIND="$(usex python)"
|
||||
-DMANIFOLD_TEST="$(usex test)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${BUILD_DIR}/test/manifold_test" || die
|
||||
}
|
||||
Reference in New Issue
Block a user