[gentoo-commits] proj/sci:master commit in: sci-libs/gmsh/

2019-08-05 Thread Matthias Maier
commit: 7644cd0c869bd354a01a1470875ff23d57c05ffd
Author: Matthias Maier  gentoo  org>
AuthorDate: Mon Aug  5 06:44:10 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Mon Aug  5 06:44:10 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=7644cd0c

sci-libs/gmsh: merge into ::gentoo and remove from overlay.

Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/gmsh/gmsh-2.16.0.ebuild | 93 
 sci-libs/gmsh/gmsh-3.0.6.ebuild  | 93 
 sci-libs/gmsh/gmsh-4.0.2.ebuild  | 93 
 sci-libs/gmsh/gmsh-4.3.0.ebuild  | 93 
 sci-libs/gmsh/metadata.xml   | 19 
 5 files changed, 391 deletions(-)

diff --git a/sci-libs/gmsh/gmsh-2.16.0.ebuild b/sci-libs/gmsh/gmsh-2.16.0.ebuild
deleted file mode 100644
index ed7fc8be3..0
--- a/sci-libs/gmsh/gmsh-2.16.0.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils flag-o-matic fortran-2 toolchain-funcs
-
-DESCRIPTION="A three-dimensional finite element mesh generator"
-HOMEPAGE="http://www.geuz.org/gmsh/;
-SRC_URI="http://www.geuz.org/gmsh/src/${P}-source.tgz;
-
-## gmsh comes with its own copies of (at least) metis, netgen and tetgen, 
therefore inform the user of their special licenses
-LICENSE="GPL-3 free-noncomm"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-## cgns is not compiling ATM, maybe fix cgns lib first
-IUSE="blas cgns chaco doc examples jpeg lua med metis mpi netgen opencascade 
petsc png python taucs tetgen X zlib"
-
-RDEPEND="
-   virtual/fortran
-   X? ( x11-libs/fltk:1 )
-   blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 )
-   cgns? ( sci-libs/cgnslib )
-   jpeg? ( virtual/jpeg:0 )
-   lua? ( dev-lang/lua:0 )
-   med? ( sci-libs/med )
-   opencascade? ( sci-libs/opencascade:* )
-   png? ( media-libs/libpng:0 )
-   petsc? ( sci-mathematics/petsc )
-   zlib? ( sys-libs/zlib )
-   mpi? ( virtual/mpi[cxx] )
-   taucs? ( sci-libs/taucs )"
-
-REQUIRED_USE="
-   taucs? ( || ( metis ) )
-   "
-
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? ( virtual/latex-base )
-   python? ( dev-lang/swig:0 )
-   "
-
-S=${WORKDIR}/${P}-source
-
-pkg_setup() {
-   fortran-2_pkg_setup
-}
-
-src_configure() {
-   local mycmakeargs=( )
-
-   use blas && \
-   mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77))
-
-   mycmakeargs+=(
-   -DENABLE_BLAS_LAPACK="$(usex blas)"
-   -DENABLE_CGNS="$(usex cgns)"
-   -DENABLE_CHACO="$(usex chaco)"
-   -DENABLE_FLTK="$(usex X)"
-   -DENABLE_GRAPHICS="$(usex X)"
-   -DENABLE_MED="$(usex med)"
-   -DENABLE_METIS="$(usex metis)"
-   -DENABLE_NETGEN="$(usex netgen)"
-   -DENABLE_TAUCS="$(usex taucs)"
-   -DENABLE_TETGEN="$(usex tetgen)"
-   -DENABLE_OCC="$(usex opencascade)"
-   -DENABLE_PETSC="$(usex petsc)"
-   -DENABLE_WRAP_PYTHON="$(usex python)")
-
-   cmake-utils_src_configure mycmakeargs
-}
-
-src_compile() {
-   cmake-utils_src_compile
-   if use doc ; then
-   cd "${BUILD_DIR}" || die
-   emake pdf
-   cd "${S}" || die
-   dodoc doc/texinfo/gmsh.pdf
-   fi
-}
-
-src_install() {
-   cmake-utils_src_install
-
-   if use examples ; then
-   insinto /usr/share/doc/${PF}
-   doins -r demos tutorial
-   fi
-}

