mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-mathematics/manifold: bump to 3.0.0_pre20241115
Drop RESTRICT=mirror. Ignore CXXFLAGS set by the build system. Don't pass -ggdb as that should be set via user-CXXFLAGS. Add metadata.xml. Add myself as maintainer. Adjust ebuild style to fit the rest my ebuilds. Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST manifold-3.0.0_pre20241108.tar.gz 29138377 BLAKE2B 4b12bf934ad1bef70aa24dad84898cef62dcd2cade2f2c7314775cc50f07ff952d7686b1585bcf1bab492a905d17f4cd14ebc1b56eba666b72a2bbc255ca685b SHA512 fb871468613bedb84d558e124f3ed8ebe90fb1377047c3a519a64d212b4a28332719e070e7730ac3dcd2360d518f773dda040e37da1e86d7bd768fc8c1ffee0a
|
||||
DIST manifold-3.0.0_pre20241115.tar.gz 29143605 BLAKE2B 84c3e4c98a9279187660f31e4010097de431472412f2591943c99195edad9f700115df4b362d968b95e3ee136c699eecf2dc9845001019f71e9cf7b0cbca4d0e SHA512 bae671d190d8fbfc0ee12989a73a38d7d0ddf0e0081db8f56a446c09998e24f43828d70731f97d6948599f31ef6734f86183debc09f4cec07983af317ce0dba8
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
COMMIT=66bca6e3fdfce0f590ca84edc1a6256502636f4b
|
||||
COMMIT=e7e0780114881dcf6e5ad934323f2595966865f9
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit cmake python-single-r1
|
||||
|
||||
@@ -19,17 +19,17 @@ KEYWORDS="~amd64"
|
||||
IUSE="debug python test"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RESTRICT="!test? ( test ) mirror"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-cpp/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 '
|
||||
@@ -37,27 +37,32 @@ DEPEND="
|
||||
')
|
||||
)
|
||||
test? ( dev-cpp/gtest )
|
||||
${RDEPEND}"
|
||||
${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=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)
|
||||
-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)"
|
||||
)
|
||||
if use debug; then
|
||||
mycmakeargs+=(
|
||||
-DMANIFOLD_FLAGS=-ggdb
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${BUILD_DIR}"/test/manifold_test || die
|
||||
"${BUILD_DIR}/test/manifold_test" || die
|
||||
}
|
||||
15
sci-mathematics/manifold/metadata.xml
Normal file
15
sci-mathematics/manifold/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>negril.nx+gentoo@gmail.com</email>
|
||||
<name>Paul Zander</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">elalish/manifold</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user