public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/netgen/
@ 2023-02-23 11:33 Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2023-02-23 11:33 UTC (permalink / raw
  To: gentoo-commits

commit:     0a8d53086b977a1ced4c0d10f36a40ff37b8ce12
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 11:31:58 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 11:33:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8d5308

media-gfx/netgen: drop 6.2.2204

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 media-gfx/netgen/netgen-6.2.2204.ebuild | 155 --------------------------------
 1 file changed, 155 deletions(-)

diff --git a/media-gfx/netgen/netgen-6.2.2204.ebuild b/media-gfx/netgen/netgen-6.2.2204.ebuild
deleted file mode 100644
index f4a8413a9832..000000000000
--- a/media-gfx/netgen/netgen-6.2.2204.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_10 )
-inherit cmake desktop python-single-r1 xdg
-
-DESCRIPTION="Automatic 3d tetrahedral mesh generator"
-HOMEPAGE="https://ngsolve.org/ https://github.com/NGSolve/netgen"
-SRC_URI="https://github.com/NGSolve/netgen/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="ffmpeg gui jpeg logging mpi opencascade python test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
-	${PYTHON_REQUIRED_USE}
-	ffmpeg? ( gui )
-	jpeg? ( gui )
-	python? ( gui )
-"
-
-DEPEND="
-	sys-libs/zlib
-	ffmpeg? ( media-video/ffmpeg:= )
-	gui? (
-		dev-lang/tcl:0/8.6
-		dev-lang/tk:0/8.6
-		media-libs/glu
-		virtual/opengl
-		x11-libs/libX11
-		x11-libs/libXmu
-		x11-libs/libxcb:=
-	)
-	jpeg? ( media-libs/libjpeg-turbo:0= )
-	logging? ( dev-libs/spdlog:= )
-	mpi? (
-		sci-libs/metis
-		virtual/mpi
-	)
-	opencascade? ( sci-libs/opencascade:= )
-	python? (
-		${PYTHON_DEPS}
-		$(python_gen_cond_dep '
-			dev-python/pybind11[${PYTHON_USEDEP}]
-			'
-		)
-		mpi? (
-			$(python_gen_cond_dep 'dev-python/mpi4py[${PYTHON_USEDEP}]' )
-		)
-	)
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-	sys-apps/lsb-release
-	virtual/pkgconfig
-	gui? ( virtual/imagemagick-tools[png] )
-	test? (
-		<dev-cpp/catch-3:0
-		python? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') )
-	)
-"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-6.2.2204-use-external-pybind11.patch"
-	"${FILESDIR}/${PN}-6.2.2204-find-Tk-include-directories.patch"
-	"${FILESDIR}/${PN}-6.2.2204-find-libjpeg-turbo-library.patch"
-	"${FILESDIR}/${PN}-6.2.2204-link-against-ffmpeg.patch"
-	"${FILESDIR}/${PN}-6.2.2204-use-system-spdlog.patch"
-	"${FILESDIR}/${PN}-6.2.2204-use-system-catch.patch"
-	"${FILESDIR}/${PN}-6.2.2204-disable-failing-tests.patch"
-	"${FILESDIR}/${PN}-6.2.2204-disable-python-tests.patch"
-)
-
-pkg_setup() {
-	use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-	# NOTE: need to manually check and update this string on version bumps!
-	cat <<- EOF > "${S}/version.txt" || die
-		v${PV}-0-gde0d706e
-	EOF
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		# currently not working in a sandbox, expects netgen to be installed
-		# see https://github.com/NGSolve/netgen/issues/132
-		-DBUILD_STUB_FILES=OFF
-		-DENABLE_UNIT_TESTS=$(usex test)
-		-DINSTALL_PROFILES=OFF
-		-DNG_INSTALL_DIR_CMAKE="$(get_libdir)/cmake/${PN}"
-		-DNG_INSTALL_DIR_INCLUDE="include/${PN}"
-		-DNG_INSTALL_DIR_LIB="$(get_libdir)"
-		-DUSE_CCACHE=OFF
-		# doesn't build with this version
-		-DUSE_CGNS=OFF
-		-DUSE_GUI=$(usex gui)
-		-DUSE_INTERNAL_TCL=OFF
-		-DUSE_JPEG=$(usex jpeg)
-		-DUSE_MPEG=$(usex ffmpeg)
-		# respect users -march= choice
-		-DUSE_NATIVE_ARCH=OFF
-		-DUSE_MPI=$(usex mpi)
-		-DUSE_OCC=$(usex opencascade)
-		-DUSE_PYTHON=$(usex python)
-		-DUSE_SPDLOG=$(usex logging)
-		-DUSE_SUPERBUILD=OFF
-	)
-	# no need to set this, if we only build the library
-	if use gui; then
-		mycmakeargs+=( -DTK_INCLUDE_PATH="/usr/$(get_libdir)/tk8.6/include" )
-	fi
-	if use python; then
-		mycmakeargs+=(
-			-DPYBIND_INCLUDE_DIR="/usr/lib/${EPYTHON}/site-packages/pybind11/include/"
-			-DNG_INSTALL_PYBIND=OFF
-		)
-	fi
-	if use mpi && use python; then
-		mycmakeargs+=( -DUSE_MPI4PY=ON )
-	else
-		mycmakeargs+=( -DUSE_MPI4PY=OFF )
-	fi
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-	use python && python_optimize
-
-	local NETGENDIR="/usr/share/${PN}"
-	echo -e "NETGENDIR=${NETGENDIR}" > ./99netgen || die
-	doenvd 99netgen
-
-	if use gui; then
-		mv "${ED}"/usr/bin/{*.tcl,*.ocf} "${ED}${NETGENDIR}" || die
-
-		convert -deconstruct "${S}/windows/${PN}.ico" netgen.png || die
-		newicon -s 32 "${S}"/${PN}-2.png ${PN}.png
-		newicon -s 16 "${S}"/${PN}-3.png ${PN}.png
-		make_desktop_entry ${PN} "Netgen" netgen Graphics
-	fi
-
-	mv "${ED}"/usr/share/${PN}/doc/ng4.pdf "${ED}"/usr/share/doc/${PF} || die
-	dosym -r /usr/share/doc/${PF}/ng4.pdf /usr/share/${PN}/doc/ng4.pdf
-
-	use python || rm -r "${ED}${NETGENDIR}"/py_tutorials || die
-}


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

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/netgen/
@ 2023-05-07  8:44 Joonas Niilola
  0 siblings, 0 replies; 6+ messages in thread
