public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2011-03-14 10:16 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2011-03-14 10:16 UTC (permalink / raw
  To: gentoo-commits

commit:     d09a395bf80dad8d28b809a10ffd3465e3b111d0
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 14 10:14:18 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Mar 14 10:14:18 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d09a395b

Moved media-libs/jpeg -> virtual/jpeg

(Portage version: 2.2.0_alpha26/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 sci-mathematics/netgen/ChangeLog            |    5 ++++-
 sci-mathematics/netgen/netgen-4.9.13.ebuild |    4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/sci-mathematics/netgen/ChangeLog b/sci-mathematics/netgen/ChangeLog
index b62e87a..f8dc833 100644
--- a/sci-mathematics/netgen/ChangeLog
+++ b/sci-mathematics/netgen/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for sci-mathematics/netgen
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  14 Mar 2011; Justin Lecher <jlec@gentoo.org> netgen-4.9.13.ebuild:
+  Moved media-libs/jpeg -> virtual/jpeg
+
   19 Oct 2010; Oliver Borm (boroli) <oli.borm@web.de>
   -netgen-4.9.11-r1.ebuild:
   sci-mathematics/netgen: Removed old version

diff --git a/sci-mathematics/netgen/netgen-4.9.13.ebuild b/sci-mathematics/netgen/netgen-4.9.13.ebuild
index 24eb338..7b4639e 100644
--- a/sci-mathematics/netgen/netgen-4.9.13.ebuild
+++ b/sci-mathematics/netgen/netgen-4.9.13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header:  $
 
@@ -21,7 +21,7 @@ DEPEND="dev-tcltk/tix
 	x11-libs/libXmu
 	opencascade? ( sci-libs/opencascade )
 	ffmpeg? ( media-video/ffmpeg )
-	jpeg? ( media-libs/jpeg )
+	jpeg? ( virtual/jpeg )
 	mpi? ( virtual/mpi ) "
 RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.



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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2011-06-24 17:09 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2011-06-24 17:09 UTC (permalink / raw
  To: gentoo-commits

commit:     fc2c0a0476583f114f77dba8824ebea3ff17d51a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 15:09:38 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 15:09:38 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fc2c0a04

Sort inherit and/or USE

(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 sci-mathematics/netgen/netgen-4.9.13.ebuild |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/netgen/netgen-4.9.13.ebuild b/sci-mathematics/netgen/netgen-4.9.13.ebuild
index 7b4639e..367f84c 100644
--- a/sci-mathematics/netgen/netgen-4.9.13.ebuild
+++ b/sci-mathematics/netgen/netgen-4.9.13.ebuild
@@ -4,7 +4,7 @@
 
 EAPI="2"
 
-inherit eutils versionator multilib flag-o-matic
+inherit eutils flag-o-matic multilib versionator
 
 DESCRIPTION="NETGEN is an automatic 3d tetrahedral mesh generator"
 HOMEPAGE="http://www.hpfem.jku.at/netgen/"
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/netgen-mesher/${P}.tar.gz"
 
 LICENSE="LGPL-2.1"
 KEYWORDS="~amd64 ~x86"
-IUSE="opencascade jpeg -mpi -ffmpeg"
+IUSE="-ffmpeg jpeg -mpi opencascade"
 SLOT="0"
 
 DEPEND="dev-tcltk/tix



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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2015-05-03 20:43 Andrew Savchenko
  0 siblings, 0 replies; 20+ messages in thread
From: Andrew Savchenko @ 2015-05-03 20:43 UTC (permalink / raw
  To: gentoo-commits

commit:     47ece0ee4df44e83e3501bcfa8799ed0030ed977
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Apr 26 09:29:38 2015 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun Apr 26 09:29:59 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=47ece0ee

sci-mathematics/netgen: Bump to EAPI=5; Update Manifest (Bug #407)

Package-Manager: portage-2.2.14

 sci-mathematics/netgen/ChangeLog           |  6 ++++--
 sci-mathematics/netgen/netgen-5.0.0.ebuild | 12 ++++++------
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/sci-mathematics/netgen/ChangeLog b/sci-mathematics/netgen/ChangeLog
index f8dc833..665d587 100644
--- a/sci-mathematics/netgen/ChangeLog
+++ b/sci-mathematics/netgen/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for sci-mathematics/netgen
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  26 Apr 2015; Marius Brehler <marbre@linux.sungazer.de> netgen-5.0.0.ebuild:
+  Bump to EAPI=5; Update Manifest (Bug #407)
+
   14 Mar 2011; Justin Lecher <jlec@gentoo.org> netgen-4.9.13.ebuild:
   Moved media-libs/jpeg -> virtual/jpeg
 
@@ -52,4 +55,3 @@
   Initial import. See bug #155424 for anything relating the building process.
   Ebuild from Daniel Tourde <daniel.tourde@caelae.se> and Oliver Borm
   <oli.borm@web.de>.
-

diff --git a/sci-mathematics/netgen/netgen-5.0.0.ebuild b/sci-mathematics/netgen/netgen-5.0.0.ebuild
index 2e8a7a4..057d935 100644
--- a/sci-mathematics/netgen/netgen-5.0.0.ebuild
+++ b/sci-mathematics/netgen/netgen-5.0.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="2"
+EAPI=5
 
 inherit autotools eutils flag-o-matic multilib versionator
 
@@ -71,12 +71,12 @@ src_install() {
 	echo -e "NETGENDIR=${NETGENDIR} \nLDPATH=/usr/$(get_libdir)/Togl1.7" > ./99netgen
 	doenvd 99netgen
 
-	emake DESTDIR="${D}" install || die "make install failed"
-	mv "${D}"/usr/bin/{*.tcl,*.ocf} "${D}${NETGENDIR}"
+	emake DESTDIR="${D}" install
+	mv "${D}"/usr/bin/{*.tcl,*.ocf} "${D}${NETGENDIR}" || die
 
 	# Install icon and .desktop for menu entry
-	doicon "${FILESDIR}"/${PN}.png || die "doicon failed"
-	domenu "${FILESDIR}"/${PN}.desktop || die "domenu failed"
+	doicon "${FILESDIR}"/${PN}.png
+	domenu "${FILESDIR}"/${PN}.desktop
 }
 
 pkg_postinst() {


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2015-05-04 14:02 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-05-04 14:02 UTC (permalink / raw
  To: gentoo-commits

commit:     f50c8259cf81b2bfe83f90f171fd81c71a9b7bd6
Author:     Grégory Salvan <apieum <AT> gmail <DOT> com>
AuthorDate: Wed Apr 29 14:22:36 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Apr 29 14:22:36 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=f50c8259

make metis requirement only with mpi use flag

 sci-mathematics/netgen/netgen-5.0.0.ebuild | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/sci-mathematics/netgen/netgen-5.0.0.ebuild b/sci-mathematics/netgen/netgen-5.0.0.ebuild
index 0dc41d5..7490cff 100644
--- a/sci-mathematics/netgen/netgen-5.0.0.ebuild
+++ b/sci-mathematics/netgen/netgen-5.0.0.ebuild
@@ -21,11 +21,11 @@ DEPEND="dev-tcltk/tix
 	dev-tcltk/togl:1.7
 	virtual/opengl
 	x11-libs/libXmu
-	|| ( sci-libs/parmetis sci-libs/metis )
+	
 	opencascade? ( sci-libs/opencascade )
 	ffmpeg? ( media-video/ffmpeg )
 	jpeg? ( virtual/jpeg )
-	mpi? ( virtual/mpi ) "
+	mpi? ( virtual/mpi ( || ( sci-libs/parmetis sci-libs/metis ) ) ) "
 RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.
 
@@ -47,13 +47,16 @@ src_configure() {
 		myconf="${myconf} --enable-occ --with-occ=$CASROOT"
 		append-ldflags -L$CASROOT/lin/$(get_libdir)
 	fi
-
-	use mpi && myconf="${myconf} --enable-parallel"
+	
+	if use mpi; then
+		myconf="${myconf} --enable-parallel"
+		append-cppflags -I/usr/include/metis
+	fi
+	
 	use ffmpeg && myconf="${myconf} --enable-ffmpeg"
 	use jpeg && myconf="${myconf} --enable-jpeglib"
 
 	append-cppflags -I/usr/include/togl-1.7
-	append-cppflags -I/usr/include/metis
 
 	econf \
 		${myconf}


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2015-05-04 14:02 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-05-04 14:02 UTC (permalink / raw
  To: gentoo-commits

commit:     68fe586fa3ceb7826f5c8bc141d8f4d6f88744c9
Author:     Grégory Salvan <apieum <AT> gmail <DOT> com>
AuthorDate: Mon Apr 27 05:19:24 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Apr 27 05:19:24 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=68fe586f

fix #408 (add spaces)

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

diff --git a/sci-mathematics/netgen/netgen-5.0.0.ebuild b/sci-mathematics/netgen/netgen-5.0.0.ebuild
index 488cdd8..0dc41d5 100644
--- a/sci-mathematics/netgen/netgen-5.0.0.ebuild
+++ b/sci-mathematics/netgen/netgen-5.0.0.ebuild
@@ -21,7 +21,7 @@ DEPEND="dev-tcltk/tix
 	dev-tcltk/togl:1.7
 	virtual/opengl
 	x11-libs/libXmu
-	|| (sci-libs/parmetis sci-libs/metis)
+	|| ( sci-libs/parmetis sci-libs/metis )
 	opencascade? ( sci-libs/opencascade )
 	ffmpeg? ( media-video/ffmpeg )
 	jpeg? ( virtual/jpeg )


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2015-05-04 14:02 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-05-04 14:02 UTC (permalink / raw
  To: gentoo-commits

commit:     bdd2756cb2acb60626d0828d8ee243baacb3beb6
Author:     Grégory Salvan <apieum <AT> gmail <DOT> com>
AuthorDate: Wed Apr 29 14:29:55 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Apr 29 14:29:55 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=bdd2756c

remove trailing space errors

 sci-mathematics/netgen/netgen-5.0.0.ebuild | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sci-mathematics/netgen/netgen-5.0.0.ebuild b/sci-mathematics/netgen/netgen-5.0.0.ebuild
index 7490cff..d610bff 100644
--- a/sci-mathematics/netgen/netgen-5.0.0.ebuild
+++ b/sci-mathematics/netgen/netgen-5.0.0.ebuild
@@ -21,7 +21,6 @@ DEPEND="dev-tcltk/tix
 	dev-tcltk/togl:1.7
 	virtual/opengl
 	x11-libs/libXmu
-	
 	opencascade? ( sci-libs/opencascade )
 	ffmpeg? ( media-video/ffmpeg )
 	jpeg? ( virtual/jpeg )
@@ -47,7 +46,6 @@ src_configure() {
 		myconf="${myconf} --enable-occ --with-occ=$CASROOT"
 		append-ldflags -L$CASROOT/lin/$(get_libdir)
 	fi
-	
 	if use mpi; then
 		myconf="${myconf} --enable-parallel"
 		append-cppflags -I/usr/include/metis
@@ -55,7 +53,6 @@ src_configure() {
 	
 	use ffmpeg && myconf="${myconf} --enable-ffmpeg"
 	use jpeg && myconf="${myconf} --enable-jpeglib"
-
 	append-cppflags -I/usr/include/togl-1.7
 
 	econf \


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2015-05-04 14:02 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-05-04 14:02 UTC (permalink / raw
  To: gentoo-commits

commit:     7cb4cc3e11f1f6a9178c4ea1f6153160709cd54d
Author:     Grégory Salvan <apieum <AT> gmail <DOT> com>
AuthorDate: Sun Apr 26 14:56:27 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Apr 26 14:56:27 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=7cb4cc3e

fix #408

Added dependency with metis and metis include directory

 sci-mathematics/netgen/netgen-5.0.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-mathematics/netgen/netgen-5.0.0.ebuild b/sci-mathematics/netgen/netgen-5.0.0.ebuild
index 057d935..488cdd8 100644
--- a/sci-mathematics/netgen/netgen-5.0.0.ebuild
+++ b/sci-mathematics/netgen/netgen-5.0.0.ebuild
@@ -21,6 +21,7 @@ DEPEND="dev-tcltk/tix
 	dev-tcltk/togl:1.7
 	virtual/opengl
 	x11-libs/libXmu
+	|| (sci-libs/parmetis sci-libs/metis)
 	opencascade? ( sci-libs/opencascade )
 	ffmpeg? ( media-video/ffmpeg )
 	jpeg? ( virtual/jpeg )
@@ -52,6 +53,7 @@ src_configure() {
 	use jpeg && myconf="${myconf} --enable-jpeglib"
 
 	append-cppflags -I/usr/include/togl-1.7
+	append-cppflags -I/usr/include/metis
 
 	econf \
 		${myconf}


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2015-05-04 14:02 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-05-04 14:02 UTC (permalink / raw
  To: gentoo-commits

commit:     6e49f94950432fa7ac8c7b34fc5269d160e41089
Author:     Grégory Salvan <apieum <AT> gmail <DOT> com>
AuthorDate: Wed Apr 29 14:31:31 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Apr 29 14:31:31 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6e49f949

remove trailing whitespace errors

 sci-mathematics/netgen/netgen-5.0.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-mathematics/netgen/netgen-5.0.0.ebuild b/sci-mathematics/netgen/netgen-5.0.0.ebuild
index d610bff..8bfb513 100644
--- a/sci-mathematics/netgen/netgen-5.0.0.ebuild
+++ b/sci-mathematics/netgen/netgen-5.0.0.ebuild
@@ -50,7 +50,6 @@ src_configure() {
 		myconf="${myconf} --enable-parallel"
 		append-cppflags -I/usr/include/metis
 	fi
-	
 	use ffmpeg && myconf="${myconf} --enable-ffmpeg"
 	use jpeg && myconf="${myconf} --enable-jpeglib"
 	append-cppflags -I/usr/include/togl-1.7


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2015-06-08 12:19 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-06-08 12:19 UTC (permalink / raw
  To: gentoo-commits

commit:     c12dd88337c84ae5c95a3b9cd4ca8ae4fcde6f4b
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  8 11:40:49 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jun  8 11:40:49 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c12dd883

sci-mathematics/netgen: Updating remote-id in metadata.xml

Package-Manager: portage-2.2.20

 sci-mathematics/netgen/ChangeLog    |  3 +++
 sci-mathematics/netgen/metadata.xml | 11 +++++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/sci-mathematics/netgen/ChangeLog b/sci-mathematics/netgen/ChangeLog
index 665d587..4484817 100644
--- a/sci-mathematics/netgen/ChangeLog
+++ b/sci-mathematics/netgen/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  08 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
+  sci-mathematics/netgen: Updating remote-id in metadata.xml
+
   26 Apr 2015; Marius Brehler <marbre@linux.sungazer.de> netgen-5.0.0.ebuild:
   Bump to EAPI=5; Update Manifest (Bug #407)
 

diff --git a/sci-mathematics/netgen/metadata.xml b/sci-mathematics/netgen/metadata.xml
index 450140b..a4ba975 100644
--- a/sci-mathematics/netgen/metadata.xml
+++ b/sci-mathematics/netgen/metadata.xml
@@ -1,8 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci-mathematics</herd>
-	<use>
-		<flag name="opencascade"> Enable OpenCASCADE support</flag>
-	</use>
+  <herd>sci-mathematics</herd>
+  <use>
+    <flag name="opencascade"> Enable OpenCASCADE support</flag>
+  </use>
+  <upstream>
+    <remote-id type="sourceforge">netgen-mesher</remote-id>
+  </upstream>
 </pkgmetadata>


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2015-09-21 19:05 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2015-09-21 19:05 UTC (permalink / raw
  To: gentoo-commits

commit:     55066272be3a52a2cb2c012c201537c6ee4782cd
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 18:54:17 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 18:54:17 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=55066272

sci-mathematics/netgen: Add subslot operators

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-mathematics/netgen/netgen-4.9.13.ebuild | 21 +++++++++++----------
 sci-mathematics/netgen/netgen-5.0.0.ebuild  | 14 +++++++-------
 2 files changed, 18 insertions(+), 17 deletions(-)

diff --git a/sci-mathematics/netgen/netgen-4.9.13.ebuild b/sci-mathematics/netgen/netgen-4.9.13.ebuild
index 2a0d501..fac506b 100644
--- a/sci-mathematics/netgen/netgen-4.9.13.ebuild
+++ b/sci-mathematics/netgen/netgen-4.9.13.ebuild
@@ -1,27 +1,28 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="2"
+EAPI=5
 
 inherit eutils flag-o-matic multilib versionator
 
-DESCRIPTION="NETGEN is an automatic 3d tetrahedral mesh generator"
+DESCRIPTION="Automatic 3d tetrahedral mesh generator"
 HOMEPAGE="http://www.hpfem.jku.at/netgen/"
 SRC_URI="mirror://sourceforge/netgen-mesher/${P}.tar.gz"
 
+SLOT="0"
 LICENSE="LGPL-2.1"
 KEYWORDS="~amd64 ~x86"
 IUSE="-ffmpeg jpeg -mpi opencascade"
-SLOT="0"
 
-DEPEND="dev-tcltk/tix
+DEPEND="
+	dev-tcltk/tix
 	dev-tcltk/togl:1.7
 	virtual/opengl
 	x11-libs/libXmu
-	opencascade? ( sci-libs/opencascade )
+	opencascade? ( sci-libs/opencascade:* )
 	ffmpeg? ( media-video/ffmpeg )
-	jpeg? ( virtual/jpeg )
+	jpeg? ( virtual/jpeg:0= )
 	mpi? ( virtual/mpi ) "
 RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.
@@ -60,12 +61,12 @@ src_install() {
 	echo -e "NETGENDIR=${NETGENDIR} \nLDPATH=/usr/$(get_libdir)/Togl1.7" > ./99netgen
 	doenvd 99netgen
 
-	emake DESTDIR="${D}" install || die "make install failed"
+	default
 	mv "${D}"/usr/bin/{*.tcl,*.ocf} "${D}${NETGENDIR}"
 
 	# Install icon and .desktop for menu entry
-	doicon "${FILESDIR}"/${PN}.png || die "doicon failed"
-	domenu "${FILESDIR}"/${PN}.desktop || die "domenu failed"
+	doicon "${FILESDIR}"/${PN}.png
+	domenu "${FILESDIR}"/${PN}.desktop
 }
 
 pkg_postinst() {

diff --git a/sci-mathematics/netgen/netgen-5.0.0.ebuild b/sci-mathematics/netgen/netgen-5.0.0.ebuild
index 071a89b..96434c2 100644
--- a/sci-mathematics/netgen/netgen-5.0.0.ebuild
+++ b/sci-mathematics/netgen/netgen-5.0.0.ebuild
@@ -12,24 +12,24 @@ DESCRIPTION="NETGEN is an automatic 3d tetrahedral mesh generator"
 HOMEPAGE="http://www.hpfem.jku.at/netgen/"
 SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}/${MY_PV}/${P}.tar.gz"
 
+SLOT="0"
 LICENSE="LGPL-2.1"
 KEYWORDS="~amd64 ~x86"
 IUSE="-ffmpeg jpeg -mpi opencascade"
-SLOT="0"
 
-DEPEND="dev-tcltk/tix
+DEPEND="
+	dev-tcltk/tix
 	dev-tcltk/togl:1.7
 	virtual/opengl
 	x11-libs/libXmu
-	opencascade? ( sci-libs/opencascade )
+	opencascade? ( sci-libs/opencascade:* )
 	ffmpeg? ( media-video/ffmpeg )
-	jpeg? ( virtual/jpeg )
+	jpeg? ( virtual/jpeg:0= )
 	mpi? ( virtual/mpi ( || ( sci-libs/parmetis sci-libs/metis ) ) ) "
 RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.
 
-src_prepare()
-{
+src_prepare() {
 	# Adapted from http://sourceforge.net/projects/netgen-mesher/forums/forum/905307/topic/5422824
 	epatch "${FILESDIR}/${PN}-5.x-compile-against-occ-6.5.x.patch"
 	epatch "${FILESDIR}/${PN}-5.x-missing-define.patch"
@@ -72,7 +72,7 @@ src_install() {
 	echo -e "NETGENDIR=${NETGENDIR} \nLDPATH=/usr/$(get_libdir)/Togl1.7" > ./99netgen
 	doenvd 99netgen
 
-	emake DESTDIR="${D}" install
+	default
 	mv "${D}"/usr/bin/{*.tcl,*.ocf} "${D}${NETGENDIR}" || die
 
 	# Install icon and .desktop for menu entry


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2016-02-22  8:38 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2016-02-22  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     c9bee13d7464e8937ac2afba9f50e436b84c1f08
Author:     Grégory Salvan <apieum <AT> gmail <DOT> com>
AuthorDate: Sat Feb 20 20:34:21 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 08:36:31 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c9bee13d

added required dependencies libX11 and and tk

 sci-mathematics/netgen/netgen-5.3.1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild
index adae126..9a1f35c 100644
--- a/sci-mathematics/netgen/netgen-5.3.1.ebuild
+++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild
@@ -18,9 +18,11 @@ KEYWORDS="~amd64 ~x86"
 IUSE="-ffmpeg jpeg -mpi opencascade"
 
 DEPEND="
+	dev-lang/tk
 	dev-tcltk/tix
 	dev-tcltk/togl:1.7
 	virtual/opengl
+	x11-libs/libX11
 	x11-libs/libXmu
 	opencascade? ( sci-libs/opencascade:* )
 	ffmpeg? ( media-video/ffmpeg )


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2016-02-22  8:38 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2016-02-22  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     aa4f4321b26e8565c3d4abcff9b5d17865577b88
Author:     Grégory Salvan <apieum <AT> gmail <DOT> com>
AuthorDate: Sat Feb 20 20:33:45 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 08:36:31 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=aa4f4321

change to EAPI 6

 sci-mathematics/netgen/netgen-5.3.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild
index 16441ff..adae126 100644
--- a/sci-mathematics/netgen/netgen-5.3.1.ebuild
+++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit autotools eutils flag-o-matic multilib versionator
 
@@ -30,6 +30,7 @@ RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.
 
 src_prepare() {
+	default
 	# Adapted from http://sourceforge.net/projects/netgen-mesher/forums/forum/905307/topic/5422824
 	epatch "${FILESDIR}/${PN}-5.x-missing-define.patch"
 	epatch "${FILESDIR}/${PN}-5.x-metis-numflag.patch"


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2016-02-22  8:38 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2016-02-22  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     54e396528967d270987480227b966494684811f4
Author:     Grégory Salvan <apieum <AT> gmail <DOT> com>
AuthorDate: Sun Feb 21 00:51:07 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 08:36:31 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=54e39652

remove sed for togl as it is fixed in build patch

 sci-mathematics/netgen/netgen-5.3.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild
index 5cdb4ab..1161cbd 100644
--- a/sci-mathematics/netgen/netgen-5.3.1.ebuild
+++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild
@@ -53,12 +53,11 @@ src_prepare() {
 src_configure() {
 	# This is not the most clever way to deal with these flags
 	# but --disable-xxx does not seem to work correcly, so...
-	sed -i -e 's:-lTogl:-lTogl1.7:' ng/Makefile.am || die
 	local myconf="--with-togl=/usr/$(get_libdir)/Togl1.7"
 
 	if use opencascade; then
 		myconf="${myconf} --enable-occ --with-occ=$CASROOT"
-		append-ldflags -L$CASROOT/lin/$(get_libdir)
+		append-ldflags -L$CASROOT/$(get_libdir)
 	fi
 	if use mpi; then
 		ewarn "*************************************************************************"


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2016-02-22  8:38 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2016-02-22  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     87e254cf7f809f2b54f201e16f5c11455c27a704
Author:     Grégory Salvan <apieum <AT> gmail <DOT> com>
AuthorDate: Sun Feb 21 21:22:52 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 08:36:31 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=87e254cf

Remove NETGEN from description

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

diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild
index b23cd8a..d39d45c 100644
--- a/sci-mathematics/netgen/netgen-5.3.1.ebuild
+++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild
@@ -8,7 +8,7 @@ inherit autotools eutils flag-o-matic multilib versionator
 
 MY_PN=${PN}-mesher
 MY_PV=$(get_version_component_range 1-2)
-DESCRIPTION="NETGEN is an automatic 3d tetrahedral mesh generator"
+DESCRIPTION="Automatic 3d tetrahedral mesh generator"
 HOMEPAGE="http://www.hpfem.jku.at/netgen/"
 SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}/${MY_PV}/${P}.tar.gz"
 


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2016-02-22  8:38 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2016-02-22  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     9eb7b1d6383e100614799a895342ede31a3734f3
Author:     Grégory Salvan <apieum <AT> gmail <DOT> com>
AuthorDate: Sun Feb 21 14:05:42 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 08:36:31 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9eb7b1d6

added openmp use flag

 sci-mathematics/netgen/netgen-5.3.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild
index 3d5b624..6f385f7 100644
--- a/sci-mathematics/netgen/netgen-5.3.1.ebuild
+++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}/${MY_PV}/${P}.tar.gz"
 SLOT="0"
 LICENSE="LGPL-2.1"
 KEYWORDS="~amd64 ~x86"
-IUSE="-ffmpeg jpeg -mpi opencascade"
+IUSE="-ffmpeg jpeg -mpi opencascade -openmp"
 
 DEPEND="
 	dev-lang/tk
@@ -57,6 +57,10 @@ src_configure() {
 	# but --disable-xxx does not seem to work correcly, so...
 	local myconf="--with-togl=/usr/$(get_libdir)/Togl1.7"
 
+	if use !openmp; then
+		myconf="${myconf} --disable-openmp"
+	fi
+
 	if use opencascade; then
 		myconf="${myconf} --enable-occ --with-occ=$CASROOT"
 		append-ldflags -L$CASROOT/$(get_libdir)


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2016-02-22  8:38 Justin Lecher
  0 siblings, 0 replies; 20+ messages in thread
From: Justin Lecher @ 2016-02-22  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     9ec238e476e7ace367d89b0498d181e69be91d6d
Author:     Grégory Salvan <apieum <AT> gmail <DOT> com>
AuthorDate: Sun Feb 21 14:36:39 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Feb 22 08:36:31 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9ec238e4

set hdf5[mpi] only if opencascade flag is selected and add tcl

 sci-mathematics/netgen/netgen-5.3.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild
index 6f385f7..4cc2cd9 100644
--- a/sci-mathematics/netgen/netgen-5.3.1.ebuild
+++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild
@@ -15,9 +15,10 @@ SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}/${MY_PV}/${P}.tar.gz"
 SLOT="0"
 LICENSE="LGPL-2.1"
 KEYWORDS="~amd64 ~x86"
-IUSE="-ffmpeg jpeg -mpi opencascade -openmp"
+IUSE="-ffmpeg jpeg -mpi opencascade openmp"
 
 DEPEND="
+	dev-lang/tcl
 	dev-lang/tk
 	dev-tcltk/tix
 	dev-tcltk/togl:1.7
@@ -27,7 +28,7 @@ DEPEND="
 	opencascade? ( sci-libs/opencascade:* )
 	ffmpeg? ( media-video/ffmpeg )
 	jpeg? ( virtual/jpeg:0= )
-	mpi? ( virtual/mpi ( || ( sci-libs/parmetis <sci-libs/metis-5.0 ) ) sci-libs/hdf5[mpi] ) "
+	mpi? ( virtual/mpi || ( sci-libs/parmetis <sci-libs/metis-5.0 ) opencascade? ( sci-libs/hdf5[mpi] ) ) "
 RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.
 


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2021-01-19 15:56 Andrew Ammerlaan
  0 siblings, 0 replies; 20+ messages in thread
From: Andrew Ammerlaan @ 2021-01-19 15:56 UTC (permalink / raw
  To: gentoo-commits

commit:     976cfc11cb864d225d9aec747718dbe019595d37
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 19 15:56:23 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 19 15:56:23 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=976cfc11

sci-mathematics/netgen: use https

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-mathematics/netgen/netgen-4.9.13.ebuild | 4 ++--
 sci-mathematics/netgen/netgen-5.0.0.ebuild  | 4 ++--
 sci-mathematics/netgen/netgen-5.3.1.ebuild  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sci-mathematics/netgen/netgen-4.9.13.ebuild b/sci-mathematics/netgen/netgen-4.9.13.ebuild
index 22f900973..1e98480e3 100644
--- a/sci-mathematics/netgen/netgen-4.9.13.ebuild
+++ b/sci-mathematics/netgen/netgen-4.9.13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -73,5 +73,5 @@ pkg_postinst() {
 	elog "env-update && source /etc/profile"
 	elog "Netgen ebuild is still under development."
 	elog "Help us improve the ebuild in:"
-	elog "http://bugs.gentoo.org/show_bug.cgi?id=155424"
+	elog "https://bugs.gentoo.org/show_bug.cgi?id=155424"
 }

diff --git a/sci-mathematics/netgen/netgen-5.0.0.ebuild b/sci-mathematics/netgen/netgen-5.0.0.ebuild
index 7c245c883..639122f31 100644
--- a/sci-mathematics/netgen/netgen-5.0.0.ebuild
+++ b/sci-mathematics/netgen/netgen-5.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -84,5 +84,5 @@ pkg_postinst() {
 	elog "env-update && source /etc/profile"
 	elog "Netgen ebuild is still under development."
 	elog "Help us improve the ebuild in:"
-	elog "http://bugs.gentoo.org/show_bug.cgi?id=155424"
+	elog "https://bugs.gentoo.org/show_bug.cgi?id=155424"
 }

diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild
index 5ccbcea2f..25b4da389 100644
--- a/sci-mathematics/netgen/netgen-5.3.1.ebuild
+++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -115,5 +115,5 @@ pkg_postinst() {
 	elog "env-update && source /etc/profile"
 	elog "Netgen ebuild is still under development."
 	elog "Help us improve the ebuild in:"
-	elog "http://bugs.gentoo.org/show_bug.cgi?id=155424"
+	elog "https://bugs.gentoo.org/show_bug.cgi?id=155424"
 }


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2021-01-28 19:26 Andrew Ammerlaan
  0 siblings, 0 replies; 20+ messages in thread
From: Andrew Ammerlaan @ 2021-01-28 19:26 UTC (permalink / raw
  To: gentoo-commits

commit:     87f3353e9c170e07a5f21e2d295e93a2d50f9c7d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Jan 28 19:26:35 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Jan 28 19:26:35 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=87f3353e

sci-mathematics/netgen: EAPI bump, add 6.0-beta

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-mathematics/netgen/netgen-4.9.13.ebuild        | 77 -------------------
 sci-mathematics/netgen/netgen-5.0.0.ebuild         | 88 ----------------------
 sci-mathematics/netgen/netgen-5.3.1.ebuild         | 14 ++--
 ...{netgen-5.3.1.ebuild => netgen-6.0_beta.ebuild} | 22 +++---
 4 files changed, 22 insertions(+), 179 deletions(-)

diff --git a/sci-mathematics/netgen/netgen-4.9.13.ebuild b/sci-mathematics/netgen/netgen-4.9.13.ebuild
deleted file mode 100644
index 1e98480e3..000000000
--- a/sci-mathematics/netgen/netgen-4.9.13.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils flag-o-matic multilib versionator
-
-DESCRIPTION="Automatic 3d tetrahedral mesh generator"
-HOMEPAGE="https://sourceforge.net/projects/netgen/"
-SRC_URI="mirror://sourceforge/netgen-mesher/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="~amd64 ~x86"
-IUSE="-ffmpeg jpeg -mpi opencascade"
-
-DEPEND="
-	dev-tcltk/tix
-	dev-tcltk/togl:1.7
-	virtual/opengl
-	x11-libs/libXmu
-	opencascade? ( sci-libs/opencascade:* )
-	ffmpeg? ( media-video/ffmpeg )
-	jpeg? ( virtual/jpeg:0= )
-	mpi? ( virtual/mpi ) "
-RDEPEND="${DEPEND}"
-# Note, MPI has not be tested.
-
-src_configure() {
-	# This is not the most clever way to deal with these flags
-	# but --disable-xxx does not seem to work correcly, so...
-	local myconf="--with-togl=/usr/$(get_libdir)/Togl1.7"
-
-	if use opencascade; then
-		myconf="${myconf} --enable-occ --with-occ=$CASROOT"
-		append-ldflags -L$CASROOT/lin/$(get_libdir)
-	fi
-
-	use mpi && myconf="${myconf} --enable-parallel"
-	use ffmpeg && myconf="${myconf} --enable-ffmpeg"
-	use jpeg && myconf="${myconf} --enable-jpeglib"
-
-	append-flags -I/usr/include/togl-1.7
-
-	econf \
-		${myconf}
-
-	# This would be the more elegant way:
-# 	econf \
-# 		$(use_enable opencascade occ) \
-# 		$(use_with opencascade "occ=$CASROOT") \
-# 		$(use_enable mpi parallel) \
-# 		$(use_enable ffmpeg) \
-# 		$(use_enable jpeg jpeglib)
-}
-
-src_install() {
-	local NETGENDIR="/usr/share/netgen"
-
-	echo -e "NETGENDIR=${NETGENDIR} \nLDPATH=/usr/$(get_libdir)/Togl1.7" > ./99netgen
-	doenvd 99netgen
-
-	default
-	mv "${D}"/usr/bin/{*.tcl,*.ocf} "${D}${NETGENDIR}"
-
-	# Install icon and .desktop for menu entry
-	doicon "${FILESDIR}"/${PN}.png
-	domenu "${FILESDIR}"/${PN}.desktop
-}
-
-pkg_postinst() {
-	elog "Please make sure to update your environment variables:"
-	elog "env-update && source /etc/profile"
-	elog "Netgen ebuild is still under development."
-	elog "Help us improve the ebuild in:"
-	elog "https://bugs.gentoo.org/show_bug.cgi?id=155424"
-}

diff --git a/sci-mathematics/netgen/netgen-5.0.0.ebuild b/sci-mathematics/netgen/netgen-5.0.0.ebuild
deleted file mode 100644
index 639122f31..000000000
--- a/sci-mathematics/netgen/netgen-5.0.0.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils flag-o-matic multilib versionator
-
-MY_PN=${PN}-mesher
-MY_PV=$(get_version_component_range 1-2)
-DESCRIPTION="NETGEN is an automatic 3d tetrahedral mesh generator"
-HOMEPAGE="https://sourceforge.net/projects/netgen/"
-SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}/${MY_PV}/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="~amd64 ~x86"
-IUSE="-ffmpeg jpeg -mpi opencascade"
-
-DEPEND="
-	dev-tcltk/tix
-	dev-tcltk/togl:1.7
-	virtual/opengl
-	x11-libs/libXmu
-	opencascade? ( sci-libs/opencascade:* )
-	ffmpeg? ( media-video/ffmpeg )
-	jpeg? ( virtual/jpeg:0= )
-	mpi? ( virtual/mpi ( || ( sci-libs/parmetis sci-libs/metis ) ) ) "
-RDEPEND="${DEPEND}"
-# Note, MPI has not be tested.
-
-src_prepare() {
-	# Adapted from http://sourceforge.net/projects/netgen-mesher/forums/forum/905307/topic/5422824
-	epatch "${FILESDIR}/${PN}-5.x-compile-against-occ-6.5.x.patch"
-	epatch "${FILESDIR}/${PN}-5.x-missing-define.patch"
-	eautoreconf
-}
-
-src_configure() {
-	# This is not the most clever way to deal with these flags
-	# but --disable-xxx does not seem to work correcly, so...
-	sed -i -e 's:-lTogl:-lTogl1.7:' ng/Makefile.am || die
-	local myconf="--with-togl=/usr/$(get_libdir)/Togl1.7"
-
-	if use opencascade; then
-		myconf="${myconf} --enable-occ --with-occ=$CASROOT"
-		append-ldflags -L$CASROOT/lin/$(get_libdir)
-	fi
-	if use mpi; then
-		myconf="${myconf} --enable-parallel"
-		append-cppflags -I/usr/include/metis
-	fi
-	use ffmpeg && myconf="${myconf} --enable-ffmpeg"
-	use jpeg && myconf="${myconf} --enable-jpeglib"
-	append-cppflags -I/usr/include/togl-1.7
-
-	econf \
-		${myconf}
-
-	# This would be the more elegant way:
-# 	econf \
-# 		$(use_enable opencascade occ) \
-# 		$(use_with opencascade "occ=$CASROOT") \
-# 		$(use_enable mpi parallel) \
-# 		$(use_enable ffmpeg) \
-# 		$(use_enable jpeg jpeglib)
-}
-
-src_install() {
-	local NETGENDIR="/usr/share/netgen"
-
-	echo -e "NETGENDIR=${NETGENDIR} \nLDPATH=/usr/$(get_libdir)/Togl1.7" > ./99netgen
-	doenvd 99netgen
-
-	default
-	mv "${D}"/usr/bin/{*.tcl,*.ocf} "${D}${NETGENDIR}" || die
-
-	# Install icon and .desktop for menu entry
-	doicon "${FILESDIR}"/${PN}.png
-	domenu "${FILESDIR}"/${PN}.desktop
-}
-
-pkg_postinst() {
-	elog "Please make sure to update your environment variables:"
-	elog "env-update && source /etc/profile"
-	elog "Netgen ebuild is still under development."
-	elog "Help us improve the ebuild in:"
-	elog "https://bugs.gentoo.org/show_bug.cgi?id=155424"
-}

diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild
index 25b4da389..594347da5 100644
--- a/sci-mathematics/netgen/netgen-5.3.1.ebuild
+++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild
@@ -1,12 +1,13 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit autotools eutils flag-o-matic multilib versionator
+inherit autotools flag-o-matic multilib xdg
 
 MY_PN=${PN}-mesher
-MY_PV=$(get_version_component_range 1-2)
+MY_PV=$(ver_cut 1-2)
+
 DESCRIPTION="Automatic 3d tetrahedral mesh generator"
 HOMEPAGE="https://sourceforge.net/projects/netgen/"
 SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}/${MY_PV}/${P}.tar.gz"
@@ -14,7 +15,8 @@ SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}/${MY_PV}/${P}.tar.gz"
 SLOT="0"
 LICENSE="LGPL-2.1"
 KEYWORDS="~amd64 ~x86"
-IUSE="-ffmpeg jpeg -mpi opencascade openmp"
+
+IUSE="ffmpeg jpeg mpi opencascade openmp"
 
 DEPEND="
 	dev-lang/tcl:0
@@ -27,7 +29,8 @@ DEPEND="
 	opencascade? ( sci-libs/opencascade:* )
 	ffmpeg? ( media-video/ffmpeg )
 	jpeg? ( virtual/jpeg:0= )
-	mpi? ( virtual/mpi || ( sci-libs/parmetis <sci-libs/metis-5.0 ) opencascade? ( sci-libs/hdf5[mpi] ) ) "
+	mpi? ( virtual/mpi || ( sci-libs/parmetis <sci-libs/metis-5.0 ) opencascade? ( sci-libs/hdf5[mpi] ) )
+"
 RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.
 
@@ -111,6 +114,7 @@ src_install() {
 }
 
 pkg_postinst() {
+	xdg_pkg_postinst
 	elog "Please make sure to update your environment variables:"
 	elog "env-update && source /etc/profile"
 	elog "Netgen ebuild is still under development."

diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-6.0_beta.ebuild
similarity index 88%
copy from sci-mathematics/netgen/netgen-5.3.1.ebuild
copy to sci-mathematics/netgen/netgen-6.0_beta.ebuild
index 25b4da389..ffdac83dd 100644
--- a/sci-mathematics/netgen/netgen-5.3.1.ebuild
+++ b/sci-mathematics/netgen/netgen-6.0_beta.ebuild
@@ -1,20 +1,22 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit autotools eutils flag-o-matic multilib versionator
+inherit autotools flag-o-matic multilib xdg
 
 MY_PN=${PN}-mesher
-MY_PV=$(get_version_component_range 1-2)
+MY_PV=${PV//_/-}
+
 DESCRIPTION="Automatic 3d tetrahedral mesh generator"
 HOMEPAGE="https://sourceforge.net/projects/netgen/"
-SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}/${MY_PV}/${P}.tar.gz"
+SRC_URI="mirror://sourceforge/project/${MY_PN}/${MY_PN}/$(ver_cut 1-2)/${PN}-${MY_PV}.tar.gz"
 
 SLOT="0"
 LICENSE="LGPL-2.1"
 KEYWORDS="~amd64 ~x86"
-IUSE="-ffmpeg jpeg -mpi opencascade openmp"
+
+IUSE="ffmpeg jpeg mpi opencascade openmp"
 
 DEPEND="
 	dev-lang/tcl:0
@@ -27,24 +29,25 @@ DEPEND="
 	opencascade? ( sci-libs/opencascade:* )
 	ffmpeg? ( media-video/ffmpeg )
 	jpeg? ( virtual/jpeg:0= )
-	mpi? ( virtual/mpi || ( sci-libs/parmetis <sci-libs/metis-5.0 ) opencascade? ( sci-libs/hdf5[mpi] ) ) "
+	mpi? ( virtual/mpi || ( sci-libs/parmetis <sci-libs/metis-5.0 ) opencascade? ( sci-libs/hdf5[mpi] ) )
+"
 RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.
 
 PATCHES=(
 	# Adapted from http://sourceforge.net/projects/netgen-mesher/forums/forum/905307/topic/5422824
-	"${FILESDIR}"/${PN}-5.x-missing-define.patch
+
 	# Adapted from http://pkgs.fedoraproject.org/cgit/rpms/netgen-mesher.git/tree/netgen-5.3.0_metis.patch
 	"${FILESDIR}"/${PN}-5.x-metis-fixes.patch
 	"${FILESDIR}"/${PN}-5.x-occ-stl-api-change.patch
 	# Adapted from http://pkgs.fedoraproject.org/cgit/rpms/netgen-mesher.git/tree/netgen-5.3.1_build.patch
-	"${FILESDIR}"/${PN}-5.x-makefiles-fixes.patch
 	# Adapted from http://pkgs.fedoraproject.org/cgit/rpms/netgen-mesher.git/tree/netgen-5.3.0_fixes.patch
-	"${FILESDIR}"/${PN}-5.x-fedora-fixes.patch
 	"${FILESDIR}"/${PN}-5.x-includes-fixes.patch
 	"${FILESDIR}"/${PN}-5.x-parallelmetis4-fix.patch
 )
 
+S="${WORKDIR}/${PN}-${MY_PV}"
+
 src_prepare() {
 	default
 	if use mpi; then
@@ -111,6 +114,7 @@ src_install() {
 }
 
 pkg_postinst() {
+	xdg_pkg_postinst
 	elog "Please make sure to update your environment variables:"
 	elog "env-update && source /etc/profile"
 	elog "Netgen ebuild is still under development."


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2021-02-25 15:06 Andrew Ammerlaan
  0 siblings, 0 replies; 20+ messages in thread
From: Andrew Ammerlaan @ 2021-02-25 15:06 UTC (permalink / raw
  To: gentoo-commits

commit:     334c8eb4f7ee4e94f5478cfad8f1a5d0b9c2cbd5
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Thu Feb 25 15:06:13 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Feb 25 15:06:13 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=334c8eb4

sci-mathematics/netgen: fixup dep, <sci-libs/metis-5.0 unavailable

Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-mathematics/netgen/netgen-5.3.1.ebuild    | 2 +-
 sci-mathematics/netgen/netgen-6.0_beta.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild
index 594347da5..c759afec4 100644
--- a/sci-mathematics/netgen/netgen-5.3.1.ebuild
+++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild
@@ -29,7 +29,7 @@ DEPEND="
 	opencascade? ( sci-libs/opencascade:* )
 	ffmpeg? ( media-video/ffmpeg )
 	jpeg? ( virtual/jpeg:0= )
-	mpi? ( virtual/mpi || ( sci-libs/parmetis <sci-libs/metis-5.0 ) opencascade? ( sci-libs/hdf5[mpi] ) )
+	mpi? ( virtual/mpi sci-libs/parmetis opencascade? ( sci-libs/hdf5[mpi] ) )
 "
 RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.

diff --git a/sci-mathematics/netgen/netgen-6.0_beta.ebuild b/sci-mathematics/netgen/netgen-6.0_beta.ebuild
index ffdac83dd..3206c4755 100644
--- a/sci-mathematics/netgen/netgen-6.0_beta.ebuild
+++ b/sci-mathematics/netgen/netgen-6.0_beta.ebuild
@@ -29,7 +29,7 @@ DEPEND="
 	opencascade? ( sci-libs/opencascade:* )
 	ffmpeg? ( media-video/ffmpeg )
 	jpeg? ( virtual/jpeg:0= )
-	mpi? ( virtual/mpi || ( sci-libs/parmetis <sci-libs/metis-5.0 ) opencascade? ( sci-libs/hdf5[mpi] ) )
+	mpi? ( virtual/mpi sci-libs/parmetis opencascade? ( sci-libs/hdf5[mpi] ) )
 "
 RDEPEND="${DEPEND}"
 # Note, MPI has not be tested.


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

* [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/
@ 2021-12-16 10:57 Andrew Ammerlaan
  0 siblings, 0 replies; 20+ messages in thread
From: Andrew Ammerlaan @ 2021-12-16 10:57 UTC (permalink / raw
  To: gentoo-commits

commit:     405ed7bc9a1fd39aff8263832d36b3a49b915d9b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 10:52:25 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 10:52:25 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=405ed7bc

sci-mathematics/netgen: fix inherits

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-mathematics/netgen/netgen-5.3.1.ebuild    | 4 +---
 sci-mathematics/netgen/netgen-6.0_beta.ebuild | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild
index c759afec4..3cd4d956d 100644
--- a/sci-mathematics/netgen/netgen-5.3.1.ebuild
+++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic multilib xdg
+inherit autotools desktop flag-o-matic xdg
 
 MY_PN=${PN}-mesher
 MY_PV=$(ver_cut 1-2)
@@ -109,8 +109,6 @@ src_install() {
 	# Install icon and .desktop for menu entry
 	doicon "${FILESDIR}"/${PN}.png
 	domenu "${FILESDIR}"/${PN}.desktop
-
-	prune_libtool_files
 }
 
 pkg_postinst() {

diff --git a/sci-mathematics/netgen/netgen-6.0_beta.ebuild b/sci-mathematics/netgen/netgen-6.0_beta.ebuild
index 3206c4755..8acc255d4 100644
--- a/sci-mathematics/netgen/netgen-6.0_beta.ebuild
+++ b/sci-mathematics/netgen/netgen-6.0_beta.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic multilib xdg
+inherit autotools desktop flag-o-matic xdg
 
 MY_PN=${PN}-mesher
 MY_PV=${PV//_/-}
@@ -109,8 +109,6 @@ src_install() {
 	# Install icon and .desktop for menu entry
 	doicon "${FILESDIR}"/${PN}.png
 	domenu "${FILESDIR}"/${PN}.desktop
-
-	prune_libtool_files
 }
 
 pkg_postinst() {


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

end of thread, other threads:[~2021-12-16 10:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22  8:38 [gentoo-commits] proj/sci:master commit in: sci-mathematics/netgen/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2021-12-16 10:57 Andrew Ammerlaan
2021-02-25 15:06 Andrew Ammerlaan
2021-01-28 19:26 Andrew Ammerlaan
2021-01-19 15:56 Andrew Ammerlaan
2016-02-22  8:38 Justin Lecher
2016-02-22  8:38 Justin Lecher
2016-02-22  8:38 Justin Lecher
2016-02-22  8:38 Justin Lecher
2016-02-22  8:38 Justin Lecher
2015-09-21 19:05 Justin Lecher
2015-06-08 12:19 Justin Lecher
2015-05-04 14:02 Justin Lecher
2015-05-04 14:02 Justin Lecher
2015-05-04 14:02 Justin Lecher
2015-05-04 14:02 Justin Lecher
2015-05-04 14:02 Justin Lecher
2015-05-03 20:43 Andrew Savchenko
2011-06-24 17:09 Justin Lecher
2011-03-14 10:16 Justin Lecher

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