mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
sci-mathematics/manifold: drop 3.0.2_pre20250330 3.0.1
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44592 Closes: https://github.com/gentoo/gentoo/pull/44592 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
e1ea705943
commit
8bf0381076
@ -1,4 +1,2 @@
|
|||||||
DIST manifold-3.0.1.tar.gz 29246794 BLAKE2B 342cc6a3f125613e2d8837f04936bfce0fd2bf6cc6390bf2924916f74e5528d0f082c17a646a52255f4c4087359fd312ee43a4b5661d6682fd8f1e98eaa905cf SHA512 6970d7b30a0174eacd0a7f74d8e9647150f44144237815d6539a0669fcc74b5ddf336d12d1ee57b18ad6a97d8b58501cfe4072f9fd12c88395714471cb654f5a
|
|
||||||
DIST manifold-3.0.2_pre20250330.tar.gz 29614163 BLAKE2B e4aaca3e349d9ec8a8a5029fea56736ed90aebb2bc76ddd6f73b01cd71527805d515a8cb78b3889038e05633f3dab6b1273b789e8728b965a2db974f471f1f70 SHA512 f4db8083c6e164becc3bd779042476cb64ea48ae464bbf9176c3c7e894bb1af7907e9eb7b74b67305bb6438cfe1fd33df8a1dd242af169ad077b89a16ca7ab72
|
|
||||||
DIST manifold-3.1.0.tar.gz 29612205 BLAKE2B 66f3dfed7e5e3a12720ac38860d396090e6a7cd6a435c53cd6afdb0b64048d9e2016cfaf54fe018a0bdd9663da486267278ded329bfdeb0ff0f15ececb3b3dd1 SHA512 259d7233a4d6f2ac6dcdf30d04bd82dd454da914c2aa77ebd0c76c2245b8e802beec62b52b3592c290adede4f57a0ee3b4abd82daec28012542fb4e0240dd1da
|
DIST manifold-3.1.0.tar.gz 29612205 BLAKE2B 66f3dfed7e5e3a12720ac38860d396090e6a7cd6a435c53cd6afdb0b64048d9e2016cfaf54fe018a0bdd9663da486267278ded329bfdeb0ff0f15ececb3b3dd1 SHA512 259d7233a4d6f2ac6dcdf30d04bd82dd454da914c2aa77ebd0c76c2245b8e802beec62b52b3592c290adede4f57a0ee3b4abd82daec28012542fb4e0240dd1da
|
||||||
DIST manifold-3.2.1.tar.gz 29615413 BLAKE2B 0c5d9029674a810e8db278521dd5b2f25ace6279ee9336d4df42bca5e672133c998619c5cb7190328c0f6ac4ce95ec3ff474e6abb36a27d36df3e96a11c0911e SHA512 f2b69ac4453829896db4ac89dd54654cc7d2b36dd328d880b392ed8d40a2e2c7420d02ef06f6ae840a423c2a17bae0eb022d4444a39af9e08111bf11f9563092
|
DIST manifold-3.2.1.tar.gz 29615413 BLAKE2B 0c5d9029674a810e8db278521dd5b2f25ace6279ee9336d4df42bca5e672133c998619c5cb7190328c0f6ac4ce95ec3ff474e6abb36a27d36df3e96a11c0911e SHA512 f2b69ac4453829896db4ac89dd54654cc7d2b36dd328d880b392ed8d40a2e2c7420d02ef06f6ae840a423c2a17bae0eb022d4444a39af9e08111bf11f9563092
|
||||||
|
|||||||
@ -1,87 +0,0 @@
|
|||||||
# Copyright 1999-2025 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{10..13} )
|
|
||||||
inherit cmake python-single-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Geometry library for topological robustness"
|
|
||||||
HOMEPAGE="https://github.com/elalish/manifold"
|
|
||||||
|
|
||||||
if [[ ${PV} = *9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/elalish/manifold.git"
|
|
||||||
else
|
|
||||||
if [[ ${PV} = *pre* ]] ; then
|
|
||||||
COMMIT="e7e0780114881dcf6e5ad934323f2595966865f9"
|
|
||||||
SRC_URI="https://github.com/elalish/manifold/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/elalish/manifold/releases/download/v${PV}/${P}.tar.gz"
|
|
||||||
fi
|
|
||||||
|
|
||||||
KEYWORDS="amd64 ~arm64"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="debug python +tbb test"
|
|
||||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
tbb? ( 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}
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
|
|
||||||
sed \
|
|
||||||
-e "/list(APPEND MANIFOLD_FLAGS/s/^/# DONOTSET /" \
|
|
||||||
-i CMakeLists.txt || die
|
|
||||||
|
|
||||||
sed \
|
|
||||||
-e '/<memory>/a#include <cstdint>' \
|
|
||||||
-i include/manifold/manifold.h || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DMANIFOLD_CROSS_SECTION="yes"
|
|
||||||
-DMANIFOLD_DEBUG="$(usex debug)"
|
|
||||||
-DMANIFOLD_DOWNLOADS="no"
|
|
||||||
-DMANIFOLD_EXPORT="no"
|
|
||||||
-DMANIFOLD_JSBIND="no"
|
|
||||||
-DMANIFOLD_PAR="$(usex tbb ON OFF)"
|
|
||||||
-DMANIFOLD_PYBIND="$(usex python)"
|
|
||||||
-DMANIFOLD_TEST="$(usex test)"
|
|
||||||
)
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
"${BUILD_DIR}/test/manifold_test" || die
|
|
||||||
}
|
|
||||||
@ -1,87 +0,0 @@
|
|||||||
# Copyright 1999-2025 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{11..13} )
|
|
||||||
inherit cmake python-single-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Geometry library for topological robustness"
|
|
||||||
HOMEPAGE="https://github.com/elalish/manifold"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/elalish/manifold.git"
|
|
||||||
else
|
|
||||||
if [[ ${PV} = *pre* ]] ; then
|
|
||||||
COMMIT="7c8fbe186aa1ac5eb73f12c28bdef093ee4d11c9"
|
|
||||||
SRC_URI="https://github.com/elalish/manifold/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
||||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/elalish/manifold/releases/download/v${PV}/${P}.tar.gz"
|
|
||||||
fi
|
|
||||||
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="debug python +tbb test"
|
|
||||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
|
||||||
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
tbb? ( 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}
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
|
|
||||||
sed \
|
|
||||||
-e "/list(APPEND MANIFOLD_FLAGS/s/^/# DONOTSET /" \
|
|
||||||
-i CMakeLists.txt || die
|
|
||||||
|
|
||||||
sed \
|
|
||||||
-e '/<memory>/a#include <cstdint>' \
|
|
||||||
-i include/manifold/manifold.h || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DMANIFOLD_CROSS_SECTION="yes"
|
|
||||||
-DMANIFOLD_DEBUG="$(usex debug)"
|
|
||||||
-DMANIFOLD_DOWNLOADS="no"
|
|
||||||
-DMANIFOLD_EXPORT="no"
|
|
||||||
-DMANIFOLD_JSBIND="no"
|
|
||||||
-DMANIFOLD_PAR="$(usex tbb ON OFF)"
|
|
||||||
-DMANIFOLD_PYBIND="$(usex python)"
|
|
||||||
-DMANIFOLD_TEST="$(usex test)"
|
|
||||||
)
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
"${BUILD_DIR}/test/manifold_test" || die
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user