public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/
@ 2024-11-16 21:39 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-11-16 21:39 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/
@ 2024-11-16 21:39 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2024-11-16 21:39 UTC (permalink / raw
  To: gentoo-commits

commit:     387f807dc8dc31a4218e362bec28acba4ce3c61e
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sat Nov 16 01:41:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 16 21:39:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=387f807d

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 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/manifold/Manifest                  |  2 +-
 ...08.ebuild => manifold-3.0.0_pre20241115.ebuild} | 43 ++++++++++++----------
 sci-mathematics/manifold/metadata.xml              | 15 ++++++++
 3 files changed, 40 insertions(+), 20 deletions(-)

diff --git a/sci-mathematics/manifold/Manifest b/sci-mathematics/manifold/Manifest
index fd902480b99b..58b71739343e 100644
--- a/sci-mathematics/manifold/Manifest
+++ b/sci-mathematics/manifold/Manifest
@@ -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

diff --git a/sci-mathematics/manifold/manifold-3.0.0_pre20241108.ebuild b/sci-mathematics/manifold/manifold-3.0.0_pre20241115.ebuild
similarity index 62%
rename from sci-mathematics/manifold/manifold-3.0.0_pre20241108.ebuild
rename to sci-mathematics/manifold/manifold-3.0.0_pre20241115.ebuild
index 69c4db1a7054..3e6c99c118e9 100644
--- a/sci-mathematics/manifold/manifold-3.0.0_pre20241108.ebuild
+++ b/sci-mathematics/manifold/manifold-3.0.0_pre20241115.ebuild
@@ -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
 }

diff --git a/sci-mathematics/manifold/metadata.xml b/sci-mathematics/manifold/metadata.xml
new file mode 100644
index 000000000000..7a2cd57d4d26
--- /dev/null
+++ b/sci-mathematics/manifold/metadata.xml
@@ -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>


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/
@ 2025-01-03 22:08 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2025-01-03 22:08 UTC (permalink / raw
  To: gentoo-commits

commit:     d7bafc2cdaaf278cf586c986d445527c13085cdc
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Fri Jan  3 16:23:03 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan  3 22:07:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7bafc2c

sci-mathematics/manifold: add 3.0.1

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/manifold/Manifest              |  1 +
 sci-mathematics/manifold/manifold-3.0.1.ebuild | 83 ++++++++++++++++++++++++++
 sci-mathematics/manifold/metadata.xml          |  3 +
 3 files changed, 87 insertions(+)

diff --git a/sci-mathematics/manifold/Manifest b/sci-mathematics/manifold/Manifest
index 58b71739343e..2863e320ac7b 100644
--- a/sci-mathematics/manifold/Manifest
+++ b/sci-mathematics/manifold/Manifest
@@ -1 +1,2 @@
 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

diff --git a/sci-mathematics/manifold/manifold-3.0.1.ebuild b/sci-mathematics/manifold/manifold-3.0.1.ebuild
new file mode 100644
index 000000000000..966bc371e5ed
--- /dev/null
+++ b/sci-mathematics/manifold/manifold-3.0.1.ebuild
@@ -0,0 +1,83 @@
+# 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"
+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
+}
+
+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
+}

diff --git a/sci-mathematics/manifold/metadata.xml b/sci-mathematics/manifold/metadata.xml
index 7a2cd57d4d26..041754cb8dc3 100644
--- a/sci-mathematics/manifold/metadata.xml
+++ b/sci-mathematics/manifold/metadata.xml
@@ -12,4 +12,7 @@
 	<upstream>
 		<remote-id type="github">elalish/manifold</remote-id>
 	</upstream>