From: Joonas Niilola @ 2023-05-07  8:44 UTC (permalink / raw
  To: gentoo-commits

commit:     546ac1dee5a3c87fce3e89dfd256c545f856e0e5
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun May  7 08:44:21 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun May  7 08:44:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546ac1de

media-gfx/netgen: Stabilize 6.2.2301 amd64, #905616

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

 media-gfx/netgen/netgen-6.2.2301.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/netgen/netgen-6.2.2301.ebuild b/media-gfx/netgen/netgen-6.2.2301.ebuild
index bd9fbd4c967b..0975a50189e0 100644
--- a/media-gfx/netgen/netgen-6.2.2301.ebuild
+++ b/media-gfx/netgen/netgen-6.2.2301.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/NGSolve/netgen/archive/refs/tags/v${PV}.tar.gz -> ${
 
 SLOT="0"
 LICENSE="LGPL-2.1"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 IUSE="ffmpeg gui jpeg logging mpi opencascade python test"
 RESTRICT="!test? ( test )"


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

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/netgen/
@ 2023-05-08  8:55 Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2023-05-08  8:55 UTC (permalink / raw
  To: gentoo-commits

commit:     143fa4f9bdc06bb20b1d185a7b156534528bcd30
Author:     Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Sun May  7 02:03:45 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon May  8 08:44:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=143fa4f9

media-gfx/netgen: add 6.2.2302

Closes: https://bugs.gentoo.org/905804
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/30911
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 media-gfx/netgen/Manifest               |   1 +
 media-gfx/netgen/netgen-6.2.2302.ebuild | 157 ++++++++++++++++++++++++++++++++
 2 files changed, 158 insertions(+)

diff --git a/media-gfx/netgen/Manifest b/media-gfx/netgen/Manifest
index ad756e9e2e50..dc16404903f1 100644
--- a/media-gfx/netgen/Manifest
+++ b/media-gfx/netgen/Manifest
@@ -1 +1,2 @@
 DIST netgen-6.2.2301.tar.gz 3394480 BLAKE2B 358b0cf7ff4d372a9ede8ab9b7df24435a75bcad880cc83607443707ae096f2bafa35d8cd581533917d1aae85a18ac0ca902876a1c68f11664a0a3ef1ae00593 SHA512 7aebbc5cc3e3227b455ac9c5538e1f0110d5621e6ca7315f6811733bd93e88ccca467296b7915894a45202ed375b45d9387a1d113a720d4199eff782afb43070
+DIST netgen-6.2.2302.tar.gz 3398683 BLAKE2B 7cf4626ee8163898864af0346cf2c4fa73dcca3ac2068d67f80b05ee926024b36552b33013c2ef8f74026ab942ae08c0628af0ce0c0dac2d004ba26e18bf4619 SHA512 da6e8e43d73af6b7bfae2e3c771d46e34601ff481c251924673f7330bae032a743fb9d5ff2792855e91ed5addb4d22fd4bf9cd7a9dcfb53f476e22a30f1eedb3

diff --git a/media-gfx/netgen/netgen-6.2.2302.ebuild b/media-gfx/netgen/netgen-6.2.2302.ebuild
new file mode 100644
index 000000000000..b294e644ceaf
--- /dev/null
+++ b/media-gfx/netgen/netgen-6.2.2302.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10,11} )
+inherit cmake desktop python-single-r1 xdg
+
+DESCRIPTION="Automatic 3d tetrahedral mesh generator"
+HOMEPAGE="https://ngsolve.org/ https://github.com/NGSolve/netgen"
+SRC_URI="https://github.com/NGSolve/netgen/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="ffmpeg gui jpeg logging mpi opencascade python test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+	${PYTHON_REQUIRED_USE}
+	ffmpeg? ( gui )
+	jpeg? ( gui )
+	python? ( gui )
+"
+
+DEPEND="
+	sys-libs/zlib
+	ffmpeg? ( media-video/ffmpeg:= )
+	gui? (
+		dev-lang/tcl:0/8.6
+		dev-lang/tk:0/8.6
+		media-libs/glu
+		virtual/opengl
+		x11-libs/libX11
+		x11-libs/libXmu
+		x11-libs/libxcb:=
+	)
+	jpeg? ( media-libs/libjpeg-turbo:0= )
+	logging? ( dev-libs/spdlog:= )
+	mpi? (
+		sci-libs/metis
+		virtual/mpi
+	)
+	opencascade? ( sci-libs/opencascade:= )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/pybind11[${PYTHON_USEDEP}]
+			'
+		)
+		mpi? (
+			$(python_gen_cond_dep 'dev-python/mpi4py[${PYTHON_USEDEP}]' )
+		)
+	)
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	sys-apps/lsb-release
+	virtual/pkgconfig
+	gui? ( virtual/imagemagick-tools[png] )
+	test? (
+		<dev-cpp/catch-3:0
+		python? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') )
+	)
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-6.2.2204-find-Tk-include-directories.patch"
+	"${FILESDIR}/${PN}-6.2.2204-link-against-ffmpeg.patch"
+	"${FILESDIR}/${PN}-6.2.2204-use-system-spdlog.patch"
+	"${FILESDIR}/${PN}-6.2.2204-use-system-catch.patch"
+	"${FILESDIR}/${PN}-6.2.2204-disable-failing-tests.patch"
+	"${FILESDIR}/${PN}-6.2.2204-disable-python-tests.patch"
+	"${FILESDIR}/${PN}-6.2.2301-find-libjpeg-turbo-library.patch"
+	"${FILESDIR}/${PN}-6.2.2301-fix-nullptr-deref-in-archive.patch"
+)
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	# NOTE: need to manually check and update this string on version bumps!
+	# git describe --tags --match "v[0-9]*" --long --dirty
+	cat <<- EOF > "${S}/version.txt" || die
+		v${PV}-0-g3e52c44a
+	EOF
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		# currently not working in a sandbox, expects netgen to be installed
+		# see https://github.com/NGSolve/netgen/issues/132
+		-DBUILD_STUB_FILES=OFF
+		-DENABLE_UNIT_TESTS=$(usex test)
+		-DINSTALL_PROFILES=OFF
+		-DNG_INSTALL_DIR_CMAKE="$(get_libdir)/cmake/${PN}"
+		-DNG_INSTALL_DIR_INCLUDE="include/${PN}"
+		-DNG_INSTALL_DIR_LIB="$(get_libdir)"
+		-DUSE_CCACHE=OFF
+		# doesn't build with this version
+		-DUSE_CGNS=OFF
+		-DUSE_GUI=$(usex gui)
+		-DUSE_INTERNAL_TCL=OFF
+		-DUSE_JPEG=$(usex jpeg)
+		-DUSE_MPEG=$(usex ffmpeg)
+		# respect users -march= choice
+		-DUSE_NATIVE_ARCH=OFF
+		-DUSE_MPI=$(usex mpi)
+		-DUSE_OCC=$(usex opencascade)
+		-DUSE_PYTHON=$(usex python)
+		-DUSE_SPDLOG=$(usex logging)
+		-DUSE_SUPERBUILD=OFF
+	)
+	# no need to set this, if we only build the library
+	if use gui; then
+		mycmakeargs+=( -DTK_INCLUDE_PATH="/usr/$(get_libdir)/tk8.6/include" )
+	fi
+	if use python; then
+		mycmakeargs+=(
+			-DPREFER_SYSTEM_PYBIND11=ON
+			# needed, so the value gets passed to NetgenConfig.cmake instead of ${T}/pythonX.Y
+			-DPYTHON_EXECUTABLE="${PYTHON}"
+		)
+	fi
+	if use mpi && use python; then
+		mycmakeargs+=( -DUSE_MPI4PY=ON )
+	else
+		mycmakeargs+=( -DUSE_MPI4PY=OFF )
+	fi
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	use python && python_optimize
+
+	local NETGENDIR="/usr/share/${PN}"
+	echo -e "NETGENDIR=${NETGENDIR}" > ./99netgen || die
+	doenvd 99netgen
+
+	if use gui; then
+		mv "${ED}"/usr/bin/{*.tcl,*.ocf} "${ED}${NETGENDIR}" || die
+
+		convert -deconstruct "${S}/windows/${PN}.ico" netgen.png || die
+		newicon -s 32 "${S}"/${PN}-2.png ${PN}.png
+		newicon -s 16 "${S}"/${PN}-3.png ${PN}.png
+		make_desktop_entry ${PN} "Netgen" netgen Graphics
+	fi
+
+	mv "${ED}"/usr/share/${PN}/doc/ng4.pdf "${ED}"/usr/share/doc/${PF} || die
+	dosym -r /usr/share/doc/${PF}/ng4.pdf /usr/share/${PN}/doc/ng4.pdf
+
+	use python || rm -r "${ED}${NETGENDIR}"/py_tutorials || die
+}


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

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/netgen/
@ 2023-06-10  4:20 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2023-06-10  4:20 UTC (permalink / raw
  To: gentoo-commits

commit:     3a77d289d1332852c3f9e6997a08ca09184b0a0e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 04:19:01 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 04:19:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a77d289

media-gfx/netgen: Stabilize 6.2.2302 amd64, #908184

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

 media-gfx/netgen/netgen-6.2.2302.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/netgen/netgen-6.2.2302.ebuild b/media-gfx/netgen/netgen-6.2.2302.ebuild
index b294e644ceaf..b28b9244b838 100644
--- a/media-gfx/netgen/netgen-6.2.2302.ebuild
+++ b/media-gfx/netgen/netgen-6.2.2302.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/NGSolve/netgen/archive/refs/tags/v${PV}.tar.gz -> ${
 
 SLOT="0"
 LICENSE="LGPL-2.1"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 IUSE="ffmpeg gui jpeg logging mpi opencascade python test"
 RESTRICT="!test? ( test )"


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

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/netgen/
@ 2024-07-29 10:42 Pacho Ramos
  0 siblings, 0 replies; 6+ messages in thread
From: Pacho Ramos @ 2024-07-29 10:42 UTC (permalink / raw
  To: gentoo-commits

commit:     ed02bce4bfe3c29a441772f21c770fe65dc2fa92
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 09:53:45 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 10:41:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed02bce4

media-gfx/netgen: enable py3.12

Closes: https://bugs.gentoo.org/929623
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 media-gfx/netgen/netgen-6.2.2302.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/netgen/netgen-6.2.2302.ebuild b/media-gfx/netgen/netgen-6.2.2302.ebuild
index b28b9244b838..5a86024f6f64 100644
--- a/media-gfx/netgen/netgen-6.2.2302.ebuild
+++ b/media-gfx/netgen/netgen-6.2.2302.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10,11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit cmake desktop python-single-r1 xdg
 
 DESCRIPTION="Automatic 3d tetrahedral mesh generator"


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

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/netgen/
@ 2024-07-29 10:42 Pacho Ramos
  0 siblings, 0 replies; 6+ messages in thread
From: Pacho Ramos @ 2024-07-29 10:42 UTC (permalink / raw
  To: gentoo-commits

commit:     b1664cbe876659d566ac8c954db5345b9e949dd6
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 29 10:06:17 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 10:41:51 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1664cbe

media-gfx/netgen: drop 6.2.2301

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 media-gfx/netgen/Manifest               |   1 -
 media-gfx/netgen/netgen-6.2.2301.ebuild | 157 --------------------------------
 2 files changed, 158 deletions(-)

diff --git a/media-gfx/netgen/Manifest b/media-gfx/netgen/Manifest
index dc16404903f1..f0b39cad7c0f 100644
--- a/media-gfx/netgen/Manifest
+++ b/media-gfx/netgen/Manifest
@@ -1,2 +1 @@
-DIST netgen-6.2.2301.tar.gz 3394480 BLAKE2B 358b0cf7ff4d372a9ede8ab9b7df24435a75bcad880cc83607443707ae096f2bafa35d8cd581533917d1aae85a18ac0ca902876a1c68f11664a0a3ef1ae00593 SHA512 7aebbc5cc3e3227b455ac9c5538e1f0110d5621e6ca7315f6811733bd93e88ccca467296b7915894a45202ed375b45d9387a1d113a720d4199eff782afb43070
 DIST netgen-6.2.2302.tar.gz 3398683 BLAKE2B 7cf4626ee8163898864af0346cf2c4fa73dcca3ac2068d67f80b05ee926024b36552b33013c2ef8f74026ab942ae08c0628af0ce0c0dac2d004ba26e18bf4619 SHA512 da6e8e43d73af6b7bfae2e3c771d46e34601ff481c251924673f7330bae032a743fb9d5ff2792855e91ed5addb4d22fd4bf9cd7a9dcfb53f476e22a30f1eedb3

diff --git a/media-gfx/netgen/netgen-6.2.2301.ebuild b/media-gfx/netgen/netgen-6.2.2301.ebuild
deleted file mode 100644
index 0975a50189e0..000000000000
--- a/media-gfx/netgen/netgen-6.2.2301.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10,11} )
-inherit cmake desktop python-single-r1 xdg
-
-DESCRIPTION="Automatic 3d tetrahedral mesh generator"
-HOMEPAGE="https://ngsolve.org/ https://github.com/NGSolve/netgen"
-SRC_URI="https://github.com/NGSolve/netgen/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="amd64 ~x86"
-
-IUSE="ffmpeg gui jpeg logging mpi opencascade python test"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
-	${PYTHON_REQUIRED_USE}
-	ffmpeg? ( gui )
-	jpeg? ( gui )
-	python? ( gui )
-"
-
-DEPEND="
-	sys-libs/zlib
-	ffmpeg? ( media-video/ffmpeg:= )
-	gui? (
-		dev-lang/tcl:0/8.6
-		dev-lang/tk:0/8.6
-		media-libs/glu
-		virtual/opengl
-		x11-libs/libX11
-		x11-libs/libXmu
-		x11-libs/libxcb:=
-	)
-	jpeg? ( media-libs/libjpeg-turbo:0= )
-	logging? ( dev-libs/spdlog:= )
-	mpi? (
-		sci-libs/metis
-		virtual/mpi
-	)
-	opencascade? ( sci-libs/opencascade:= )
-	python? (
-		${PYTHON_DEPS}
-		$(python_gen_cond_dep '
-			dev-python/pybind11[${PYTHON_USEDEP}]
-			'
-		)
-		mpi? (
-			$(python_gen_cond_dep 'dev-python/mpi4py[${PYTHON_USEDEP}]' )
-		)
-	)
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-	sys-apps/lsb-release
-	virtual/pkgconfig
-	gui? ( virtual/imagemagick-tools[png] )
-	test? (
-		<dev-cpp/catch-3:0
-		python? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') )
-	)
-"
-
-PATCHES=(
-	"${FILESDIR}/${PN}-6.2.2204-find-Tk-include-directories.patch"
-	"${FILESDIR}/${PN}-6.2.2204-link-against-ffmpeg.patch"
-	"${FILESDIR}/${PN}-6.2.2204-use-system-spdlog.patch"
-	"${FILESDIR}/${PN}-6.2.2204-use-system-catch.patch"
-	"${FILESDIR}/${PN}-6.2.2204-disable-failing-tests.patch"
-	"${FILESDIR}/${PN}-6.2.2204-disable-python-tests.patch"
-	"${FILESDIR}/${PN}-6.2.2301-find-libjpeg-turbo-library.patch"
-	"${FILESDIR}/${PN}-6.2.2301-fix-nullptr-deref-in-archive.patch"
-)
-
-pkg_setup() {
-	use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-	# NOTE: need to manually check and update this string on version bumps!
-	# git describe --tags --match "v[0-9]*" --long --dirty
-	cat <<- EOF > "${S}/version.txt" || die
-		v${PV}-0-g26d12898
-	EOF
-	cmake_src_prepare
-}
-
-src_configure() {
-	local mycmakeargs=(
-		# currently not working in a sandbox, expects netgen to be installed
-		# see https://github.com/NGSolve/netgen/issues/132
-		-DBUILD_STUB_FILES=OFF
-		-DENABLE_UNIT_TESTS=$(usex test)
-		-DINSTALL_PROFILES=OFF
-		-DNG_INSTALL_DIR_CMAKE="$(get_libdir)/cmake/${PN}"
-		-DNG_INSTALL_DIR_INCLUDE="include/${PN}"
-		-DNG_INSTALL_DIR_LIB="$(get_libdir)"
-		-DUSE_CCACHE=OFF
-		# doesn't build with this version
-		-DUSE_CGNS=OFF
-		-DUSE_GUI=$(usex gui)
-		-DUSE_INTERNAL_TCL=OFF
-		-DUSE_JPEG=$(usex jpeg)
-		-DUSE_MPEG=$(usex ffmpeg)
-		# respect users -march= choice
-		-DUSE_NATIVE_ARCH=OFF
-		-DUSE_MPI=$(usex mpi)
-		-DUSE_OCC=$(usex opencascade)
-		-DUSE_PYTHON=$(usex python)
-		-DUSE_SPDLOG=$(usex logging)
-		-DUSE_SUPERBUILD=OFF
-	)
-	# no need to set this, if we only build the library
-	if use gui; then
-		mycmakeargs+=( -DTK_INCLUDE_PATH="/usr/$(get_libdir)/tk8.6/include" )
-	fi
-	if use python; then
-		mycmakeargs+=(
-			-DPREFER_SYSTEM_PYBIND11=ON
-			# needed, so the value gets passed to NetgenConfig.cmake instead of ${T}/pythonX.Y
-			-DPYTHON_EXECUTABLE="${PYTHON}"
-		)
-	fi
-	if use mpi && use python; then
-		mycmakeargs+=( -DUSE_MPI4PY=ON )
-	else
-		mycmakeargs+=( -DUSE_MPI4PY=OFF )
-	fi
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-	use python && python_optimize
-
-	local NETGENDIR="/usr/share/${PN}"
-	echo -e "NETGENDIR=${NETGENDIR}" > ./99netgen || die
-	doenvd 99netgen
-
-	if use gui; then
-		mv "${ED}"/usr/bin/{*.tcl,*.ocf} "${ED}${NETGENDIR}" || die
-
-		convert -deconstruct "${S}/windows/${PN}.ico" netgen.png || die
-		newicon -s 32 "${S}"/${PN}-2.png ${PN}.png
-		newicon -s 16 "${S}"/${PN}-3.png ${PN}.png
-		make_desktop_entry ${PN} "Netgen" netgen Graphics
-	fi
-
-	mv "${ED}"/usr/share/${PN}/doc/ng4.pdf "${ED}"/usr/share/doc/${PF} || die
-	dosym -r /usr/share/doc/${PF}/ng4.pdf /usr/share/${PN}/doc/ng4.pdf
-
-	use python || rm -r "${ED}${NETGENDIR}"/py_tutorials || die
-}


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

end of thread, other threads:[~2024-07-29 10:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-23 11:33 [gentoo-commits] repo/gentoo:master commit in: media-gfx/netgen/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2023-05-07  8:44 Joonas Niilola
2023-05-08  8:55 Andrew Ammerlaan
2023-06-10  4:20 Sam James
2024-07-29 10:42 Pacho Ramos
2024-07-29 10:42 Pacho Ramos

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