public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-misc/elmer-elmergrid/
@ 2013-12-03 14:53 Justin Lecher
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher @ 2013-12-03 14:53 UTC (permalink / raw
  To: gentoo-commits

commit:     f646e47ce7406437af4891c1c6266a671a17c4ad
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  3 10:01:48 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Dec  3 10:01:48 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f646e47c

sci-misc/elmer-elmergrid: Bump EAPI; fix DESCRIPTION; drop keywords from live ebuild; use correct phase functions; simplify configure; link against external metis

Package-Manager: portage-2.2.7

---
 sci-misc/elmer-elmergrid/ChangeLog                 | 12 +++++
 .../elmer-elmergrid/elmer-elmergrid-5.4.1.ebuild   | 51 ----------------------
 .../elmer-elmergrid-6.0_p4651.ebuild               | 37 ++++++++++++++++
 .../elmer-elmergrid/elmer-elmergrid-9999.ebuild    | 46 +++++++++----------
 sci-misc/elmer-elmergrid/metadata.xml              |  5 +++
 5 files changed, 75 insertions(+), 76 deletions(-)

diff --git a/sci-misc/elmer-elmergrid/ChangeLog b/sci-misc/elmer-elmergrid/ChangeLog
new file mode 100644
index 0000000..95ddc32
--- /dev/null
+++ b/sci-misc/elmer-elmergrid/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sci-misc/elmer-elmergrid
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*elmer-elmergrid-6.0_p4651 (03 Dec 2013)
+
+  03 Dec 2013; Justin Lecher <jlec@gentoo.org> -elmer-elmergrid-5.4.1.ebuild,
+  +elmer-elmergrid-6.0_p4651.ebuild, elmer-elmergrid-9999.ebuild,
+  +metadata.xml:
+  Bump EAPI; fix DESCRIPTION; drop keywords from live ebuild; use correct phase
+  functions; simplify configure; link against external metis
+

diff --git a/sci-misc/elmer-elmergrid/elmer-elmergrid-5.4.1.ebuild b/sci-misc/elmer-elmergrid/elmer-elmergrid-5.4.1.ebuild
deleted file mode 100644
index 1e1bd6f..0000000
--- a/sci-misc/elmer-elmergrid/elmer-elmergrid-5.4.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="4"
-
-inherit autotools eutils
-
-ELMER_ROOT="elmerfem"
-MY_PN=${PN/elmer-/}
-
-DESCRIPTION="Elmer is a collection of finite element programs, libraries, and visualization tools, elmergrid"
-HOMEPAGE="http://www.csc.fi/english/pages/elmer"
-SRC_URI="http://elmerfem.svn.sourceforge.net/viewvc/${ELMER_ROOT}/release/${PV}/${MY_PN}/?view=tar -> ${P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug"
-DEPEND="sci-libs/matc
-	sys-libs/glibc"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PV}/elmergrid"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-	# configure must be executable
-	chmod +x configure
-	eautoreconf
-}
-
-src_compile() {
-	cd "${S}"
-	local myconf
-	export FC="gfortran"
-	export F77="gfortran"
-	use debug &&
-		myconf="${myconf} --with-debug" ||
-		myconf="${myconf} --without-debug"
-	myconf="$myconf --with-matc"
-	econf $myconf || die "econf failed"
-	emake || die "emake failed"
-}
-
-
-src_install() {
-	emake DESTDIR="${D}" install || die "emake install failed"
-}

diff --git a/sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild b/sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild
new file mode 100644
index 0000000..743d4ee
--- /dev/null
+++ b/sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils multilib
+
+ELMER_ROOT="elmerfem"
+MY_PN=${PN/elmer-/}
+
+DESCRIPTION="Finite element programs, libraries, and visualization tools - elmergrid"
+HOMEPAGE="http://www.csc.fi/english/pages/elmer"
+SRC_URI="http://elmerfem.svn.sourceforge.net/viewvc/${ELMER_ROOT}/release/${PV%_p*}/${MY_PN}/?view=tar&pathrev=4651 -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+	sci-libs/matc
+	sci-libs/metis"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/elmergrid"
+
+src_configure() {
+	local myeconfargs=(
+		$(use_with debug)
+		--with-metis-libs="${EPREFIX}"/usr/$(get_libdir)
+		--with-metis-include="${EPREFIX}"/usr/include/metis
+	)
+	autotools-utils_src_configure
+}

diff --git a/sci-misc/elmer-elmergrid/elmer-elmergrid-9999.ebuild b/sci-misc/elmer-elmergrid/elmer-elmergrid-9999.ebuild
index 67549e9..fe17b79 100644
--- a/sci-misc/elmer-elmergrid/elmer-elmergrid-9999.ebuild
+++ b/sci-misc/elmer-elmergrid/elmer-elmergrid-9999.ebuild
@@ -1,48 +1,44 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="4"
+EAPI=5
 
-inherit autotools eutils subversion
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils subversion
 
 ELMER_ROOT="elmerfem"
 MY_PN=${PN/elmer-/}
 
-DESCRIPTION="Elmer is a collection of finite element programs, libraries, and visualization tools, elmergrid"
+DESCRIPTION="Finite element programs, libraries, and visualization tools - elmergrid"
 HOMEPAGE="http://www.csc.fi/english/pages/elmer"
-#SRC_URI="http://elmerfem.svn.sourceforge.net/viewvc/${ELMER_ROOT}/release/${PV}/${MY_PN}/?view=tar -> ${P}.tar.gz"
 SRC_URI=""
-RESTRICT="mirror"
 ESVN_REPO_URI="https://elmerfem.svn.sourceforge.net/svnroot/elmerfem/trunk/${MY_PN}"
 ESVN_PROJECT="${MY_PN}"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS=""
 IUSE="debug"
-DEPEND="sci-libs/matc
-	sys-libs/glibc"
-RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${PV}/elmergrid"
+RDEPEND="
+	sci-libs/matc
+	sci-libs/metis"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/elmergrid"
 
 src_prepare() {
-	#unpack ${A}
-	cd "${S}"
-	# configure must be executable
-	#chmod +x configure
-	eautoreconf
+	subversion_src_prepare
+	autotools-utils_src_prepare
 }
 
 src_configure() {
-	cd "${S}"
-	local myconf
-	export FC="gfortran"
-	export F77="gfortran"
-	use debug &&
-		myconf="${myconf} --with-debug" ||
-		myconf="${myconf} --without-debug"
-	myconf="$myconf --with-matc"
-	econf $myconf || die "econf failed"
+	local myeconfargs=(
+		$(use_with debug)
+		--with-metis-libs="${EPREFIX}"/usr/$(get_libdir)
+		--with-metis-include="${EPREFIX}"/usr/include/metis
+	)
+	autotools-utils_src_configure
 }

diff --git a/sci-misc/elmer-elmergrid/metadata.xml b/sci-misc/elmer-elmergrid/metadata.xml
new file mode 100644
index 0000000..897aa2e
--- /dev/null
+++ b/sci-misc/elmer-elmergrid/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>sci</herd>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-misc/elmer-elmergrid/
@ 2021-01-30 14:30 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-01-30 14:30 UTC (permalink / raw
  To: gentoo-commits

commit:     83eba01fbf47f1a458bbfe08fcaf86e650cc21c8
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Jan 30 14:20:11 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Jan 30 14:20:11 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=83eba01f

sci-misc/elmer-elmer-grid: remove pack, included in elmer-fem now

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .../elmer-elmergrid-6.0_p4651.ebuild               | 36 ------------------
 .../elmer-elmergrid/elmer-elmergrid-9999.ebuild    | 43 ----------------------
 sci-misc/elmer-elmergrid/metadata.xml              | 11 ------
 3 files changed, 90 deletions(-)

diff --git a/sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild b/sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild
deleted file mode 100644
index 5cd8c8d08..000000000
--- a/sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils multilib
-
-ELMER_ROOT="elmerfem"
-MY_PN=${PN/elmer-/}
-
-DESCRIPTION="Finite element programs, libraries, and visualization tools - elmergrid"
-HOMEPAGE="https://www.csc.fi/web/elmer"
-SRC_URI="http://elmerfem.svn.sourceforge.net/viewvc/${ELMER_ROOT}/release/${PV%_p*}/${MY_PN}/?view=tar&pathrev=4651 -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-
-RDEPEND="
-	sci-misc/elmer-fem
-	sci-libs/metis"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/elmergrid"
-
-src_configure() {
-	local myeconfargs=(
-		$(use_with debug)
-		--with-metis-libs="${EPREFIX}"/usr/$(get_libdir)
-		--with-metis-include="${EPREFIX}"/usr/include/metis
-	)
-	autotools-utils_src_configure
-}

diff --git a/sci-misc/elmer-elmergrid/elmer-elmergrid-9999.ebuild b/sci-misc/elmer-elmergrid/elmer-elmergrid-9999.ebuild
deleted file mode 100644
index dd461ae9e..000000000
--- a/sci-misc/elmer-elmergrid/elmer-elmergrid-9999.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils subversion
-
-ELMER_ROOT="elmerfem"
-MY_PN=${PN/elmer-/}
-
-DESCRIPTION="Finite element programs, libraries, and visualization tools - elmergrid"
-HOMEPAGE="https://www.csc.fi/web/elmer"
-SRC_URI=""
-ESVN_REPO_URI="https://elmerfem.svn.sourceforge.net/svnroot/elmerfem/trunk/${MY_PN}"
-ESVN_PROJECT="${MY_PN}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE="debug"
-
-RDEPEND="
-	sci-misc/elmer-fem
-	sci-libs/metis"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/elmergrid"
-
-src_prepare() {
-	subversion_src_prepare
-	autotools-utils_src_prepare
-}
-
-src_configure() {
-	local myeconfargs=(
-		$(use_with debug)
-		--with-metis-libs="${EPREFIX}"/usr/$(get_libdir)
-		--with-metis-include="${EPREFIX}"/usr/include/metis
-	)
-	autotools-utils_src_configure
-}

diff --git a/sci-misc/elmer-elmergrid/metadata.xml b/sci-misc/elmer-elmergrid/metadata.xml
deleted file mode 100644
index 070aa2029..000000000
--- a/sci-misc/elmer-elmergrid/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>sci@gentoo.org</email>
-		<name>Gentoo Science Project</name>
-	</maintainer>
-	<upstream>
-		<remote-id type="sourceforge">svn</remote-id>
-	</upstream>
-</pkgmetadata>


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

end of thread, other threads:[~2021-01-30 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-03 14:53 [gentoo-commits] proj/sci:master commit in: sci-misc/elmer-elmergrid/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2021-01-30 14:30 Andrew Ammerlaan

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