diff --git a/sci-libs/gmsh/gmsh-3.0.6.ebuild b/sci-libs/gmsh/gmsh-3.0.6.ebuild
deleted file mode 100644
index 8975cd76e..0
--- a/sci-libs/gmsh/gmsh-3.0.6.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit cmake-utils flag-o-matic fortran-2 toolchain-funcs
-
-DESCRIPTION="A three-dimensional finite element mesh generator"
-HOMEPAGE="http://www.geuz.org/gmsh/;
-SRC_URI="http://www.geuz.org/gmsh/src/${P}-source.tgz;
-
-## gmsh comes with its own copies of (at least) metis, netgen and tetgen, 
therefore inform the user of their special licenses
-LICENSE="GPL-3 free-noncomm"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-## cgns is not compiling ATM, maybe fix cgns lib first
-IUSE="blas cgns chaco doc examples jpeg lua med metis mpi netgen opencascade 
petsc png python taucs tetgen X zlib"
-
-RDEPEND="
-   virtual/fortran
-   X? ( x11-libs/fltk:1 )
-   blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 )
-   cgns? ( sci-libs/cgnslib )
-   jpeg? ( virtual/jpeg:0 )
-   lua? ( dev-lang/lua:0 )
-   med? ( sci-libs/med )
-   opencascade? ( 

[gentoo-commits] proj/sci:master commit in: sci-libs/gmsh/

2019-05-18 Thread Matthias Maier
commit: fa52d949b9d8bde9e5dd8f3a975deb832871763d
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat May 18 15:48:34 2019 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat May 18 15:48:34 2019 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=fa52d949

sci-libs/gmsh: version bump to 4.3.0

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/gmsh/gmsh-4.3.0.ebuild | 93 +
 1 file changed, 93 insertions(+)

diff --git a/sci-libs/gmsh/gmsh-4.3.0.ebuild b/sci-libs/gmsh/gmsh-4.3.0.ebuild
new file mode 100644
index 0..d75bf3f05
--- /dev/null
+++ b/sci-libs/gmsh/gmsh-4.3.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils flag-o-matic fortran-2 toolchain-funcs
+
+DESCRIPTION="A three-dimensional finite element mesh generator"
+HOMEPAGE="http://www.geuz.org/gmsh/;
+SRC_URI="http://www.geuz.org/gmsh/src/${P}-source.tgz;
+
+## gmsh comes with its own copies of (at least) metis, netgen and tetgen, 
therefore inform the user of their special licenses
+LICENSE="GPL-3 free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+## cgns is not compiling ATM, maybe fix cgns lib first
+IUSE="blas cgns chaco doc examples jpeg lua med metis mpi netgen opencascade 
petsc png python taucs tetgen X zlib"
+
+RDEPEND="
+   virtual/fortran
+   X? ( x11-libs/fltk:1 )
+   blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 )
+   cgns? ( sci-libs/cgnslib )
+   jpeg? ( virtual/jpeg:0 )
+   lua? ( dev-lang/lua:0 )
+   med? ( sci-libs/med )
+   opencascade? ( sci-libs/opencascade:* )
+   png? ( media-libs/libpng:0 )
+   petsc? ( sci-mathematics/petsc )
+   zlib? ( sys-libs/zlib )
+   mpi? ( virtual/mpi[cxx] )
+   taucs? ( sci-libs/taucs )"
+
+REQUIRED_USE="
+   taucs? ( || ( metis ) )
+   "
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( virtual/latex-base )
+   python? ( dev-lang/swig:0 )
+   "
+
+S=${WORKDIR}/${P}-source
+
+pkg_setup() {
+   fortran-2_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=( )
+
+   use blas && \
+   mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77))
+
+   mycmakeargs+=(
+   -DENABLE_BLAS_LAPACK="$(usex blas)"
+   -DENABLE_CGNS="$(usex cgns)"
+   -DENABLE_CHACO="$(usex chaco)"
+   -DENABLE_FLTK="$(usex X)"
+   -DENABLE_GRAPHICS="$(usex X)"
+   -DENABLE_MED="$(usex med)"
+   -DENABLE_METIS="$(usex metis)"
+   -DENABLE_NETGEN="$(usex netgen)"
+   -DENABLE_TAUCS="$(usex taucs)"
+   -DENABLE_TETGEN="$(usex tetgen)"
+   -DENABLE_OCC="$(usex opencascade)"
+   -DENABLE_PETSC="$(usex petsc)"
+   -DENABLE_WRAP_PYTHON="$(usex python)")
+
+   cmake-utils_src_configure mycmakeargs
+}
+
+src_compile() {
+   cmake-utils_src_compile
+   if use doc ; then
+   cd "${BUILD_DIR}" || die
+   emake pdf
+   cd "${S}" || die
+   dodoc doc/texinfo/gmsh.pdf
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use examples ; then
+   insinto /usr/share/doc/${PF}
+   doins -r demos tutorial
+   fi
+}



[gentoo-commits] proj/sci:master commit in: sci-libs/gmsh/

2018-10-10 Thread Matthias Maier
commit: b0a34b6bd2fb16f3573087b81701433076af2472
Author: Matthias Maier  gentoo  org>
AuthorDate: Thu Oct 11 03:16:58 2018 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Thu Oct 11 03:16:58 2018 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=b0a34b6b

sci-libs/gmsh: version bump to 4.0.2

Signed-off-by: Matthias Maier  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 sci-libs/gmsh/gmsh-4.0.2.ebuild | 93 +
 1 file changed, 93 insertions(+)

diff --git a/sci-libs/gmsh/gmsh-4.0.2.ebuild b/sci-libs/gmsh/gmsh-4.0.2.ebuild
new file mode 100644
index 0..7f4690090
--- /dev/null
+++ b/sci-libs/gmsh/gmsh-4.0.2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils flag-o-matic fortran-2 toolchain-funcs
+
+DESCRIPTION="A three-dimensional finite element mesh generator"
+HOMEPAGE="http://www.geuz.org/gmsh/;
+SRC_URI="http://www.geuz.org/gmsh/src/${P}-source.tgz;
+
+## gmsh comes with its own copies of (at least) metis, netgen and tetgen, 
therefore inform the user of their special licenses
+LICENSE="GPL-3 free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+## cgns is not compiling ATM, maybe fix cgns lib first
+IUSE="blas cgns chaco doc examples jpeg lua med metis mpi netgen opencascade 
petsc png python taucs tetgen X zlib"
+
+RDEPEND="
+   virtual/fortran
+   X? ( x11-libs/fltk:1 )
+   blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 )
+   cgns? ( sci-libs/cgnslib )
+   jpeg? ( virtual/jpeg:0 )
+   lua? ( dev-lang/lua:0 )
+   med? ( sci-libs/med )
+   opencascade? ( sci-libs/opencascade:* )
+   png? ( media-libs/libpng:0 )
+   petsc? ( sci-mathematics/petsc )
+   zlib? ( sys-libs/zlib )
+   mpi? ( virtual/mpi[cxx] )
+   taucs? ( sci-libs/taucs )"
+
+REQUIRED_USE="
+   taucs? ( || ( metis ) )
+   "
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( virtual/latex-base )
+   python? ( dev-lang/swig:0 )
+   "
+
+S=${WORKDIR}/${P}-source
+
+pkg_setup() {
+   fortran-2_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=( )
+
+   use blas && \
+   mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77))
+
+   mycmakeargs+=(
+   -DENABLE_BLAS_LAPACK="$(usex blas)"
+   -DENABLE_CGNS="$(usex cgns)"
+   -DENABLE_CHACO="$(usex chaco)"
+   -DENABLE_FLTK="$(usex X)"
+   -DENABLE_GRAPHICS="$(usex X)"
+   -DENABLE_MED="$(usex med)"
+   -DENABLE_METIS="$(usex metis)"
+   -DENABLE_NETGEN="$(usex netgen)"
+   -DENABLE_TAUCS="$(usex taucs)"
+   -DENABLE_TETGEN="$(usex tetgen)"
+   -DENABLE_OCC="$(usex opencascade)"
+   -DENABLE_PETSC="$(usex petsc)"
+   -DENABLE_WRAP_PYTHON="$(usex python)")
+
+   cmake-utils_src_configure mycmakeargs
+}
+
+src_compile() {
+   cmake-utils_src_compile
+   if use doc ; then
+   cd "${BUILD_DIR}" || die
+   emake pdf
+   cd "${S}" || die
+   dodoc doc/texinfo/gmsh.pdf
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use examples ; then
+   insinto /usr/share/doc/${PF}
+   doins -r demos tutorial
+   fi
+}



[gentoo-commits] proj/sci:master commit in: sci-libs/gmsh/

2018-04-24 Thread Matthias Maier
commit: e7079d08adc6cfa1cc0c97e2cf10e3472de80876
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Apr 24 15:03:02 2018 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue Apr 24 15:03:02 2018 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=e7079d08

sci-libs/gmsh: version bump to 3.0.6

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 sci-libs/gmsh/gmsh-3.0.6.ebuild | 93 +
 1 file changed, 93 insertions(+)

diff --git a/sci-libs/gmsh/gmsh-3.0.6.ebuild b/sci-libs/gmsh/gmsh-3.0.6.ebuild
new file mode 100644
index 0..8975cd76e
--- /dev/null
+++ b/sci-libs/gmsh/gmsh-3.0.6.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils flag-o-matic fortran-2 toolchain-funcs
+
+DESCRIPTION="A three-dimensional finite element mesh generator"
+HOMEPAGE="http://www.geuz.org/gmsh/;
+SRC_URI="http://www.geuz.org/gmsh/src/${P}-source.tgz;
+
+## gmsh comes with its own copies of (at least) metis, netgen and tetgen, 
therefore inform the user of their special licenses
+LICENSE="GPL-3 free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+## cgns is not compiling ATM, maybe fix cgns lib first
+IUSE="blas cgns chaco doc examples jpeg lua med metis mpi netgen opencascade 
petsc png python taucs tetgen X zlib"
+
+RDEPEND="
+   virtual/fortran
+   X? ( x11-libs/fltk:1 )
+   blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 )
+   cgns? ( sci-libs/cgnslib )
+   jpeg? ( virtual/jpeg:0 )
+   lua? ( dev-lang/lua:0 )
+   med? ( sci-libs/med )
+   opencascade? ( sci-libs/opencascade:* )
+   png? ( media-libs/libpng:0 )
+   petsc? ( sci-mathematics/petsc )
+   zlib? ( sys-libs/zlib )
+   mpi? ( virtual/mpi[cxx] )
+   taucs? ( sci-libs/taucs )"
+
+REQUIRED_USE="
+   taucs? ( || ( metis ) )
+   "
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? ( virtual/latex-base )
+   python? ( dev-lang/swig:0 )
+   "
+
+S=${WORKDIR}/${P}-source
+
+pkg_setup() {
+   fortran-2_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=( )
+
+   use blas && \
+   mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77))
+
+   mycmakeargs+=(
+   -DENABLE_BLAS_LAPACK="$(usex blas)"
+   -DENABLE_CGNS="$(usex cgns)"
+   -DENABLE_CHACO="$(usex chaco)"
+   -DENABLE_FLTK="$(usex X)"
+   -DENABLE_GRAPHICS="$(usex X)"
+   -DENABLE_MED="$(usex med)"
+   -DENABLE_METIS="$(usex metis)"
+   -DENABLE_NETGEN="$(usex netgen)"
+   -DENABLE_TAUCS="$(usex taucs)"
+   -DENABLE_TETGEN="$(usex tetgen)"
+   -DENABLE_OCC="$(usex opencascade)"
+   -DENABLE_PETSC="$(usex petsc)"
+   -DENABLE_WRAP_PYTHON="$(usex python)")
+
+   cmake-utils_src_configure mycmakeargs
+}
+
+src_compile() {
+   cmake-utils_src_compile
+   if use doc ; then
+   cd "${BUILD_DIR}" || die
+   emake pdf
+   cd "${S}" || die
+   dodoc doc/texinfo/gmsh.pdf
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use examples ; then
+   insinto /usr/share/doc/${PF}
+   doins -r demos tutorial
+   fi
+}



[gentoo-commits] proj/sci:master commit in: sci-libs/gmsh/

2017-03-26 Thread Justin Lecher
commit: 1ae1f5832dab439c4a9ae8e50a2c16c24c672dc1
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Mar 26 08:10:15 2017 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Mar 26 08:10:15 2017 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=1ae1f583

sci-libs/gmsh: Call cmake-utils_src_compile

Move buildtime deps to DEPEND
Drop CVS leftovers

Package-Manager: Portage-2.3.5, Repoman-2.3.2
Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/gmsh/gmsh-2.16.0.ebuild | 8 
 sci-libs/gmsh/gmsh-2.8.5.ebuild  | 7 +++
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/sci-libs/gmsh/gmsh-2.16.0.ebuild b/sci-libs/gmsh/gmsh-2.16.0.ebuild
index 242b31d03..ed7fc8be3 100644
--- a/sci-libs/gmsh/gmsh-2.16.0.ebuild
+++ b/sci-libs/gmsh/gmsh-2.16.0.ebuild
@@ -1,6 +1,5 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Id$
 
 EAPI=6
 
@@ -30,7 +29,6 @@ RDEPEND="
opencascade? ( sci-libs/opencascade:* )
png? ( media-libs/libpng:0 )
petsc? ( sci-mathematics/petsc )
-   python? ( dev-lang/python:2.7 dev-lang/swig:0 )
zlib? ( sys-libs/zlib )
mpi? ( virtual/mpi[cxx] )
taucs? ( sci-libs/taucs )"
@@ -41,8 +39,9 @@ REQUIRED_USE="
 
 DEPEND="${RDEPEND}
virtual/pkgconfig
-   dev-util/cmake
-   doc? ( virtual/latex-base )"
+   doc? ( virtual/latex-base )
+   python? ( dev-lang/swig:0 )
+   "
 
 S=${WORKDIR}/${P}-source
 
@@ -75,6 +74,7 @@ src_configure() {
 }
 
 src_compile() {
+   cmake-utils_src_compile
if use doc ; then
cd "${BUILD_DIR}" || die
emake pdf

diff --git a/sci-libs/gmsh/gmsh-2.8.5.ebuild b/sci-libs/gmsh/gmsh-2.8.5.ebuild
index 6010916f1..1decc3cda 100644
--- a/sci-libs/gmsh/gmsh-2.8.5.ebuild
+++ b/sci-libs/gmsh/gmsh-2.8.5.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 inherit cmake-utils flag-o-matic fortran-2 toolchain-funcs
 
@@ -37,7 +37,6 @@ REQUIRED_USE="
 
 DEPEND="${RDEPEND}
virtual/pkgconfig
-   dev-util/cmake
doc? ( virtual/latex-base )"
 
 S=${WORKDIR}/${P}-source
@@ -67,7 +66,7 @@ src_configure() {
$(cmake-utils_use_enable tetgen TETGEN)
$(cmake-utils_use_enable opencascade OCC)
$(cmake-utils_use_enable petsc PETSC)"
-#  $(cmake-utils_use_enable tetgen TETGEN_NEW)
+#  $(cmake-utils_use_enable tetgen TETGEN_NEW)
 
cmake-utils_src_configure ${mycmakeargs}
 }



[gentoo-commits] proj/sci:master commit in: sci-libs/gmsh/

2017-03-16 Thread Justin Lecher
commit: 0f5a9c04ec86f859c1cad9bd0a34e765e357f0af
Author: Marek Wojciechowski  users  noreply  github 
 com>
AuthorDate: Tue Mar 14 09:41:00 2017 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Mar 14 09:41:00 2017 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=0f5a9c04

Add new gmsh ebuild. (#724)

* Add new gmsh ebuild.

* Move doc compilation to src_compile

 sci-libs/gmsh/gmsh-2.16.0.ebuild | 93 
 1 file changed, 93 insertions(+)

diff --git a/sci-libs/gmsh/gmsh-2.16.0.ebuild b/sci-libs/gmsh/gmsh-2.16.0.ebuild
new file mode 100644
index 0..242b31d03
--- /dev/null
+++ b/sci-libs/gmsh/gmsh-2.16.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake-utils flag-o-matic fortran-2 toolchain-funcs
+
+DESCRIPTION="A three-dimensional finite element mesh generator"
+HOMEPAGE="http://www.geuz.org/gmsh/;
+SRC_URI="http://www.geuz.org/gmsh/src/${P}-source.tgz;
+
+## gmsh comes with its own copies of (at least) metis, netgen and tetgen, 
therefore inform the user of their special licenses
+LICENSE="GPL-3 free-noncomm"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+## cgns is not compiling ATM, maybe fix cgns lib first
+IUSE="blas cgns chaco doc examples jpeg lua med metis mpi netgen opencascade 
petsc png python taucs tetgen X zlib"
+
+RDEPEND="
+   virtual/fortran
+   X? ( x11-libs/fltk:1 )
+   blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 )
+   cgns? ( sci-libs/cgnslib )
+   jpeg? ( virtual/jpeg:0 )
+   lua? ( dev-lang/lua:0 )
+   med? ( sci-libs/med )
+   opencascade? ( sci-libs/opencascade:* )
+   png? ( media-libs/libpng:0 )
+   petsc? ( sci-mathematics/petsc )
+   python? ( dev-lang/python:2.7 dev-lang/swig:0 )
+   zlib? ( sys-libs/zlib )
+   mpi? ( virtual/mpi[cxx] )
+   taucs? ( sci-libs/taucs )"
+
+REQUIRED_USE="
+   taucs? ( || ( metis ) )
+   "
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   dev-util/cmake
+   doc? ( virtual/latex-base )"
+
+S=${WORKDIR}/${P}-source
+
+pkg_setup() {
+   fortran-2_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=( )
+
+   use blas && \
+   mycmakeargs+=(-DCMAKE_Fortran_COMPILER=$(tc-getF77))
+
+   mycmakeargs+=(
+   -DENABLE_BLAS_LAPACK="$(usex blas)"
+   -DENABLE_CGNS="$(usex cgns)"
+   -DENABLE_CHACO="$(usex chaco)"
+   -DENABLE_FLTK="$(usex X)"
+   -DENABLE_GRAPHICS="$(usex X)"
+   -DENABLE_MED="$(usex med)"
+   -DENABLE_METIS="$(usex metis)"
+   -DENABLE_NETGEN="$(usex netgen)"
+   -DENABLE_TAUCS="$(usex taucs)"
+   -DENABLE_TETGEN="$(usex tetgen)"
+   -DENABLE_OCC="$(usex opencascade)"
+   -DENABLE_PETSC="$(usex petsc)"
+   -DENABLE_WRAP_PYTHON="$(usex python)")
+
+   cmake-utils_src_configure mycmakeargs
+}
+
+src_compile() {
+   if use doc ; then
+   cd "${BUILD_DIR}" || die
+   emake pdf
+   cd "${S}" || die
+   dodoc doc/texinfo/gmsh.pdf
+   fi
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use examples ; then
+   insinto /usr/share/doc/${PF}
+   doins -r demos tutorial
+   fi
+}



[gentoo-commits] proj/sci:master commit in: sci-libs/gmsh/

2015-09-21 Thread Justin Lecher
commit: 3cc234341f62f2e84a8aca6adc852b28dd335480
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Sep 21 17:43:57 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Sep 21 17:43:57 2015 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=3cc23434

sci-libs/gmsh: Add subslot operators

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

 sci-libs/gmsh/gmsh-2.8.5.ebuild | 23 +++
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/sci-libs/gmsh/gmsh-2.8.5.ebuild b/sci-libs/gmsh/gmsh-2.8.5.ebuild
index a56cb4e..368a4e8 100644
--- a/sci-libs/gmsh/gmsh-2.8.5.ebuild
+++ b/sci-libs/gmsh/gmsh-2.8.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit cmake-utils flag-o-matic fortran-2 toolchain-funcs
 
-DESCRIPTION="A three-dimensional finite element mesh generator with built-in 
pre- and post-processing facilities"
+DESCRIPTION="A three-dimensional finite element mesh generator"
 HOMEPAGE="http://www.geuz.org/gmsh/;
 SRC_URI="http://www.geuz.org/gmsh/src/${P}-source.tgz;
 
@@ -22,11 +22,11 @@ RDEPEND="
X? ( x11-libs/fltk:1 )
blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 )
cgns? ( sci-libs/cgnslib )
-   jpeg? ( virtual/jpeg )
-   lua? ( dev-lang/lua )
+   jpeg? ( virtual/jpeg:0= )
+   lua? ( dev-lang/lua:0 )
med? ( >=sci-libs/med-2.3.4 )
-   opencascade? ( sci-libs/opencascade )
-   png? ( media-libs/libpng )
+   opencascade? ( sci-libs/opencascade:* )
+   png? ( media-libs/libpng:0= )
petsc? ( <=sci-mathematics/petsc-3.4.2 )
zlib? ( sys-libs/zlib )
mpi? ( virtual/mpi[cxx] )
@@ -70,8 +70,7 @@ src_configure() {
$(cmake-utils_use_enable petsc PETSC)"
 #  $(cmake-utils_use_enable tetgen TETGEN_NEW)
 
-   cmake-utils_src_configure ${mycmakeargs} \
-   || die "cmake configuration failed"
+   cmake-utils_src_configure ${mycmakeargs}
 }
 
 src_install() {
@@ -79,14 +78,14 @@ src_install() {
 
# TODO: tutorials get installed twice ATM
if use doc ; then
-   cd "${CMAKE_BUILD_DIR}"
-   emake pdf || die "failed to build documentation"
-   cd "${S}"
+   cd "${CMAKE_BUILD_DIR}" || die
+   emake pdf
+   cd "${S}" || die
dodoc doc/texinfo/gmsh.pdf
fi
 
if use examples ; then
insinto /usr/share/doc/${PF}
-   doins -r demos tutorial || die "failed to install examples"
+   doins -r demos tutorial
fi
 }



[gentoo-commits] proj/sci:master commit in: sci-libs/gmsh/

2014-09-01 Thread Jauhien Piatlicki
commit: 9efdacf717aed763c7f505459d84cc5e3858219c
Author: Rongcui Dong carldong76 AT gmail DOT com
AuthorDate: Sat Aug 30 14:44:20 2014 +
Commit: Jauhien Piatlicki jauhien AT gentoo DOT org
CommitDate: Sat Aug 30 14:44:20 2014 +
URL:http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9efdacf7

sci-libs/gmsh: Updated sci-libs/gmsh to 2.8.5 and EAPI to 5

Package-Manager: portage-2.3.6-r9

---
 sci-libs/gmsh/ChangeLog  | 11 +--
 sci-libs/gmsh/{gmsh-2.5.0-r1.ebuild = gmsh-2.5.0-r2.ebuild} |  6 +-
 sci-libs/gmsh/{gmsh-2.5.0.ebuild = gmsh-2.8.5.ebuild}   |  8 
 sci-libs/gmsh/gmsh-.ebuild   |  2 +-
 4 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/sci-libs/gmsh/ChangeLog b/sci-libs/gmsh/ChangeLog
index 359eac0..70af555 100644
--- a/sci-libs/gmsh/ChangeLog
+++ b/sci-libs/gmsh/ChangeLog
@@ -1,7 +1,15 @@
 # ChangeLog for sci-libs/gmsh
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*gmsh-2.5.0-r2 (30 Aug 2014)
+*gmsh-2.8.5 (30 Aug 2014)
+
+  30 Aug 2014; Rongcui Dong carldon...@gmail.com +gmsh-2.5.0-r2.ebuild,
+  +gmsh-2.8.5.ebuild, -gmsh-2.5.0-r1.ebuild, -gmsh-2.5.0.ebuild,
+  gmsh-.ebuild:
+  sci-libs/gmsh: Updated sci-libs/gmsh to 2.8.5 and EAPI to 5
+
   22 Feb 2013; Justin Lecher j...@gentoo.org gmsh-2.5.0.ebuild, metadata.xml:
   Add missing dep on virtual/pkgconfig
 
@@ -103,4 +111,3 @@
   26 Aug 2008; Oliver Borm (boroli) oli.b...@web.de +gmsh-2.2.3.ebuild,
   +files/gmsh-2.2.3-metis.patch, +files/gmsh-2.2.3.patch, +metadata.xml:
   Ebuild for gmsh as reported in bug 195980.
-

diff --git a/sci-libs/gmsh/gmsh-2.5.0-r1.ebuild 
b/sci-libs/gmsh/gmsh-2.5.0-r2.ebuild
similarity index 97%
rename from sci-libs/gmsh/gmsh-2.5.0-r1.ebuild
rename to sci-libs/gmsh/gmsh-2.5.0-r2.ebuild
index c437361..25db3df 100644
--- a/sci-libs/gmsh/gmsh-2.5.0-r1.ebuild
+++ b/sci-libs/gmsh/gmsh-2.5.0-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
 inherit cmake-utils fortran-2 toolchain-funcs
 
@@ -35,6 +35,10 @@ RDEPEND=
taucs? ( sci-libs/taucs )

 
+REQUIRED_USE=
+   taucs? ( || ( metis ) )
+   
+
 DEPEND=${RDEPEND}
doc? ( virtual/latex-base )
 

diff --git a/sci-libs/gmsh/gmsh-2.5.0.ebuild b/sci-libs/gmsh/gmsh-2.8.5.ebuild
similarity index 94%
rename from sci-libs/gmsh/gmsh-2.5.0.ebuild
rename to sci-libs/gmsh/gmsh-2.8.5.ebuild
index e42959a..326a6f7 100644
--- a/sci-libs/gmsh/gmsh-2.5.0.ebuild
+++ b/sci-libs/gmsh/gmsh-2.8.5.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
+EAPI=5
 
 inherit cmake-utils flag-o-matic fortran-2 toolchain-funcs
 
@@ -32,9 +32,9 @@ RDEPEND=
mpi? ( virtual/mpi[cxx] )
taucs? ( sci-libs/taucs )
 
-# taucs needs metis enabled.
-# Wait for the REQUIRED_USE syntax in EAPI4.
-# http://www.gentoo.org/proj/en/council/meeting-logs/20101130-summary.txt
+REQUIRED_USE=
+   taucs? ( || ( metis ) )
+   
 
 DEPEND=${RDEPEND}
virtual/pkgconfig

diff --git a/sci-libs/gmsh/gmsh-.ebuild b/sci-libs/gmsh/gmsh-.ebuild
index 7796179..fb15737 100644
--- a/sci-libs/gmsh/gmsh-.ebuild
+++ b/sci-libs/gmsh/gmsh-.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
+EAPI=5
 
 inherit cmake-utils flag-o-matic fortran-2 subversion toolchain-funcs
 



[gentoo-commits] proj/sci:master commit in: sci-libs/gmsh/, sci-libs/gmsh/files/

2014-09-01 Thread Jauhien Piatlicki
commit: 030212b91690534d54e31b67da3e5ae78fae5ff4
Author: Jauhien Piatlicki jauhien AT gentoo DOT org
AuthorDate: Mon Sep  1 19:44:11 2014 +
Commit: Jauhien Piatlicki jauhien AT gentoo DOT org
CommitDate: Mon Sep  1 19:44:11 2014 +
URL:http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=030212b9

sci-libs/gmsh: remove old and live versions

old version is outdated and has problems with compilation
svn repo can not be accessed anonymously

---
 sci-libs/gmsh/ChangeLog |  5 ++
 sci-libs/gmsh/files/gmsh-2.5.0-libpng-1.5.patch | 10 ---
 sci-libs/gmsh/files/gmsh-2.5.0-link.patch   | 16 -
 sci-libs/gmsh/gmsh-2.5.0-r2.ebuild  | 95 -
 sci-libs/gmsh/gmsh-.ebuild  | 87 --
 5 files changed, 5 insertions(+), 208 deletions(-)

diff --git a/sci-libs/gmsh/ChangeLog b/sci-libs/gmsh/ChangeLog
index 97574bb..9d83124 100644
--- a/sci-libs/gmsh/ChangeLog
+++ b/sci-libs/gmsh/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  01 Sep 2014; Jauhien Piatlicki jauh...@gentoo.org -gmsh-2.5.0-r2.ebuild,
+  -gmsh-.ebuild, -files/gmsh-2.5.0-libpng-1.5.patch,
+  -files/gmsh-2.5.0-link.patch:
+  remove old and live versions
+
   01 Sep 2014; Jauhien Piatlicki jauh...@gentoo.org gmsh-2.8.5.ebuild:
   fix sci-mathematics/petsc dependency
 

diff --git a/sci-libs/gmsh/files/gmsh-2.5.0-libpng-1.5.patch 
b/sci-libs/gmsh/files/gmsh-2.5.0-libpng-1.5.patch
deleted file mode 100644
index 7920d99..000
--- a/sci-libs/gmsh/files/gmsh-2.5.0-libpng-1.5.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/Graphics/gl2png.cpp
-+++ b/Graphics/gl2png.cpp
-@@ -16,6 +16,7 @@
- #else
- 
- #include png.h
-+#include zlib.h
- 
- #ifndef png_jmpbuf
- #  define png_jmpbuf(png_ptr) ((png_ptr)-jmpbuf)

diff --git a/sci-libs/gmsh/files/gmsh-2.5.0-link.patch 
b/sci-libs/gmsh/files/gmsh-2.5.0-link.patch
deleted file mode 100644
index f019cae..000
--- a/sci-libs/gmsh/files/gmsh-2.5.0-link.patch
+++ /dev/null
@@ -1,16 +0,0 @@
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 5549d6a..48a106d 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -879,7 +879,7 @@ elseif(HAVE_QT)
- else(HAVE_FLTK)
-   add_executable(gmsh Common/Main.cpp ${GMSH_SRC})
- endif(HAVE_FLTK)
--target_link_libraries(gmsh ${LINK_LIBRARIES})
-+target_link_libraries(gmsh ${LINK_LIBRARIES} -ldl)
- 
- # increase stack to 16Mb on Windows to avoid overflows in recursive
- # tet classification for large 3D Delaunay grids

diff --git a/sci-libs/gmsh/gmsh-2.5.0-r2.ebuild 
b/sci-libs/gmsh/gmsh-2.5.0-r2.ebuild
deleted file mode 100644
index 25db3df..000
--- a/sci-libs/gmsh/gmsh-2.5.0-r2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-inherit cmake-utils fortran-2 toolchain-funcs
-
-DESCRIPTION=3D finite element mesh generator with built-in pre- and 
post-processing facilities
-HOMEPAGE=http://www.geuz.org/gmsh/;
-SRC_URI=http://www.geuz.org/gmsh/src/${P}-source.tgz;
-
-## gmsh comes with its own copies of (at least) metis, netgen and tetgen, 
therefore inform the user of their special licenses
-LICENSE=GPL-3 free-noncomm
-SLOT=0
-KEYWORDS=~amd64 ~x86
-## cgns is not compiling ATM, maybe fix cgns lib first
-IUSE=blas cgns chaco doc examples jpeg lua med metis mpi netgen opencascade 
petsc taucs tetgen X
-
-RDEPEND=
-   media-libs/libpng
-   sys-libs/zlib
-   virtual/fortran
-   virtual/glu
-   virtual/opengl
-   X? ( x11-libs/fltk:1[opengl] )
-   blas? ( virtual/blas virtual/lapack sci-libs/fftw:3.0 )
-   cgns? ( sci-libs/cgnslib )
-   jpeg? ( virtual/jpeg )
-   lua? ( dev-lang/lua )
-   med? ( =sci-libs/med-2.3.4 )
-   opencascade? ( sci-libs/opencascade )
-   petsc? ( sci-mathematics/petsc )
-   mpi? ( virtual/mpi[cxx] )
-   taucs? ( sci-libs/taucs )
-   
-
-REQUIRED_USE=
-   taucs? ( || ( metis ) )
-   
-
-DEPEND=${RDEPEND}
-   doc? ( virtual/latex-base )
-
-S=${WORKDIR}/${P}-source
-
-PATCHES=(
-   ${FILESDIR}/${P}-link.patch
-   ${FILESDIR}/${P}-libpng-1.5.patch )
-
-REQUIRED_USE=taucs? ( metis )
-
-src_configure() {
-   use blas  \
-   myargs=-DCMAKE_Fortran_COMPILER=$(tc-getF77)
-
-   mycmakeargs=(
-   $(cmake-utils_use_enable blas BLAS_LAPACK)
-   $(cmake-utils_use_enable cgns CGNS)
-   $(cmake-utils_use_enable chaco CHACO)
-   $(cmake-utils_use_enable X FLTK)
-   $(cmake-utils_use_enable X FL_TREE)
-   $(cmake-utils_use_enable X GRAPHICS)
-   $(cmake-utils_use_enable med MED)
-   $(cmake-utils_use_enable metis METIS)
-   $(cmake-utils_use_enable netgen NETGEN)
-   

[gentoo-commits] proj/sci:master commit in: sci-libs/gmsh/

2014-09-01 Thread Jauhien Piatlicki
commit: cd8a1edc84bbb592d48b834d95fb9ab0f4d126d7
Author: Jauhien Piatlicki jauhien AT gentoo DOT org
AuthorDate: Mon Sep  1 17:55:19 2014 +
Commit: Jauhien Piatlicki jauhien AT gentoo DOT org
CommitDate: Mon Sep  1 17:55:19 2014 +
URL:http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cd8a1edc

sci-libs/gmsh: fix sci-mathematics/petsc dependency

---
 sci-libs/gmsh/ChangeLog | 3 +++
 sci-libs/gmsh/gmsh-2.8.5.ebuild | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-libs/gmsh/ChangeLog b/sci-libs/gmsh/ChangeLog
index 70af555..97574bb 100644
--- a/sci-libs/gmsh/ChangeLog
+++ b/sci-libs/gmsh/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  01 Sep 2014; Jauhien Piatlicki jauh...@gentoo.org gmsh-2.8.5.ebuild:
+  fix sci-mathematics/petsc dependency
+
 *gmsh-2.5.0-r2 (30 Aug 2014)
 *gmsh-2.8.5 (30 Aug 2014)
 

diff --git a/sci-libs/gmsh/gmsh-2.8.5.ebuild b/sci-libs/gmsh/gmsh-2.8.5.ebuild
index 326a6f7..083f082 100644
--- a/sci-libs/gmsh/gmsh-2.8.5.ebuild
+++ b/sci-libs/gmsh/gmsh-2.8.5.ebuild
@@ -27,7 +27,7 @@ RDEPEND=
med? ( =sci-libs/med-2.3.4 )
opencascade? ( sci-libs/opencascade )
png? ( media-libs/libpng )
-   petsc? ( sci-mathematics/petsc )
+   petsc? ( =sci-mathematics/petsc-3.4.2 )
zlib? ( sys-libs/zlib )
mpi? ( virtual/mpi[cxx] )
taucs? ( sci-libs/taucs )