+	<use>
+		<flag name="tbb">Enable Parallel backend with <pkg>dev-cpp/tbb</pkg></flag>
+	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/
@ 2025-01-03 22:26 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2025-01-03 22:26 UTC (permalink / raw
  To: gentoo-commits

commit:     22750a71ec6f0d31736c28856e3a3d59caff3b62
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  3 22:26:01 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan  3 22:26:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22750a71

sci-mathematics/manifold: Stabilize 3.0.0_pre20241115 amd64, #946112

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/manifold/manifold-3.0.0_pre20241115.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/manifold/manifold-3.0.0_pre20241115.ebuild b/sci-mathematics/manifold/manifold-3.0.0_pre20241115.ebuild
index 3e6c99c118e9..fe78b17187a5 100644
--- a/sci-mathematics/manifold/manifold-3.0.0_pre20241115.ebuild
+++ b/sci-mathematics/manifold/manifold-3.0.0_pre20241115.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ S="${WORKDIR}/${PN}-${COMMIT}"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 IUSE="debug python test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/
@ 2025-02-12 19:25 Arthur Zamarin
  0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2025-02-12 19:25 UTC (permalink / raw
  To: gentoo-commits

commit:     b4e4d008d0ad7716caff0692262be08e743d9442
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 19:25:02 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 19:25:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e4d008

sci-mathematics/manifold: Stabilize 3.0.1 amd64, #949659

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sci-mathematics/manifold/manifold-3.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/manifold/manifold-3.0.1.ebuild b/sci-mathematics/manifold/manifold-3.0.1.ebuild
index 966bc371e5ed..61fcfb984a91 100644
--- a/sci-mathematics/manifold/manifold-3.0.1.ebuild
+++ b/sci-mathematics/manifold/manifold-3.0.1.ebuild
@@ -21,7 +21,7 @@ else
 		SRC_URI="https://github.com/elalish/manifold/releases/download/v${PV}/${P}.tar.gz"
 	fi
 
-	KEYWORDS="~amd64"
+	KEYWORDS="amd64"
 fi
 
 LICENSE="Apache-2.0"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/
@ 2025-05-07 19:12 Arthur Zamarin
  0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2025-05-07 19:12 UTC (permalink / raw
  To: gentoo-commits

commit:     cd342a7abd5ccf7e1e15c2ff8de6b482f2ebe5f8
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed May  7 19:11:59 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed May  7 19:11:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd342a7a

sci-mathematics/manifold: Keyword 3.0.1 arm64, #955276

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 sci-mathematics/manifold/manifold-3.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/manifold/manifold-3.0.1.ebuild b/sci-mathematics/manifold/manifold-3.0.1.ebuild
index 61fcfb984a91..097de0c4451d 100644
--- a/sci-mathematics/manifold/manifold-3.0.1.ebuild
+++ b/sci-mathematics/manifold/manifold-3.0.1.ebuild
@@ -21,7 +21,7 @@ else
 		SRC_URI="https://github.com/elalish/manifold/releases/download/v${PV}/${P}.tar.gz"
 	fi
 
-	KEYWORDS="amd64"
+	KEYWORDS="amd64 ~arm64"
 fi
 
 LICENSE="Apache-2.0"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/
@ 2025-05-10  5:48 Joonas Niilola
  0 siblings, 0 replies; 10+ messages in thread
From: Joonas Niilola @ 2025-05-10  5:48 UTC (permalink / raw
  To: gentoo-commits

commit:     ed7eff5cb14438102fc0a18db53bbd319da24081
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat May 10 05:45:49 2025 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat May 10 05:45:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed7eff5c

sci-mathematics/manifold: Keyword 3.0.2_pre20250330 x86, #955276

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sci-mathematics/manifold/manifold-3.0.2_pre20250330.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/manifold/manifold-3.0.2_pre20250330.ebuild b/sci-mathematics/manifold/manifold-3.0.2_pre20250330.ebuild
index 85b5e1de0dca..066a25ef291e 100644
--- a/sci-mathematics/manifold/manifold-3.0.2_pre20250330.ebuild
+++ b/sci-mathematics/manifold/manifold-3.0.2_pre20250330.ebuild
@@ -21,7 +21,7 @@ else
 		SRC_URI="https://github.com/elalish/manifold/releases/download/v${PV}/${P}.tar.gz"
 	fi
 
-	KEYWORDS="~amd64"
+	KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="Apache-2.0"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/
@ 2025-05-22 16:08 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2025-05-22 16:08 UTC (permalink / raw
  To: gentoo-commits

commit:     9ba1c290b12fbdb667e6dc1f37b71d1c2c20700e
Author:     Sebastian Parborg <sebastian <AT> blender <DOT> org>
AuthorDate: Thu May 22 10:38:36 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 22 16:06:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba1c290

sci-mathematics/manifold: Bump to 3.1.0

Signed-off-by: Sebastian Parborg <darkdefende <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42204
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-mathematics/manifold/Manifest              |  1 +
 sci-mathematics/manifold/manifold-3.1.0.ebuild | 87 ++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/sci-mathematics/manifold/Manifest b/sci-mathematics/manifold/Manifest
index 2b767ae21910..0a0f7f825ca7 100644
--- a/sci-mathematics/manifold/Manifest
+++ b/sci-mathematics/manifold/Manifest
@@ -1,2 +1,3 @@
 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

diff --git a/sci-mathematics/manifold/manifold-3.1.0.ebuild b/sci-mathematics/manifold/manifold-3.1.0.ebuild
new file mode 100644
index 000000000000..2854b6b9e837
--- /dev/null
+++ b/sci-mathematics/manifold/manifold-3.1.0.ebuild
@@ -0,0 +1,87 @@
+# 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="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"
+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
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/
@ 2025-07-16  7:10 Joonas Niilola
  0 siblings, 0 replies; 10+ messages in thread
From: Joonas Niilola @ 2025-07-16  7:10 UTC (permalink / raw
  To: gentoo-commits

commit:     da3a361cf9f1d961c51564dbb77c9d7bad489a0a
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 16 06:59:14 2025 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jul 16 06:59:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da3a361c

sci-mathematics/manifold: Stabilize 3.1.0 amd64, #958744

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sci-mathematics/manifold/manifold-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/manifold/manifold-3.1.0.ebuild b/sci-mathematics/manifold/manifold-3.1.0.ebuild
index 2854b6b9e837..2ae1d1bc7f87 100644
--- a/sci-mathematics/manifold/manifold-3.1.0.ebuild
+++ b/sci-mathematics/manifold/manifold-3.1.0.ebuild
@@ -21,7 +21,7 @@ else
 		SRC_URI="https://github.com/elalish/manifold/releases/download/v${PV}/${P}.tar.gz"
 	fi
 
-	KEYWORDS="~amd64"
+	KEYWORDS="amd64"
 fi
 
 LICENSE="Apache-2.0"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/
@ 2025-07-22 19:41 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2025-07-22 19:41 UTC (permalink / raw
  To: gentoo-commits

commit:     23dbbaf802b7efe35d1e8a27c0dccff5a7ef5e72
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 22 19:35:25 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 22 19:41:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23dbbaf8

sci-mathematics/manifold: crank subslot for broken ABI

zen_desu reported openscad not opening:
```
$ openscad
openscad: symbol lookup error: openscad: undefined symbol: _ZN8manifold11TriangulateERKSt6vectorIS0_IN6linalg3vecIdLi2EEESaIS3_EESaIS5_EEd
```

In 3.1.0, ABI broke:
```
--- ...
+++ include/manifold/polygon.h       2025-05-14 20:50:31.000000000 +0100
@@ -52,10 +52,10 @@ using PolygonsIdx = std::vector<SimplePo
  * @brief Polygon triangulation
  *  @{
  */
-std::vector<ivec3> TriangulateIdx(const PolygonsIdx &polys, double epsilon = -1,
+std::vector<ivec3> TriangulateIdx(const PolygonsIdx& polys, double epsilon = -1,
                                   bool allowConvex = true);

-std::vector<ivec3> Triangulate(const Polygons &polygons, double epsilon = -1,
+std::vector<ivec3> Triangulate(const Polygons& polygons, double epsilon = -1,
                                bool allowConvex = true);
 /** @} */
 }  // namespace manifold
```

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../manifold/{manifold-3.1.0.ebuild => manifold-3.1.0-r1.ebuild}        | 2 +-
 sci-mathematics/manifold/manifold-9999.ebuild                           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/manifold/manifold-3.1.0.ebuild b/sci-mathematics/manifold/manifold-3.1.0-r1.ebuild
similarity index 99%
rename from sci-mathematics/manifold/manifold-3.1.0.ebuild
rename to sci-mathematics/manifold/manifold-3.1.0-r1.ebuild
index 2ae1d1bc7f87..6c93ca954272 100644
--- a/sci-mathematics/manifold/manifold-3.1.0.ebuild
+++ b/sci-mathematics/manifold/manifold-3.1.0-r1.ebuild
@@ -25,7 +25,7 @@ else
 fi
 
 LICENSE="Apache-2.0"
-SLOT="0"
+SLOT="0/1"
 
 IUSE="debug python +tbb test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

diff --git a/sci-mathematics/manifold/manifold-9999.ebuild b/sci-mathematics/manifold/manifold-9999.ebuild
index 2854b6b9e837..2f9ced603aae 100644
--- a/sci-mathematics/manifold/manifold-9999.ebuild
+++ b/sci-mathematics/manifold/manifold-9999.ebuild
@@ -25,7 +25,7 @@ else
 fi
 
 LICENSE="Apache-2.0"
-SLOT="0"
+SLOT="0/1"
 
 IUSE="debug python +tbb test"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-07-22 19:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-16 21:39 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/manifold/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2025-07-22 19:41 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox