public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-05-10 16:06 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-05-10 16:06 UTC (permalink / raw
  To: gentoo-commits

commit:     ce1e979e80fb73161ac6c78d5eff3d338d36f60b
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Fri May 10 16:06:01 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Fri May 10 16:06:01 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ce1e979e

Added maintainer (myself) to metadata.xml for lammps.

Package-Manager: portage-2.2.0_alpha174

---
 sci-physics/lammps/ChangeLog    |    3 +++
 sci-physics/lammps/metadata.xml |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index d717a18..160731f 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> metadata.xml:
+  Added maintainer (myself) to metadata.xml for lammps.
+
 *lammps-20130512 (10 May 2013)
 
   10 May 2013; Nicolas Bock <nicolasbock@gmail.com>

diff --git a/sci-physics/lammps/metadata.xml b/sci-physics/lammps/metadata.xml
index 69268b8..e98e56e 100644
--- a/sci-physics/lammps/metadata.xml
+++ b/sci-physics/lammps/metadata.xml
@@ -15,5 +15,8 @@
 		techniques and a spatial-decomposition of the simulation domain. The
 		code is designed to be easy to modify or extend with new functionality. 
 	</longdescription>
+	<maintainer>
+		<email>nicolasbock@gmail.com</email>
+	</maintainer>
 </pkgmetadata>
 


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-05-10 17:34 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-05-10 17:34 UTC (permalink / raw
  To: gentoo-commits

commit:     01c396413a587dadcb32bb1324a078711d1a1f1e
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Fri May 10 17:34:05 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Fri May 10 17:34:05 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=01c39641

lammps: Added use flags for some optional packages.

Package-Manager: portage-2.2.0_alpha174

---
 sci-physics/lammps/ChangeLog              |    4 ++++
 sci-physics/lammps/lammps-20130512.ebuild |    8 +++++++-
 sci-physics/lammps/metadata.xml           |    5 +++++
 3 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 160731f..74fe165 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild,
+  metadata.xml:
+  lammps: Added use flags for some optional packages.
+
   10 May 2013; Nicolas Bock <nicolasbock@gmail.com> metadata.xml:
   Added maintainer (myself) to metadata.xml for lammps.
 

diff --git a/sci-physics/lammps/lammps-20130512.ebuild b/sci-physics/lammps/lammps-20130512.ebuild
index 328c94e..bd23dab 100644
--- a/sci-physics/lammps/lammps-20130512.ebuild
+++ b/sci-physics/lammps/lammps-20130512.ebuild
@@ -15,7 +15,7 @@ SRC_URI="http://lammps.sandia.gov/tars/lammps-${LAMMPSDATE}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="package-meam package-dipole package-rigid"
 
 DEPEND=""
 RDEPEND="${DEPEND}"
@@ -28,6 +28,12 @@ src_prepare() {
 
 src_compile() {
 	emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" stubs
+	use package-meam && {
+		emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" yes-meam
+		emake -C lib/meam -f Makefile.gfortran ARCHIVE=$(tc-getAR) F90=$(tc-getFC) F90FLAGS="${FCFLAGS}" LINKFLAGS="${LDFLAGS}"
+	}
+	use package-dipole && emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" yes-dipole
+	use package-rigid && emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" yes-rigid
 	emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" gentoo-serial
 }
 

diff --git a/sci-physics/lammps/metadata.xml b/sci-physics/lammps/metadata.xml
index e98e56e..58f1011 100644
--- a/sci-physics/lammps/metadata.xml
+++ b/sci-physics/lammps/metadata.xml
@@ -15,6 +15,11 @@
 		techniques and a spatial-decomposition of the simulation domain. The
 		code is designed to be easy to modify or extend with new functionality. 
 	</longdescription>
+	<use>
+		<flag name="package-meam">modified EAM potential</flag>
+		<flag name="package-dipole">point dipole particles</flag>
+		<flag name="package-rigid">rigid bodies</flag>
+	</use>
 	<maintainer>
 		<email>nicolasbock@gmail.com</email>
 	</maintainer>


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-05-10 17:46 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-05-10 17:46 UTC (permalink / raw
  To: gentoo-commits

commit:     acae03bbb074d10bba3fce56ce6cb03b117e42ce
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Fri May 10 17:46:10 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Fri May 10 17:46:10 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=acae03bb

The meam package doesn't like to be built in parallel.

Package-Manager: portage-2.2.0_alpha174

---
 sci-physics/lammps/ChangeLog              |    3 +++
 sci-physics/lammps/lammps-20130512.ebuild |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 74fe165..2f95cec 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild:
+  The meam package doesn't like to be built in parallel.
+
   10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild,
   metadata.xml:
   lammps: Added use flags for some optional packages.

diff --git a/sci-physics/lammps/lammps-20130512.ebuild b/sci-physics/lammps/lammps-20130512.ebuild
index bd23dab..dd44632 100644
--- a/sci-physics/lammps/lammps-20130512.ebuild
+++ b/sci-physics/lammps/lammps-20130512.ebuild
@@ -30,7 +30,7 @@ src_compile() {
 	emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" stubs
 	use package-meam && {
 		emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" yes-meam
-		emake -C lib/meam -f Makefile.gfortran ARCHIVE=$(tc-getAR) F90=$(tc-getFC) F90FLAGS="${FCFLAGS}" LINKFLAGS="${LDFLAGS}"
+		emake -j1 -C lib/meam -f Makefile.gfortran ARCHIVE=$(tc-getAR) F90=$(tc-getFC) F90FLAGS="${FCFLAGS}" LINKFLAGS="${LDFLAGS}"
 	}
 	use package-dipole && emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" yes-dipole
 	use package-rigid && emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" yes-rigid


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-05-10 18:31 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-05-10 18:31 UTC (permalink / raw
  To: gentoo-commits

commit:     eb0620a4ea1ca7a64fb5db7d98b9967a9305f900
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Fri May 10 18:30:46 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Fri May 10 18:30:46 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=eb0620a4

Cleaned up the make command line arguments.

Package-Manager: portage-2.2.0_alpha174

---
 sci-physics/lammps/ChangeLog              |    3 ++
 sci-physics/lammps/lammps-20130512.ebuild |   33 +++++++++++++++++++++++-----
 2 files changed, 30 insertions(+), 6 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 2f95cec..7beafc6 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -3,6 +3,9 @@
 # $Header: $
 
   10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild:
+  Cleaned up the make command line arguments.
+
+  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild:
   The meam package doesn't like to be built in parallel.
 
   10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild,

diff --git a/sci-physics/lammps/lammps-20130512.ebuild b/sci-physics/lammps/lammps-20130512.ebuild
index dd44632..28d26e4 100644
--- a/sci-physics/lammps/lammps-20130512.ebuild
+++ b/sci-physics/lammps/lammps-20130512.ebuild
@@ -22,19 +22,40 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}-${LAMMPSDATE}"
 
+LAMMPS_INCLUDEFLAGS="-DLAMMPS_GZIP -DLAMMPS_MEMALIGN"
+
 src_prepare() {
 	epatch "${FILESDIR}/Makefile.gentoo-serial.patch"
+
+	# Patch up the patch.
+	sed -i \
+		-e "s/ARCHIVE\s*=.*$/ARCHIVE = $(tc-getAR)/" \
+		-e "s/CC\s*=.*$/CC = $(tc-getCXX)/" \
+		-e "s/CCFLAGS\s*=.*$/CCFLAGS = ${CXXFLAGS}/" \
+		-e "s/LINK\s*=.*$/LINK = $(tc-getCXX)/" \
+		-e "s/LINKFLAGS\s*=.*$/LINKFLAGS = ${LDFLAGS}/" \
+		-e "s/LMP_INC\s*=.*$/LMP_INC = ${LAMMPS_INCLUDEFLAGS}/" \
+		"${S}/src/MAKE/Makefile.gentoo-serial"
+
+	# Patch up other makefiles.
+	use package-meam && sed -i \
+		-e "s/ARCHIVE\s*=.*$/ARCHIVE = $(tc-getAR)/" \
+		-e "s/F90\s*=.*$/F90 = $(tc-getFC)/" \
+		-e "s/F90FLAGS\s*=.*$/F90FLAGS = ${FCFLAGS}/" \
+		-e "s/LINK\s*=.*$/LINK = $(tc-getFC)/" \
+		-e "s/LINKFLAGS\s*=.*$/LINKFLAGS = ${LDFLAGS}/" \
+		"${S}/lib/meam/Makefile.gfortran"
 }
 
 src_compile() {
-	emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" stubs
+	emake -C src stubs
 	use package-meam && {
-		emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" yes-meam
-		emake -j1 -C lib/meam -f Makefile.gfortran ARCHIVE=$(tc-getAR) F90=$(tc-getFC) F90FLAGS="${FCFLAGS}" LINKFLAGS="${LDFLAGS}"
+		emake -C src yes-meam
+		emake -j1 -C lib/meam -f Makefile.gfortran
 	}
-	use package-dipole && emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" yes-dipole
-	use package-rigid && emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" yes-rigid
-	emake -C src ARCHIVE=$(tc-getAR) CC=$(tc-getCXX) CCFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" gentoo-serial
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+	emake -C src gentoo-serial
 }
 
 src_install() {


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-05-10 21:54 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-05-10 21:54 UTC (permalink / raw
  To: gentoo-commits

commit:     1d40023814ab26ee8e869b34cc020cdb58f31d1e
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Fri May 10 21:53:52 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Fri May 10 21:53:52 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1d400238

Added more use flags to control the build process.

It seems, at least on my system, that the LAMMPS_MEMALIGN option is a
guarantee for a segfault. I made the use of this macro optional.

Package-Manager: portage-2.2.0_alpha174

---
 sci-physics/lammps/ChangeLog              |    6 ++++++
 sci-physics/lammps/lammps-20130512.ebuild |    7 +++++--
 sci-physics/lammps/metadata.xml           |    5 +++++
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 7beafc6..b78b535 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild,
+  metadata.xml:
+  Added more use flags to control the build process.  It seems, at least on my
+  system, that the LAMMPS_MEMALIGN option is a guarantee for a segfault. I made
+  the use of this macro optional.
+
   10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild:
   Cleaned up the make command line arguments.
 

diff --git a/sci-physics/lammps/lammps-20130512.ebuild b/sci-physics/lammps/lammps-20130512.ebuild
index 28d26e4..878d095 100644
--- a/sci-physics/lammps/lammps-20130512.ebuild
+++ b/sci-physics/lammps/lammps-20130512.ebuild
@@ -15,18 +15,21 @@ SRC_URI="http://lammps.sandia.gov/tars/lammps-${LAMMPSDATE}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="package-meam package-dipole package-rigid"
+IUSE="lammps-gzip lammps-memalign package-meam package-dipole package-rigid"
 
 DEPEND=""
 RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}-${LAMMPSDATE}"
 
-LAMMPS_INCLUDEFLAGS="-DLAMMPS_GZIP -DLAMMPS_MEMALIGN"
+LAMMPS_INCLUDEFLAGS=""
 
 src_prepare() {
 	epatch "${FILESDIR}/Makefile.gentoo-serial.patch"
 
+	use lammps-gzip && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_GZIP"
+	use lammps-memalign && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_MEMALIGN"
+
 	# Patch up the patch.
 	sed -i \
 		-e "s/ARCHIVE\s*=.*$/ARCHIVE = $(tc-getAR)/" \

diff --git a/sci-physics/lammps/metadata.xml b/sci-physics/lammps/metadata.xml
index 58f1011..4b18020 100644
--- a/sci-physics/lammps/metadata.xml
+++ b/sci-physics/lammps/metadata.xml
@@ -16,6 +16,11 @@
 		code is designed to be easy to modify or extend with new functionality. 
 	</longdescription>
 	<use>
+		<flag name="lammps-gzip">The read_data and dump commands will read/write
+			gzipped files</flag>
+		<flag name="lammps-memalign">Enables the use of the posix_memalign()
+			call instead of malloc() when large chunks or memory are allocated
+			by LAMMPS</flag>
 		<flag name="package-meam">modified EAM potential</flag>
 		<flag name="package-dipole">point dipole particles</flag>
 		<flag name="package-rigid">rigid bodies</flag>


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-05-10 22:05 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-05-10 22:05 UTC (permalink / raw
  To: gentoo-commits

commit:     4b129f0b001c2d5e513ebee1fdbfa3bf12b478f0
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Fri May 10 22:05:36 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Fri May 10 22:05:36 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4b129f0b

Moved a variable definition.

Package-Manager: portage-2.2.0_alpha174

---
 sci-physics/lammps/ChangeLog              |    3 +++
 sci-physics/lammps/lammps-20130512.ebuild |    3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index b78b535..93b6717 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild:
+  Moved a variable definition.
+
   10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild,
   metadata.xml:
   Added more use flags to control the build process.  It seems, at least on my

diff --git a/sci-physics/lammps/lammps-20130512.ebuild b/sci-physics/lammps/lammps-20130512.ebuild
index 878d095..dd8c6c4 100644
--- a/sci-physics/lammps/lammps-20130512.ebuild
+++ b/sci-physics/lammps/lammps-20130512.ebuild
@@ -22,11 +22,10 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/${PN}-${LAMMPSDATE}"
 
-LAMMPS_INCLUDEFLAGS=""
-
 src_prepare() {
 	epatch "${FILESDIR}/Makefile.gentoo-serial.patch"
 
+	LAMMPS_INCLUDEFLAGS=""
 	use lammps-gzip && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_GZIP"
 	use lammps-memalign && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_MEMALIGN"
 


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-05-16 21:22 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-05-16 21:22 UTC (permalink / raw
  To: gentoo-commits

commit:     0c393120f3861bb68e998e8b016ae58b4173f915
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Thu May 16 21:21:42 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu May 16 21:21:42 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0c393120

Fixed spelling in doc install.

Package-Manager: portage-2.2.0_alpha175

---
 sci-physics/lammps/ChangeLog              |    3 +++
 sci-physics/lammps/lammps-20130514.ebuild |    6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index e395b8e..d05235d 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  16 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130514.ebuild:
+  Fixed spelling in doc install.
+
 *lammps-20130514 (16 May 2013)
 
   16 May 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130514.ebuild:

diff --git a/sci-physics/lammps/lammps-20130514.ebuild b/sci-physics/lammps/lammps-20130514.ebuild
index 14c5331..b087d83 100644
--- a/sci-physics/lammps/lammps-20130514.ebuild
+++ b/sci-physics/lammps/lammps-20130514.ebuild
@@ -62,11 +62,11 @@ src_compile() {
 }
 
 src_install() {
-	newbin "$S/src/lmp_serial" "lmp"
+	newbin "src/lmp_serial" "lmp"
 	if use examples; then
 		insinto "/usr/share/doc/${PF}"
-		doins -r "${S}/examples"
+		doins -r "examples"
 	fi
 	dodoc README
-	use doc && dohtml -r "${S}/docs/*.html"
+	use doc && dodoc "doc/Manual.pdf"
 }


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-05-16 21:22 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-05-16 21:22 UTC (permalink / raw
  To: gentoo-commits

commit:     b875dc0c3e4255989230ee945b5603fe86ca0f2c
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Thu May 16 15:36:46 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu May 16 15:36:46 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b875dc0c

Version bump to 14 May 2013.

Package-Manager: portage-2.2.0_alpha174

---
 sci-physics/lammps/ChangeLog              |    5 ++
 sci-physics/lammps/lammps-20130514.ebuild |   72 +++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+), 0 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index f502d84..e395b8e 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20130514 (16 May 2013)
+
+  16 May 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130514.ebuild:
+  Version bump to 14 May 2013.
+
   15 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild
   -files/Makefile.gentoo-serial.patch:
   Added mpi use flag.  This ebuild builds either the serial version (without the

diff --git a/sci-physics/lammps/lammps-20130514.ebuild b/sci-physics/lammps/lammps-20130514.ebuild
new file mode 100644
index 0000000..14c5331
--- /dev/null
+++ b/sci-physics/lammps/lammps-20130514.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+LAMMPSDATE="14May13"
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/lammps-${LAMMPSDATE}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${LAMMPSDATE}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS=
+	use gzip && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_GZIP"
+	use lammps-memalign && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_MEMALIGN"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(use mpi && echo mpic++ || echo $(tc-getCXX)) \
+		F90=$(use mpi && echo mpif90 || echo $(tc-getFC)) \
+		LINK=$(use mpi && echo mpic++ || echo $(tc-getCXX)) \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(use mpi || echo -I../STUBS) \
+		MPI_PATH=$(use mpi || echo -L../STUBS) \
+		MPI_LIB=$(use mpi || echo -lmpi_stubs) \
+ 		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "$S/src/lmp_serial" "lmp"
+	if use examples; then
+		insinto "/usr/share/doc/${PF}"
+		doins -r "${S}/examples"
+	fi
+	dodoc README
+	use doc && dohtml -r "${S}/docs/*.html"
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-05-28 19:46 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-05-28 19:46 UTC (permalink / raw
  To: gentoo-commits

commit:     3f9b55c3f449117dd9fa4502af7b8a4f8e3cb9d9
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Tue May 28 19:45:34 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Tue May 28 19:45:34 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3f9b55c3

Added html documentation.

Package-Manager: portage-2.2.0_alpha177

---
 sci-physics/lammps/ChangeLog              | 3 +++
 sci-physics/lammps/lammps-20130514.ebuild | 7 +++++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index d05235d..b29dfd1 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  28 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130514.ebuild:
+  Added html documentation.
+
   16 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130514.ebuild:
   Fixed spelling in doc install.
 

diff --git a/sci-physics/lammps/lammps-20130514.ebuild b/sci-physics/lammps/lammps-20130514.ebuild
index b087d83..61c2e12 100644
--- a/sci-physics/lammps/lammps-20130514.ebuild
+++ b/sci-physics/lammps/lammps-20130514.ebuild
@@ -65,8 +65,11 @@ src_install() {
 	newbin "src/lmp_serial" "lmp"
 	if use examples; then
 		insinto "/usr/share/doc/${PF}"
-		doins -r "examples"
+		doins -r examples
 	fi
 	dodoc README
-	use doc && dodoc "doc/Manual.pdf"
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc
+	fi
 }


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-05-28 19:53 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-05-28 19:53 UTC (permalink / raw
  To: gentoo-commits

commit:     f40a6bfc5ac24bafe6e3e8bada5a1e438da44506
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Tue May 28 19:52:35 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Tue May 28 19:52:35 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f40a6bfc

Version bump.

Package-Manager: portage-2.2.0_alpha177

---
 sci-physics/lammps/ChangeLog              |  5 +++
 sci-physics/lammps/lammps-20130526.ebuild | 75 +++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index b29dfd1..decccfa 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20130526 (28 May 2013)
+
+  28 May 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130526.ebuild:
+  Version bump.
+
   28 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130514.ebuild:
   Added html documentation.
 

diff --git a/sci-physics/lammps/lammps-20130526.ebuild b/sci-physics/lammps/lammps-20130526.ebuild
new file mode 100644
index 0000000..198fd2f
--- /dev/null
+++ b/sci-physics/lammps/lammps-20130526.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+LAMMPSDATE="26May13"
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/lammps-${LAMMPSDATE}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${LAMMPSDATE}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS=
+	use gzip && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_GZIP"
+	use lammps-memalign && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_MEMALIGN"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(use mpi && echo mpic++ || echo $(tc-getCXX)) \
+		F90=$(use mpi && echo mpif90 || echo $(tc-getFC)) \
+		LINK=$(use mpi && echo mpic++ || echo $(tc-getCXX)) \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(use mpi || echo -I../STUBS) \
+		MPI_PATH=$(use mpi || echo -L../STUBS) \
+		MPI_LIB=$(use mpi || echo -lmpi_stubs) \
+ 		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+	if use examples; then
+		insinto "/usr/share/doc/${PF}"
+		doins -r examples
+	fi
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc
+	fi
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-05-28 20:06 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-05-28 20:06 UTC (permalink / raw
  To: gentoo-commits

commit:     561458721d2f23f7134f8b91db35ccd8bb39af50
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Tue May 28 20:05:48 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Tue May 28 20:05:48 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=56145872

Moved html documentation one folder up.

Package-Manager: portage-2.2.0_alpha177

---
 sci-physics/lammps/ChangeLog              | 3 +++
 sci-physics/lammps/lammps-20130526.ebuild | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index decccfa..7e5c044 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  28 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130526.ebuild:
+  Moved html documentation one folder up.
+
 *lammps-20130526 (28 May 2013)
 
   28 May 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130526.ebuild:

diff --git a/sci-physics/lammps/lammps-20130526.ebuild b/sci-physics/lammps/lammps-20130526.ebuild
index 198fd2f..fe092cf 100644
--- a/sci-physics/lammps/lammps-20130526.ebuild
+++ b/sci-physics/lammps/lammps-20130526.ebuild
@@ -70,6 +70,6 @@ src_install() {
 	dodoc README
 	if use doc; then
 		dodoc doc/Manual.pdf
-		dohtml -r doc
+		dohtml -r doc/*
 	fi
 }


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-06-26  5:04 Christoph Junghans
  0 siblings, 0 replies; 34+ messages in thread
From: Christoph Junghans @ 2013-06-26  5:04 UTC (permalink / raw
  To: gentoo-commits

commit:     3114fa5fef6a9d59605bc0ca3463329f86862964
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 26 05:03:54 2013 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 05:03:54 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3114fa5f

clean up

Package-Manager: portage-2.2.0_alpha185

---
 sci-physics/lammps/ChangeLog              |  3 +++
 sci-physics/lammps/lammps-20130526.ebuild | 25 ++++++++++++-------------
 2 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 7e5c044..7734e65 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  26 Jun 2013; Christoph Junghans <ottxor@gentoo.org> lammps-20130526.ebuild:
+  clean up
+
   28 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130526.ebuild:
   Moved html documentation one folder up.
 

diff --git a/sci-physics/lammps/lammps-20130526.ebuild b/sci-physics/lammps/lammps-20130526.ebuild
index fe092cf..af4830c 100644
--- a/sci-physics/lammps/lammps-20130526.ebuild
+++ b/sci-physics/lammps/lammps-20130526.ebuild
@@ -8,40 +8,39 @@ FORTRAN_NEEDED="package-meam"
 
 inherit eutils fortran-2
 
-LAMMPSDATE="26May13"
+MY_P="${PN}-$(date -d "${PV}" +"%d%b%y")"
 
 DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
 HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/lammps-${LAMMPSDATE}.tar.gz"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
 
 DEPEND="mpi? ( virtual/mpi )"
 RDEPEND="${DEPEND}"
 
-S="${WORKDIR}/${PN}-${LAMMPSDATE}"
+S="${WORKDIR}/${MY_P}"
 
 lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS=
-	use gzip && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_GZIP"
-	use lammps-memalign && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_MEMALIGN"
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex ' -DLAMMPS_MEMALIGN' '')"
 
 	# Note: The lammps makefile uses CC to indicate the C++ compiler.
 	emake \
 		ARCHIVE=$(tc-getAR) \
-		CC=$(use mpi && echo mpic++ || echo $(tc-getCXX)) \
-		F90=$(use mpi && echo mpif90 || echo $(tc-getFC)) \
-		LINK=$(use mpi && echo mpic++ || echo $(tc-getCXX)) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
 		CCFLAGS="${CXXFLAGS}" \
 		F90FLAGS="${FCFLAGS}" \
 		LINKFLAGS="${LDFLAGS}" \
 		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(use mpi || echo -I../STUBS) \
-		MPI_PATH=$(use mpi || echo -L../STUBS) \
-		MPI_LIB=$(use mpi || echo -lmpi_stubs) \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
  		"$@"
 }
 


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-06-26 16:31 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-06-26 16:31 UTC (permalink / raw
  To: gentoo-commits

commit:     2c5177e49869b09accc6acaa46dd656d033b17b6
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Wed Jun 26 16:31:09 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Wed Jun 26 16:31:09 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2c5177e4

Fixed missing use flag.

Package-Manager: portage-2.2.0_alpha185

---
 sci-physics/lammps/ChangeLog              | 3 +++
 sci-physics/lammps/lammps-20130526.ebuild | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 7734e65..23023fc 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  26 Jun 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130526.ebuild:
+  Fixed missing use flag.
+
   26 Jun 2013; Christoph Junghans <ottxor@gentoo.org> lammps-20130526.ebuild:
   clean up
 

diff --git a/sci-physics/lammps/lammps-20130526.ebuild b/sci-physics/lammps/lammps-20130526.ebuild
index af4830c..ff7c442 100644
--- a/sci-physics/lammps/lammps-20130526.ebuild
+++ b/sci-physics/lammps/lammps-20130526.ebuild
@@ -26,7 +26,7 @@ S="${WORKDIR}/${MY_P}"
 
 lmp_emake() {
 	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex ' -DLAMMPS_MEMALIGN' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
 
 	# Note: The lammps makefile uses CC to indicate the C++ compiler.
 	emake \


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-06-26 18:33 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-06-26 18:33 UTC (permalink / raw
  To: gentoo-commits

commit:     fc3eca20c4318ed31aa1e9b924b38cba48e6bab0
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Wed Jun 26 18:32:29 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Wed Jun 26 18:32:29 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=fc3eca20

Bashified package name mangling.

Thanks to ottxor for suggesting and helpful discussions.

Package-Manager: portage-2.2.0_alpha185

---
 sci-physics/lammps/ChangeLog              |  4 ++++
 sci-physics/lammps/lammps-20130526.ebuild | 33 ++++++++++++++++++++++++++++++-
 2 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 23023fc..ac52ff6 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -3,6 +3,10 @@
 # $Header: $
 
   26 Jun 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130526.ebuild:
+  Bashified package name mangling.  Thanks to ottxor for suggesting and helpful
+  discussions.
+
+  26 Jun 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130526.ebuild:
   Fixed missing use flag.
 
   26 Jun 2013; Christoph Junghans <ottxor@gentoo.org> lammps-20130526.ebuild:

diff --git a/sci-physics/lammps/lammps-20130526.ebuild b/sci-physics/lammps/lammps-20130526.ebuild
index ff7c442..cfc247b 100644
--- a/sci-physics/lammps/lammps-20130526.ebuild
+++ b/sci-physics/lammps/lammps-20130526.ebuild
@@ -8,7 +8,38 @@ FORTRAN_NEEDED="package-meam"
 
 inherit eutils fortran-2
 
-MY_P="${PN}-$(date -d "${PV}" +"%d%b%y")"
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
 
 DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
 HOMEPAGE="http://lammps.sandia.gov/"


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-06-27  0:01 Christoph Junghans
  0 siblings, 0 replies; 34+ messages in thread
From: Christoph Junghans @ 2013-06-27  0:01 UTC (permalink / raw
  To: gentoo-commits

commit:     a6750bd491d834f5e066b606da0200411053ab99
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 26 23:53:01 2013 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 23:53:01 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a6750bd4

moved to gx86

---
 sci-physics/lammps/ChangeLog              |  65 ------------------
 sci-physics/lammps/lammps-20130512.ebuild |  72 --------------------
 sci-physics/lammps/lammps-20130514.ebuild |  75 ---------------------
 sci-physics/lammps/lammps-20130526.ebuild | 105 ------------------------------
 sci-physics/lammps/metadata.xml           |  30 ---------
 5 files changed, 347 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
deleted file mode 100644
index ac52ff6..0000000
--- a/sci-physics/lammps/ChangeLog
+++ /dev/null
@@ -1,65 +0,0 @@
-# ChangeLog for sci-physics/lammps
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-  26 Jun 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130526.ebuild:
-  Bashified package name mangling.  Thanks to ottxor for suggesting and helpful
-  discussions.
-
-  26 Jun 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130526.ebuild:
-  Fixed missing use flag.
-
-  26 Jun 2013; Christoph Junghans <ottxor@gentoo.org> lammps-20130526.ebuild:
-  clean up
-
-  28 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130526.ebuild:
-  Moved html documentation one folder up.
-
-*lammps-20130526 (28 May 2013)
-
-  28 May 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130526.ebuild:
-  Version bump.
-
-  28 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130514.ebuild:
-  Added html documentation.
-
-  16 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130514.ebuild:
-  Fixed spelling in doc install.
-
-*lammps-20130514 (16 May 2013)
-
-  16 May 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130514.ebuild:
-  Version bump to 14 May 2013.
-
-  15 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild
-  -files/Makefile.gentoo-serial.patch:
-  Added mpi use flag.  This ebuild builds either the serial version (without the
-  mpi use flag), or the parallel version.
-
-  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild:
-  Moved a variable definition.
-
-  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild,
-  metadata.xml:
-  Added more use flags to control the build process.  It seems, at least on my
-  system, that the LAMMPS_MEMALIGN option is a guarantee for a segfault. I made
-  the use of this macro optional.
-
-  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild:
-  Cleaned up the make command line arguments.
-
-  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild:
-  The meam package doesn't like to be built in parallel.
-
-  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130512.ebuild,
-  metadata.xml:
-  lammps: Added use flags for some optional packages.
-
-  10 May 2013; Nicolas Bock <nicolasbock@gmail.com> metadata.xml:
-  Added maintainer (myself) to metadata.xml for lammps.
-
-*lammps-20130512 (10 May 2013)
-
-  10 May 2013; Nicolas Bock <nicolasbock@gmail.com>
-  +files/Makefile.gentoo-serial.patch, +lammps-20130512.ebuild, +metadata.xml:
-  Added first draft version of lammps.  For now this is only the serial version.

diff --git a/sci-physics/lammps/lammps-20130512.ebuild b/sci-physics/lammps/lammps-20130512.ebuild
deleted file mode 100644
index dcb882e..0000000
--- a/sci-physics/lammps/lammps-20130512.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-LAMMPSDATE="12May13"
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/lammps-${LAMMPSDATE}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-${LAMMPSDATE}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS=
-	use gzip && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_GZIP"
-	use lammps-memalign && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_MEMALIGN"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(use mpi && echo mpic++ || echo $(tc-getCXX)) \
-		F90=$(use mpi && echo mpif90 || echo $(tc-getFC)) \
-		LINK=$(use mpi && echo mpic++ || echo $(tc-getCXX)) \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(use mpi || echo -I../STUBS) \
-		MPI_PATH=$(use mpi || echo -L../STUBS) \
-		MPI_LIB=$(use mpi || echo -lmpi_stubs) \
- 		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "$S/src/lmp_serial" "lmp"
-	if use examples; then
-		insinto "/usr/share/doc/${PF}"
-		doins -r examples
-	fi
-	dodoc README
-	use doc && dohtml -r docs/*.html
-}

diff --git a/sci-physics/lammps/lammps-20130514.ebuild b/sci-physics/lammps/lammps-20130514.ebuild
deleted file mode 100644
index 61c2e12..0000000
--- a/sci-physics/lammps/lammps-20130514.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-LAMMPSDATE="14May13"
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/lammps-${LAMMPSDATE}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-${LAMMPSDATE}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS=
-	use gzip && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_GZIP"
-	use lammps-memalign && LAMMPS_INCLUDEFLAGS+=" -DLAMMPS_MEMALIGN"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(use mpi && echo mpic++ || echo $(tc-getCXX)) \
-		F90=$(use mpi && echo mpif90 || echo $(tc-getFC)) \
-		LINK=$(use mpi && echo mpic++ || echo $(tc-getCXX)) \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(use mpi || echo -I../STUBS) \
-		MPI_PATH=$(use mpi || echo -L../STUBS) \
-		MPI_LIB=$(use mpi || echo -lmpi_stubs) \
- 		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-	if use examples; then
-		insinto "/usr/share/doc/${PF}"
-		doins -r examples
-	fi
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc
-	fi
-}

diff --git a/sci-physics/lammps/lammps-20130526.ebuild b/sci-physics/lammps/lammps-20130526.ebuild
deleted file mode 100644
index cfc247b..0000000
--- a/sci-physics/lammps/lammps-20130526.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
- 		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-	if use examples; then
-		insinto "/usr/share/doc/${PF}"
-		doins -r examples
-	fi
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/metadata.xml b/sci-physics/lammps/metadata.xml
deleted file mode 100644
index b5e2ddd..0000000
--- a/sci-physics/lammps/metadata.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<longdescription lang="en">
-		LAMMPS is a classical molecular dynamics code, and an acronym for
-		Large-scale Atomic/Molecular Massively Parallel Simulator.
-
-		LAMMPS has potentials for soft materials (biomolecules, polymers) and
-		solid-state materials (metals, semiconductors) and coarse-grained or
-		mesoscopic systems. It can be used to model atoms or, more generically,
-		as a parallel particle simulator at the atomic, meso, or continuum
-		scale.
-
-		LAMMPS runs on single processors or in parallel using message-passing
-		techniques and a spatial-decomposition of the simulation domain. The
-		code is designed to be easy to modify or extend with new functionality. 
-	</longdescription>
-	<use>
-		<flag name="lammps-memalign">Enables the use of the posix_memalign()
-			call instead of malloc() when large chunks or memory are allocated
-			by LAMMPS</flag>
-		<flag name="package-meam">modified EAM potential</flag>
-		<flag name="package-dipole">point dipole particles</flag>
-		<flag name="package-rigid">rigid bodies</flag>
-	</use>
-	<maintainer>
-		<email>nicolasbock@gmail.com</email>
-	</maintainer>
-</pkgmetadata>
-


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-07-03 16:41 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-07-03 16:41 UTC (permalink / raw
  To: gentoo-commits

commit:     9c9f63650c60fe29306477afb94ac5b66b808e90
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Wed Jul  3 15:25:50 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Wed Jul  3 15:25:50 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9c9f6365

Version bump to 1-Jul-2013.

Package-Manager: portage-2.2.0_alpha186

---
 sci-physics/lammps/ChangeLog              |   9 +++
 sci-physics/lammps/lammps-20130701.ebuild | 105 ++++++++++++++++++++++++++++++
 sci-physics/lammps/metadata.xml           |  31 +++++++++
 3 files changed, 145 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
new file mode 100644
index 0000000..2f4ea9e
--- /dev/null
+++ b/sci-physics/lammps/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-physics/lammps
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*lammps-20130701 (03 Jul 2013)
+
+  03 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130701.ebuild,
+  +metadata.xml:
+  Version bump to 1-Jul-2013.

diff --git a/sci-physics/lammps/lammps-20130701.ebuild b/sci-physics/lammps/lammps-20130701.ebuild
new file mode 100644
index 0000000..4793d83
--- /dev/null
+++ b/sci-physics/lammps/lammps-20130701.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
+ 		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+	if use examples; then
+		insinto "/usr/share/doc/${PF}"
+		doins -r examples
+	fi
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc/*
+	fi
+}

diff --git a/sci-physics/lammps/metadata.xml b/sci-physics/lammps/metadata.xml
new file mode 100644
index 0000000..1acfbc7
--- /dev/null
+++ b/sci-physics/lammps/metadata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<longdescription lang="en">
+		LAMMPS is a classical molecular dynamics code, and an acronym for
+		Large-scale Atomic/Molecular Massively Parallel Simulator.
+
+		LAMMPS has potentials for soft materials (biomolecules, polymers) and
+		solid-state materials (metals, semiconductors) and coarse-grained or
+		mesoscopic systems. It can be used to model atoms or, more generically,
+		as a parallel particle simulator at the atomic, meso, or continuum
+		scale.
+
+		LAMMPS runs on single processors or in parallel using message-passing
+		techniques and a spatial-decomposition of the simulation domain. The
+		code is designed to be easy to modify or extend with new functionality. 
+	</longdescription>
+	<use>
+		<flag name="lammps-memalign">Enables the use of the posix_memalign()
+			call instead of malloc() when large chunks or memory are allocated
+			by LAMMPS</flag>
+		<flag name="package-meam">modified EAM potential</flag>
+		<flag name="package-dipole">point dipole particles</flag>
+		<flag name="package-rigid">rigid bodies</flag>
+	</use>
+	<herd>sci-physics</herd>
+	<maintainer>
+		<email>nicolasbock@gmail.com</email>
+	</maintainer>
+</pkgmetadata>
+


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-07-09 20:55 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-07-09 20:55 UTC (permalink / raw
  To: gentoo-commits

commit:     ab7389777b4e30ec86e051225ee8dcb0ab7f550c
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Tue Jul  9 20:53:56 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Tue Jul  9 20:53:56 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ab738977

Added current version: sci-physics/lammps-20130708.

* Fixed bug in lammps to gentoo version string conversion. In bash arithmetic
  operations, a string literal with a leading "0" is interpreted in base 8.
* Added potentials, which were not installed in previous versions.
* Moved examples from /usr/share/doc/${PF} to /usr/share/lammps-${PF}.

Package-Manager: portage-2.2.0_alpha187

---
 sci-physics/lammps/ChangeLog              |   9 +++
 sci-physics/lammps/lammps-20130708.ebuild | 115 ++++++++++++++++++++++++++++++
 2 files changed, 124 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 2f4ea9e..66e3d00 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,15 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20130708 (09 Jul 2013)
+
+  09 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130708.ebuild:
+  Added current version: sci-physics/lammps-20130708.  * Fixed bug in lammps to
+  gentoo version string conversion. In bash arithmetic   operations, a string
+  literal with a leading "0" is interpreted in base 8. * Added potentials, which
+  were not installed in previous versions. * Moved examples from
+  /usr/share/doc/${PF} to /usr/share/lammps-${PF}.
+
 *lammps-20130701 (03 Jul 2013)
 
   03 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130701.ebuild,

diff --git a/sci-physics/lammps/lammps-20130708.ebuild b/sci-physics/lammps/lammps-20130708.ebuild
new file mode 100644
index 0000000..6a4a817
--- /dev/null
+++ b/sci-physics/lammps/lammps-20130708.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
+ 		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+
+	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
+	insinto "${LAMMPS_POTENTIALS}"
+	doins potentials/*
+    echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
+	doenvd 99lammps
+
+	if use examples; then
+		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
+		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
+		insinto "${LAMMPS_EXAMPLES}"
+		doins -r examples/*
+	fi
+
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc/*
+	fi
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-07-09 20:55 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-07-09 20:55 UTC (permalink / raw
  To: gentoo-commits

commit:     cb5c01fb6cf42293bb625c452c935047a7add49f
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Tue Jul  9 20:55:24 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Tue Jul  9 20:55:24 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cb5c01fb

sci-physics/lammps: Fixed repoman warning.

Package-Manager: portage-2.2.0_alpha187

---
 sci-physics/lammps/ChangeLog              | 3 +++
 sci-physics/lammps/lammps-20130708.ebuild | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 66e3d00..3671fad 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  09 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130708.ebuild:
+  sci-physics/lammps: Fixed repoman warning.
+
 *lammps-20130708 (09 Jul 2013)
 
   09 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130708.ebuild:

diff --git a/sci-physics/lammps/lammps-20130708.ebuild b/sci-physics/lammps/lammps-20130708.ebuild
index 6a4a817..fa960e3 100644
--- a/sci-physics/lammps/lammps-20130708.ebuild
+++ b/sci-physics/lammps/lammps-20130708.ebuild
@@ -97,7 +97,7 @@ src_install() {
 	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
 	insinto "${LAMMPS_POTENTIALS}"
 	doins potentials/*
-    echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
+	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
 	doenvd 99lammps
 
 	if use examples; then


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-07-16 21:04 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-07-16 21:04 UTC (permalink / raw
  To: gentoo-commits

commit:     3bdd3582331709363c9323b99ce68b12d51c9ef3
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Tue Jul 16 21:01:46 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Tue Jul 16 21:01:46 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=3bdd3582

Version bump to sci-physics/lammps-20130711

Package-Manager: portage-2.2.0_alpha188

---
 sci-physics/lammps/ChangeLog              |   5 ++
 sci-physics/lammps/lammps-20130711.ebuild | 115 ++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 3671fad..c183be1 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20130711 (16 Jul 2013)
+
+  16 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130711.ebuild:
+  Version bump to sci-physics/lammps-20130711
+
   09 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130708.ebuild:
   sci-physics/lammps: Fixed repoman warning.
 

diff --git a/sci-physics/lammps/lammps-20130711.ebuild b/sci-physics/lammps/lammps-20130711.ebuild
new file mode 100644
index 0000000..fa960e3
--- /dev/null
+++ b/sci-physics/lammps/lammps-20130711.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
+ 		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+
+	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
+	insinto "${LAMMPS_POTENTIALS}"
+	doins potentials/*
+	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
+	doenvd 99lammps
+
+	if use examples; then
+		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
+		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
+		insinto "${LAMMPS_EXAMPLES}"
+		doins -r examples/*
+	fi
+
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc/*
+	fi
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-08-13 22:20 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-08-13 22:20 UTC (permalink / raw
  To: gentoo-commits

commit:     cbc23532432da103863939787f96f60de570c664
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Tue Aug 13 22:15:51 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Tue Aug 13 22:15:51 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cbc23532

sci-physics/lammps-20130816: Version bump.

Package-Manager: portage-2.2.0_alpha195

---
 sci-physics/lammps/ChangeLog              |   5 ++
 sci-physics/lammps/lammps-20130816.ebuild | 115 ++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index c183be1..5bc3b87 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20130816 (13 Aug 2013)
+
+  13 Aug 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130816.ebuild:
+  sci-physics/lammps-20130816: Version bump.
+
 *lammps-20130711 (16 Jul 2013)
 
   16 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130711.ebuild:

diff --git a/sci-physics/lammps/lammps-20130816.ebuild b/sci-physics/lammps/lammps-20130816.ebuild
new file mode 100644
index 0000000..fa960e3
--- /dev/null
+++ b/sci-physics/lammps/lammps-20130816.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
+ 		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+
+	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
+	insinto "${LAMMPS_POTENTIALS}"
+	doins potentials/*
+	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
+	doenvd 99lammps
+
+	if use examples; then
+		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
+		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
+		insinto "${LAMMPS_EXAMPLES}"
+		doins -r examples/*
+	fi
+
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc/*
+	fi
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-09-02 18:17 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-09-02 18:17 UTC (permalink / raw
  To: gentoo-commits

commit:     bd3e90fb72008fc08a57e25d8533543a35046459
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Mon Sep  2 18:14:58 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Mon Sep  2 18:14:58 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=bd3e90fb

sci-physics/lammps: Version bump to 20130830.

Package-Manager: portage-2.2.1

---
 sci-physics/lammps/ChangeLog              |   5 ++
 sci-physics/lammps/lammps-20130830.ebuild | 115 ++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 5bc3b87..b53b891 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20130830 (02 Sep 2013)
+
+  02 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130830.ebuild:
+  sci-physics/lammps: Version bump to 20130830.
+
 *lammps-20130816 (13 Aug 2013)
 
   13 Aug 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130816.ebuild:

diff --git a/sci-physics/lammps/lammps-20130830.ebuild b/sci-physics/lammps/lammps-20130830.ebuild
new file mode 100644
index 0000000..fa960e3
--- /dev/null
+++ b/sci-physics/lammps/lammps-20130830.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
+ 		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+
+	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
+	insinto "${LAMMPS_POTENTIALS}"
+	doins potentials/*
+	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
+	doenvd 99lammps
+
+	if use examples; then
+		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
+		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
+		insinto "${LAMMPS_EXAMPLES}"
+		doins -r examples/*
+	fi
+
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc/*
+	fi
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-09-18 13:51 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-09-18 13:51 UTC (permalink / raw
  To: gentoo-commits

commit:     c648f486e3607cc604c1c408a24886ccc425ca22
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Wed Sep 18 13:51:08 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Wed Sep 18 13:51:08 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c648f486

sci-physics/lammps-20130917: Version bump.

Package-Manager: portage-2.2.1

---
 sci-physics/lammps/ChangeLog              |   5 ++
 sci-physics/lammps/lammps-20130917.ebuild | 115 ++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index b53b891..9b64e3a 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20130917 (18 Sep 2013)
+
+  18 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130917.ebuild:
+  sci-physics/lammps-20130917: Version bump.
+
 *lammps-20130830 (02 Sep 2013)
 
   02 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130830.ebuild:

diff --git a/sci-physics/lammps/lammps-20130917.ebuild b/sci-physics/lammps/lammps-20130917.ebuild
new file mode 100644
index 0000000..fa960e3
--- /dev/null
+++ b/sci-physics/lammps/lammps-20130917.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
+ 		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+
+	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
+	insinto "${LAMMPS_POTENTIALS}"
+	doins potentials/*
+	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
+	doenvd 99lammps
+
+	if use examples; then
+		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
+		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
+		insinto "${LAMMPS_EXAMPLES}"
+		doins -r examples/*
+	fi
+
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc/*
+	fi
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-09-27 15:17 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-09-27 15:17 UTC (permalink / raw
  To: gentoo-commits

commit:     5e8eac3827cd40a0bac8164285f7a5a6c9080267
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Fri Sep 27 15:17:34 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Fri Sep 27 15:17:34 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5e8eac38

sci-physics/lammps-20130923: Version bump.

I also removed older versions to clean up a bit.

Package-Manager: portage-2.2.1

---
 sci-physics/lammps/ChangeLog                       |   7 ++
 sci-physics/lammps/lammps-20130701.ebuild          | 105 -------------------
 sci-physics/lammps/lammps-20130711.ebuild          | 115 ---------------------
 ...mmps-20130708.ebuild => lammps-20130923.ebuild} |   0
 4 files changed, 7 insertions(+), 220 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 9b64e3a..de17828 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,13 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20130923 (27 Sep 2013)
+
+  27 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130923.ebuild,
+  -lammps-20130701.ebuild, -lammps-20130708.ebuild, -lammps-20130711.ebuild:
+  sci-physics/lammps-20130923: Version bump.  I also removed older versions to
+  clean up a bit.
+
 *lammps-20130917 (18 Sep 2013)
 
   18 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130917.ebuild:

diff --git a/sci-physics/lammps/lammps-20130701.ebuild b/sci-physics/lammps/lammps-20130701.ebuild
deleted file mode 100644
index 4793d83..0000000
--- a/sci-physics/lammps/lammps-20130701.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
- 		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-	if use examples; then
-		insinto "/usr/share/doc/${PF}"
-		doins -r examples
-	fi
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/lammps-20130711.ebuild b/sci-physics/lammps/lammps-20130711.ebuild
deleted file mode 100644
index fa960e3..0000000
--- a/sci-physics/lammps/lammps-20130711.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
- 		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-
-	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
-	insinto "${LAMMPS_POTENTIALS}"
-	doins potentials/*
-	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
-	doenvd 99lammps
-
-	if use examples; then
-		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
-		insinto "${LAMMPS_EXAMPLES}"
-		doins -r examples/*
-	fi
-
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/lammps-20130708.ebuild b/sci-physics/lammps/lammps-20130923.ebuild
similarity index 100%
rename from sci-physics/lammps/lammps-20130708.ebuild
rename to sci-physics/lammps/lammps-20130923.ebuild


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-10-16  4:49 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-10-16  4:49 UTC (permalink / raw
  To: gentoo-commits

commit:     5278c04ac8b71bc9224bd58e44f48ff4da4e3536
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Wed Oct 16 04:48:31 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Wed Oct 16 04:48:40 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5278c04a

sci-physics/lammps-20130930: Version bump.

Package-Manager: portage-2.2.1

---
 sci-physics/lammps/ChangeLog              |   5 ++
 sci-physics/lammps/lammps-20130930.ebuild | 115 ++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index de17828..68103a1 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20130930 (16 Oct 2013)
+
+  16 Oct 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130930.ebuild:
+  sci-physics/lammps-20130930: Version bump.
+
 *lammps-20130923 (27 Sep 2013)
 
   27 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130923.ebuild,

diff --git a/sci-physics/lammps/lammps-20130930.ebuild b/sci-physics/lammps/lammps-20130930.ebuild
new file mode 100644
index 0000000..9ef5cdd
--- /dev/null
+++ b/sci-physics/lammps/lammps-20130930.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
+		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+
+	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
+	insinto "${LAMMPS_POTENTIALS}"
+	doins potentials/*
+	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
+	doenvd 99lammps
+
+	if use examples; then
+		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
+		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
+		insinto "${LAMMPS_EXAMPLES}"
+		doins -r examples/*
+	fi
+
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc/*
+	fi
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-11-11 21:48 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-11-11 21:48 UTC (permalink / raw
  To: gentoo-commits

commit:     eeacec667754fff85508f56fe25ec773b55b5766
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Mon Nov 11 20:57:44 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Mon Nov 11 21:48:23 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=eeacec66

sci-physics/lammps-20131111: Version bump.

Package-Manager: portage-2.2.7

---
 sci-physics/lammps/ChangeLog              |   5 ++
 sci-physics/lammps/lammps-20131111.ebuild | 115 ++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 68103a1..17335b1 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20131111 (11 Nov 2013)
+
+  11 Nov 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20131111.ebuild:
+  sci-physics/lammps-20131111: Version bump.
+
 *lammps-20130930 (16 Oct 2013)
 
   16 Oct 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130930.ebuild:

diff --git a/sci-physics/lammps/lammps-20131111.ebuild b/sci-physics/lammps/lammps-20131111.ebuild
new file mode 100644
index 0000000..9ef5cdd
--- /dev/null
+++ b/sci-physics/lammps/lammps-20131111.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
+		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+
+	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
+	insinto "${LAMMPS_POTENTIALS}"
+	doins potentials/*
+	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
+	doenvd 99lammps
+
+	if use examples; then
+		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
+		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
+		insinto "${LAMMPS_EXAMPLES}"
+		doins -r examples/*
+	fi
+
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc/*
+	fi
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-11-22 19:33 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-11-22 19:33 UTC (permalink / raw
  To: gentoo-commits

commit:     a4b5d437082d2e65136271532ff3ad58fd06d0bb
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Fri Nov 22 19:32:32 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Fri Nov 22 19:32:32 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=a4b5d437

sci-physics/lammps-20131123: Version bump.

Package-Manager: portage-2.2.7

---
 sci-physics/lammps/ChangeLog              |   5 ++
 sci-physics/lammps/lammps-20131123.ebuild | 115 ++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 17335b1..d48b682 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20131123 (22 Nov 2013)
+
+  22 Nov 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20131123.ebuild:
+  sci-physics/lammps-20131123: Version bump.
+
 *lammps-20131111 (11 Nov 2013)
 
   11 Nov 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20131111.ebuild:

diff --git a/sci-physics/lammps/lammps-20131123.ebuild b/sci-physics/lammps/lammps-20131123.ebuild
new file mode 100644
index 0000000..9ef5cdd
--- /dev/null
+++ b/sci-physics/lammps/lammps-20131123.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
+		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+
+	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
+	insinto "${LAMMPS_POTENTIALS}"
+	doins potentials/*
+	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
+	doenvd 99lammps
+
+	if use examples; then
+		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
+		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
+		insinto "${LAMMPS_EXAMPLES}"
+		doins -r examples/*
+	fi
+
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc/*
+	fi
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-12-04 19:04 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-12-04 19:04 UTC (permalink / raw
  To: gentoo-commits

commit:     81f582cdd4804ca7fa30088028cc0f41f137ad8f
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Wed Dec  4 19:04:07 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Wed Dec  4 19:04:07 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=81f582cd

sci-physics/lammps: Version bump to 20121201.

Package-Manager: portage-2.2.7

---
 sci-physics/lammps/ChangeLog              |   5 ++
 sci-physics/lammps/lammps-20131201.ebuild | 115 ++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index d48b682..44a640e 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,11 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*lammps-20131201 (04 Dec 2013)
+
+  04 Dec 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20131201.ebuild:
+  sci-physics/lammps: Version bump to 20121201.
+
 *lammps-20131123 (22 Nov 2013)
 
   22 Nov 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20131123.ebuild:

diff --git a/sci-physics/lammps/lammps-20131201.ebuild b/sci-physics/lammps/lammps-20131201.ebuild
new file mode 100644
index 0000000..9ef5cdd
--- /dev/null
+++ b/sci-physics/lammps/lammps-20131201.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
+		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+
+	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
+	insinto "${LAMMPS_POTENTIALS}"
+	doins potentials/*
+	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
+	doenvd 99lammps
+
+	if use examples; then
+		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
+		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
+		insinto "${LAMMPS_EXAMPLES}"
+		doins -r examples/*
+	fi
+
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc/*
+	fi
+}


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-12-13 19:12 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2013-12-13 19:12 UTC (permalink / raw
  To: gentoo-commits

commit:     5282c34a575e3fa67292a8c6e078af65e9f84b72
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Fri Dec 13 19:11:24 2013 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Fri Dec 13 19:11:24 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5282c34a

sci-physics/lammps: updated maintainer email to gentoo.org

Package-Manager: portage-2.2.7

---
 sci-physics/lammps/ChangeLog    | 3 +++
 sci-physics/lammps/metadata.xml | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index 44a640e..af20ee2 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Dec 2013; Nicolas Bock <nicolasbock@gentoo.org> metadata.xml:
+  sci-physics/lammps: updated maintainer email to gentoo.org
+
 *lammps-20131201 (04 Dec 2013)
 
   04 Dec 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20131201.ebuild:

diff --git a/sci-physics/lammps/metadata.xml b/sci-physics/lammps/metadata.xml
index 1acfbc7..7a1dc94 100644
--- a/sci-physics/lammps/metadata.xml
+++ b/sci-physics/lammps/metadata.xml
@@ -25,7 +25,7 @@
 	</use>
 	<herd>sci-physics</herd>
 	<maintainer>
-		<email>nicolasbock@gmail.com</email>
+		<email>nicolasbock@gentoo.org</email>
 	</maintainer>
 </pkgmetadata>
 


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-12-22  0:13 Christoph Junghans
  0 siblings, 0 replies; 34+ messages in thread
From: Christoph Junghans @ 2013-12-22  0:13 UTC (permalink / raw
  To: gentoo-commits

commit:     438bbf043e0ca5aa953a5f6bd9784e80870cbdbe
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 00:13:35 2013 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 00:13:35 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=438bbf04

remove elog message

Package-Manager: portage-2.2.7

---
 sci-physics/lammps/ChangeLog              | 6 ++++++
 sci-physics/lammps/lammps-20130816.ebuild | 1 -
 sci-physics/lammps/lammps-20130830.ebuild | 1 -
 sci-physics/lammps/lammps-20130917.ebuild | 1 -
 sci-physics/lammps/lammps-20130923.ebuild | 1 -
 sci-physics/lammps/lammps-20130930.ebuild | 1 -
 sci-physics/lammps/lammps-20131111.ebuild | 1 -
 sci-physics/lammps/lammps-20131123.ebuild | 1 -
 sci-physics/lammps/lammps-20131201.ebuild | 1 -
 9 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index af20ee2..76ef3a9 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  22 Dec 2013; Christoph Junghans <ottxor@gentoo.org> lammps-20130816.ebuild,
+  lammps-20130830.ebuild, lammps-20130917.ebuild, lammps-20130923.ebuild,
+  lammps-20130930.ebuild, lammps-20131111.ebuild, lammps-20131123.ebuild,
+  lammps-20131201.ebuild:
+  remove elog message
+
   13 Dec 2013; Nicolas Bock <nicolasbock@gentoo.org> metadata.xml:
   sci-physics/lammps: updated maintainer email to gentoo.org
 

diff --git a/sci-physics/lammps/lammps-20130816.ebuild b/sci-physics/lammps/lammps-20130816.ebuild
index fa960e3..93a69ed 100644
--- a/sci-physics/lammps/lammps-20130816.ebuild
+++ b/sci-physics/lammps/lammps-20130816.ebuild
@@ -102,7 +102,6 @@ src_install() {
 
 	if use examples; then
 		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
 		insinto "${LAMMPS_EXAMPLES}"
 		doins -r examples/*
 	fi

diff --git a/sci-physics/lammps/lammps-20130830.ebuild b/sci-physics/lammps/lammps-20130830.ebuild
index fa960e3..93a69ed 100644
--- a/sci-physics/lammps/lammps-20130830.ebuild
+++ b/sci-physics/lammps/lammps-20130830.ebuild
@@ -102,7 +102,6 @@ src_install() {
 
 	if use examples; then
 		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
 		insinto "${LAMMPS_EXAMPLES}"
 		doins -r examples/*
 	fi

diff --git a/sci-physics/lammps/lammps-20130917.ebuild b/sci-physics/lammps/lammps-20130917.ebuild
index fa960e3..93a69ed 100644
--- a/sci-physics/lammps/lammps-20130917.ebuild
+++ b/sci-physics/lammps/lammps-20130917.ebuild
@@ -102,7 +102,6 @@ src_install() {
 
 	if use examples; then
 		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
 		insinto "${LAMMPS_EXAMPLES}"
 		doins -r examples/*
 	fi

diff --git a/sci-physics/lammps/lammps-20130923.ebuild b/sci-physics/lammps/lammps-20130923.ebuild
index fa960e3..93a69ed 100644
--- a/sci-physics/lammps/lammps-20130923.ebuild
+++ b/sci-physics/lammps/lammps-20130923.ebuild
@@ -102,7 +102,6 @@ src_install() {
 
 	if use examples; then
 		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
 		insinto "${LAMMPS_EXAMPLES}"
 		doins -r examples/*
 	fi

diff --git a/sci-physics/lammps/lammps-20130930.ebuild b/sci-physics/lammps/lammps-20130930.ebuild
index 9ef5cdd..fe4c7ad 100644
--- a/sci-physics/lammps/lammps-20130930.ebuild
+++ b/sci-physics/lammps/lammps-20130930.ebuild
@@ -102,7 +102,6 @@ src_install() {
 
 	if use examples; then
 		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
 		insinto "${LAMMPS_EXAMPLES}"
 		doins -r examples/*
 	fi

diff --git a/sci-physics/lammps/lammps-20131111.ebuild b/sci-physics/lammps/lammps-20131111.ebuild
index 9ef5cdd..fe4c7ad 100644
--- a/sci-physics/lammps/lammps-20131111.ebuild
+++ b/sci-physics/lammps/lammps-20131111.ebuild
@@ -102,7 +102,6 @@ src_install() {
 
 	if use examples; then
 		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
 		insinto "${LAMMPS_EXAMPLES}"
 		doins -r examples/*
 	fi

diff --git a/sci-physics/lammps/lammps-20131123.ebuild b/sci-physics/lammps/lammps-20131123.ebuild
index 9ef5cdd..fe4c7ad 100644
--- a/sci-physics/lammps/lammps-20131123.ebuild
+++ b/sci-physics/lammps/lammps-20131123.ebuild
@@ -102,7 +102,6 @@ src_install() {
 
 	if use examples; then
 		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
 		insinto "${LAMMPS_EXAMPLES}"
 		doins -r examples/*
 	fi

diff --git a/sci-physics/lammps/lammps-20131201.ebuild b/sci-physics/lammps/lammps-20131201.ebuild
index 9ef5cdd..fe4c7ad 100644
--- a/sci-physics/lammps/lammps-20131201.ebuild
+++ b/sci-physics/lammps/lammps-20131201.ebuild
@@ -102,7 +102,6 @@ src_install() {
 
 	if use examples; then
 		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		elog "The examples can be found in ${LAMMPS_EXAMPLES}"
 		insinto "${LAMMPS_EXAMPLES}"
 		doins -r examples/*
 	fi


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2013-12-29  0:31 Justin Lecher
  0 siblings, 0 replies; 34+ messages in thread
From: Justin Lecher @ 2013-12-29  0:31 UTC (permalink / raw
  To: gentoo-commits

commit:     f22d15b68f957f56234b30a20e8a77b74cc5a40a
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 28 23:52:44 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Dec 28 23:52:44 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f22d15b6

More up to date version in tree

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

---
 sci-physics/lammps/ChangeLog              |  77 --------------------
 sci-physics/lammps/lammps-20130816.ebuild | 114 ------------------------------
 sci-physics/lammps/lammps-20130830.ebuild | 114 ------------------------------
 sci-physics/lammps/lammps-20130917.ebuild | 114 ------------------------------
 sci-physics/lammps/lammps-20130923.ebuild | 114 ------------------------------
 sci-physics/lammps/lammps-20130930.ebuild | 114 ------------------------------
 sci-physics/lammps/lammps-20131111.ebuild | 114 ------------------------------
 sci-physics/lammps/lammps-20131123.ebuild | 114 ------------------------------
 sci-physics/lammps/lammps-20131201.ebuild | 114 ------------------------------
 sci-physics/lammps/metadata.xml           |  31 --------
 10 files changed, 1020 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
deleted file mode 100644
index 76ef3a9..0000000
--- a/sci-physics/lammps/ChangeLog
+++ /dev/null
@@ -1,77 +0,0 @@
-# ChangeLog for sci-physics/lammps
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-  22 Dec 2013; Christoph Junghans <ottxor@gentoo.org> lammps-20130816.ebuild,
-  lammps-20130830.ebuild, lammps-20130917.ebuild, lammps-20130923.ebuild,
-  lammps-20130930.ebuild, lammps-20131111.ebuild, lammps-20131123.ebuild,
-  lammps-20131201.ebuild:
-  remove elog message
-
-  13 Dec 2013; Nicolas Bock <nicolasbock@gentoo.org> metadata.xml:
-  sci-physics/lammps: updated maintainer email to gentoo.org
-
-*lammps-20131201 (04 Dec 2013)
-
-  04 Dec 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20131201.ebuild:
-  sci-physics/lammps: Version bump to 20121201.
-
-*lammps-20131123 (22 Nov 2013)
-
-  22 Nov 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20131123.ebuild:
-  sci-physics/lammps-20131123: Version bump.
-
-*lammps-20131111 (11 Nov 2013)
-
-  11 Nov 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20131111.ebuild:
-  sci-physics/lammps-20131111: Version bump.
-
-*lammps-20130930 (16 Oct 2013)
-
-  16 Oct 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130930.ebuild:
-  sci-physics/lammps-20130930: Version bump.
-
-*lammps-20130923 (27 Sep 2013)
-
-  27 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130923.ebuild,
-  -lammps-20130701.ebuild, -lammps-20130708.ebuild, -lammps-20130711.ebuild:
-  sci-physics/lammps-20130923: Version bump.  I also removed older versions to
-  clean up a bit.
-
-*lammps-20130917 (18 Sep 2013)
-
-  18 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130917.ebuild:
-  sci-physics/lammps-20130917: Version bump.
-
-*lammps-20130830 (02 Sep 2013)
-
-  02 Sep 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130830.ebuild:
-  sci-physics/lammps: Version bump to 20130830.
-
-*lammps-20130816 (13 Aug 2013)
-
-  13 Aug 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130816.ebuild:
-  sci-physics/lammps-20130816: Version bump.
-
-*lammps-20130711 (16 Jul 2013)
-
-  16 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130711.ebuild:
-  Version bump to sci-physics/lammps-20130711
-
-  09 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> lammps-20130708.ebuild:
-  sci-physics/lammps: Fixed repoman warning.
-
-*lammps-20130708 (09 Jul 2013)
-
-  09 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130708.ebuild:
-  Added current version: sci-physics/lammps-20130708.  * Fixed bug in lammps to
-  gentoo version string conversion. In bash arithmetic   operations, a string
-  literal with a leading "0" is interpreted in base 8. * Added potentials, which
-  were not installed in previous versions. * Moved examples from
-  /usr/share/doc/${PF} to /usr/share/lammps-${PF}.
-
-*lammps-20130701 (03 Jul 2013)
-
-  03 Jul 2013; Nicolas Bock <nicolasbock@gmail.com> +lammps-20130701.ebuild,
-  +metadata.xml:
-  Version bump to 1-Jul-2013.

diff --git a/sci-physics/lammps/lammps-20130816.ebuild b/sci-physics/lammps/lammps-20130816.ebuild
deleted file mode 100644
index 93a69ed..0000000
--- a/sci-physics/lammps/lammps-20130816.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
- 		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-
-	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
-	insinto "${LAMMPS_POTENTIALS}"
-	doins potentials/*
-	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
-	doenvd 99lammps
-
-	if use examples; then
-		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		insinto "${LAMMPS_EXAMPLES}"
-		doins -r examples/*
-	fi
-
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/lammps-20130830.ebuild b/sci-physics/lammps/lammps-20130830.ebuild
deleted file mode 100644
index 93a69ed..0000000
--- a/sci-physics/lammps/lammps-20130830.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
- 		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-
-	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
-	insinto "${LAMMPS_POTENTIALS}"
-	doins potentials/*
-	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
-	doenvd 99lammps
-
-	if use examples; then
-		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		insinto "${LAMMPS_EXAMPLES}"
-		doins -r examples/*
-	fi
-
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/lammps-20130917.ebuild b/sci-physics/lammps/lammps-20130917.ebuild
deleted file mode 100644
index 93a69ed..0000000
--- a/sci-physics/lammps/lammps-20130917.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
- 		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-
-	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
-	insinto "${LAMMPS_POTENTIALS}"
-	doins potentials/*
-	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
-	doenvd 99lammps
-
-	if use examples; then
-		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		insinto "${LAMMPS_EXAMPLES}"
-		doins -r examples/*
-	fi
-
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/lammps-20130923.ebuild b/sci-physics/lammps/lammps-20130923.ebuild
deleted file mode 100644
index 93a69ed..0000000
--- a/sci-physics/lammps/lammps-20130923.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
- 		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-
-	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
-	insinto "${LAMMPS_POTENTIALS}"
-	doins potentials/*
-	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
-	doenvd 99lammps
-
-	if use examples; then
-		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		insinto "${LAMMPS_EXAMPLES}"
-		doins -r examples/*
-	fi
-
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/lammps-20130930.ebuild b/sci-physics/lammps/lammps-20130930.ebuild
deleted file mode 100644
index fe4c7ad..0000000
--- a/sci-physics/lammps/lammps-20130930.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
-		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-
-	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
-	insinto "${LAMMPS_POTENTIALS}"
-	doins potentials/*
-	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
-	doenvd 99lammps
-
-	if use examples; then
-		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		insinto "${LAMMPS_EXAMPLES}"
-		doins -r examples/*
-	fi
-
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/lammps-20131111.ebuild b/sci-physics/lammps/lammps-20131111.ebuild
deleted file mode 100644
index fe4c7ad..0000000
--- a/sci-physics/lammps/lammps-20131111.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
-		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-
-	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
-	insinto "${LAMMPS_POTENTIALS}"
-	doins potentials/*
-	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
-	doenvd 99lammps
-
-	if use examples; then
-		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		insinto "${LAMMPS_EXAMPLES}"
-		doins -r examples/*
-	fi
-
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/lammps-20131123.ebuild b/sci-physics/lammps/lammps-20131123.ebuild
deleted file mode 100644
index fe4c7ad..0000000
--- a/sci-physics/lammps/lammps-20131123.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
-		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-
-	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
-	insinto "${LAMMPS_POTENTIALS}"
-	doins potentials/*
-	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
-	doenvd 99lammps
-
-	if use examples; then
-		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		insinto "${LAMMPS_EXAMPLES}"
-		doins -r examples/*
-	fi
-
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/lammps-20131201.ebuild b/sci-physics/lammps/lammps-20131201.ebuild
deleted file mode 100644
index fe4c7ad..0000000
--- a/sci-physics/lammps/lammps-20131201.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20130526.ebuild,v 1.1 2013/06/26 23:53:11 ottxor Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
-		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-
-	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
-	insinto "${LAMMPS_POTENTIALS}"
-	doins potentials/*
-	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
-	doenvd 99lammps
-
-	if use examples; then
-		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		insinto "${LAMMPS_EXAMPLES}"
-		doins -r examples/*
-	fi
-
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/metadata.xml b/sci-physics/lammps/metadata.xml
deleted file mode 100644
index 7a1dc94..0000000
--- a/sci-physics/lammps/metadata.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<longdescription lang="en">
-		LAMMPS is a classical molecular dynamics code, and an acronym for
-		Large-scale Atomic/Molecular Massively Parallel Simulator.
-
-		LAMMPS has potentials for soft materials (biomolecules, polymers) and
-		solid-state materials (metals, semiconductors) and coarse-grained or
-		mesoscopic systems. It can be used to model atoms or, more generically,
-		as a parallel particle simulator at the atomic, meso, or continuum
-		scale.
-
-		LAMMPS runs on single processors or in parallel using message-passing
-		techniques and a spatial-decomposition of the simulation domain. The
-		code is designed to be easy to modify or extend with new functionality. 
-	</longdescription>
-	<use>
-		<flag name="lammps-memalign">Enables the use of the posix_memalign()
-			call instead of malloc() when large chunks or memory are allocated
-			by LAMMPS</flag>
-		<flag name="package-meam">modified EAM potential</flag>
-		<flag name="package-dipole">point dipole particles</flag>
-		<flag name="package-rigid">rigid bodies</flag>
-	</use>
-	<herd>sci-physics</herd>
-	<maintainer>
-		<email>nicolasbock@gentoo.org</email>
-	</maintainer>
-</pkgmetadata>
-


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2014-02-01 23:05 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2014-02-01 23:05 UTC (permalink / raw
  To: gentoo-commits

commit:     42964d3e017f8448f79958d94118b5775e76b6ae
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Sat Feb  1 23:04:13 2014 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Sat Feb  1 23:04:13 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=42964d3e

sci-physics/lammps: Upstream now releases a stable channel

I added Feb 1 2014 in the stable slot to indicate that upstream considers this
version more tested and stable than their normal frequent releases.

Package-Manager: portage-2.2.7

---
 sci-physics/lammps/ChangeLog              |  11 +++
 sci-physics/lammps/lammps-20140201.ebuild | 114 ++++++++++++++++++++++++++++++
 sci-physics/lammps/metadata.xml           |  31 ++++++++
 3 files changed, 156 insertions(+)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
new file mode 100644
index 0000000..c5700d3
--- /dev/null
+++ b/sci-physics/lammps/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-physics/lammps
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*lammps-20140201 (01 Feb 2014)
+
+  01 Feb 2014; Nicolas Bock <nicolasbock@gentoo.org> +lammps-20140201.ebuild,
+  +metadata.xml:
+  sci-physics/lammps: Upstream now releases a stable channel  I added Feb 1 2014
+  in the stable slot to indicate that upstream considers this version more
+  tested and stable than their normal frequent releases.

diff --git a/sci-physics/lammps/lammps-20140201.ebuild b/sci-physics/lammps/lammps-20140201.ebuild
new file mode 100644
index 0000000..8c6e17b
--- /dev/null
+++ b/sci-physics/lammps/lammps-20140201.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20140129.ebuild,v 1.1 2014/01/27 18:20:39 nicolasbock Exp $
+
+EAPI=5
+
+FORTRAN_NEEDED="package-meam"
+
+inherit eutils fortran-2
+
+convert_month() {
+	case $1 in
+		01) echo Jan
+			;;
+		02) echo Feb
+			;;
+		03) echo Mar
+			;;
+		04) echo Apr
+			;;
+		05) echo May
+			;;
+		06) echo Jun
+			;;
+		07) echo Jul
+			;;
+		08) echo Aug
+			;;
+		09) echo Sep
+			;;
+		10) echo Oct
+			;;
+		11) echo Nov
+			;;
+		12) echo Dec
+			;;
+		*)  echo unknown
+			;;
+	esac
+}
+
+MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
+
+DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
+HOMEPAGE="http://lammps.sandia.gov/"
+SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="stable"
+KEYWORDS="~amd64"
+IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+lmp_emake() {
+	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
+	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
+
+	# Note: The lammps makefile uses CC to indicate the C++ compiler.
+	emake \
+		ARCHIVE=$(tc-getAR) \
+		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
+		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
+		CCFLAGS="${CXXFLAGS}" \
+		F90FLAGS="${FCFLAGS}" \
+		LINKFLAGS="${LDFLAGS}" \
+		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
+		MPI_INC=$(usex mpi '' "-I../STUBS") \
+		MPI_PATH=$(usex mpi '' '-L../STUBS') \
+		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
+		"$@"
+}
+
+src_compile() {
+	# Compile stubs for serial version.
+	use mpi || lmp_emake -C src stubs
+
+	# Build optional packages.
+	if use package-meam; then
+		lmp_emake -C src yes-meam
+		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
+	fi
+	use package-dipole && emake -C src yes-dipole
+	use package-rigid && emake -C src yes-rigid
+
+	# Compile.
+	lmp_emake -C src serial
+}
+
+src_install() {
+	newbin "src/lmp_serial" "lmp"
+
+	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
+	insinto "${LAMMPS_POTENTIALS}"
+	doins potentials/*
+	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
+	doenvd 99lammps
+
+	if use examples; then
+		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
+		insinto "${LAMMPS_EXAMPLES}"
+		doins -r examples/*
+	fi
+
+	dodoc README
+	if use doc; then
+		dodoc doc/Manual.pdf
+		dohtml -r doc/*
+	fi
+}

diff --git a/sci-physics/lammps/metadata.xml b/sci-physics/lammps/metadata.xml
new file mode 100644
index 0000000..7a1dc94
--- /dev/null
+++ b/sci-physics/lammps/metadata.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<longdescription lang="en">
+		LAMMPS is a classical molecular dynamics code, and an acronym for
+		Large-scale Atomic/Molecular Massively Parallel Simulator.
+
+		LAMMPS has potentials for soft materials (biomolecules, polymers) and
+		solid-state materials (metals, semiconductors) and coarse-grained or
+		mesoscopic systems. It can be used to model atoms or, more generically,
+		as a parallel particle simulator at the atomic, meso, or continuum
+		scale.
+
+		LAMMPS runs on single processors or in parallel using message-passing
+		techniques and a spatial-decomposition of the simulation domain. The
+		code is designed to be easy to modify or extend with new functionality. 
+	</longdescription>
+	<use>
+		<flag name="lammps-memalign">Enables the use of the posix_memalign()
+			call instead of malloc() when large chunks or memory are allocated
+			by LAMMPS</flag>
+		<flag name="package-meam">modified EAM potential</flag>
+		<flag name="package-dipole">point dipole particles</flag>
+		<flag name="package-rigid">rigid bodies</flag>
+	</use>
+	<herd>sci-physics</herd>
+	<maintainer>
+		<email>nicolasbock@gentoo.org</email>
+	</maintainer>
+</pkgmetadata>
+


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2014-02-05  4:36 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2014-02-05  4:36 UTC (permalink / raw
  To: gentoo-commits

commit:     9d7e73681526386b5c7ce095090fcc7707b476eb
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Wed Feb  5 04:36:26 2014 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Wed Feb  5 04:36:26 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9d7e7368

sci-physics/lammps: Added blocker for SLOT=0.

Package-Manager: portage-2.2.7

---
 sci-physics/lammps/ChangeLog              | 3 +++
 sci-physics/lammps/lammps-20140201.ebuild | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index c5700d3..469f665 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  05 Feb 2014; Nicolas Bock <nicolasbock@gentoo.org> lammps-20140201.ebuild:
+  sci-physics/lammps: Added blocker for SLOT=0.
+
 *lammps-20140201 (01 Feb 2014)
 
   01 Feb 2014; Nicolas Bock <nicolasbock@gentoo.org> +lammps-20140201.ebuild,

diff --git a/sci-physics/lammps/lammps-20140201.ebuild b/sci-physics/lammps/lammps-20140201.ebuild
index 8c6e17b..ea1a0d9 100644
--- a/sci-physics/lammps/lammps-20140201.ebuild
+++ b/sci-physics/lammps/lammps-20140201.ebuild
@@ -51,7 +51,10 @@ KEYWORDS="~amd64"
 IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
 
 DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
+RDEPEND="
+	${DEPEND}
+	!${CATEGORY}/${PN}:0
+	"
 
 S="${WORKDIR}/${MY_P}"
 


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2014-02-05  4:38 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2014-02-05  4:38 UTC (permalink / raw
  To: gentoo-commits

commit:     0aab773af53a3c31a9dd8a88a8560822ab3f19be
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  5 02:58:19 2014 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Wed Feb  5 02:58:19 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=0aab773a

block slot=0

Package-Manager: portage-2.2.7

---
 sci-physics/lammps/ChangeLog              | 3 +++
 sci-physics/lammps/lammps-20140201.ebuild | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
index c5700d3..009a973 100644
--- a/sci-physics/lammps/ChangeLog
+++ b/sci-physics/lammps/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  05 Feb 2014; Christoph Junghans <ottxor@gentoo.org> lammps-20140201.ebuild:
+  block slot=0
+
 *lammps-20140201 (01 Feb 2014)
 
   01 Feb 2014; Nicolas Bock <nicolasbock@gentoo.org> +lammps-20140201.ebuild,

diff --git a/sci-physics/lammps/lammps-20140201.ebuild b/sci-physics/lammps/lammps-20140201.ebuild
index 8c6e17b..ec553be 100644
--- a/sci-physics/lammps/lammps-20140201.ebuild
+++ b/sci-physics/lammps/lammps-20140201.ebuild
@@ -51,7 +51,8 @@ KEYWORDS="~amd64"
 IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
 
 DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+	!${CATEGORY}/${PN}:0"
 
 S="${WORKDIR}/${MY_P}"
 


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

* [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
@ 2014-02-06 19:56 Nicolas Bock
  0 siblings, 0 replies; 34+ messages in thread
From: Nicolas Bock @ 2014-02-06 19:56 UTC (permalink / raw
  To: gentoo-commits

commit:     32fedb93cad58e1a56cf2c40fc98cd713a78ea15
Author:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Thu Feb  6 19:55:12 2014 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Feb  6 19:55:58 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=32fedb93

sci-physics/lammps: Remove from sci overlay after moving it to main tree.

---
 sci-physics/lammps/ChangeLog              |  14 ----
 sci-physics/lammps/lammps-20140201.ebuild | 117 ------------------------------
 sci-physics/lammps/metadata.xml           |  31 --------
 3 files changed, 162 deletions(-)

diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog
deleted file mode 100644
index 009a973..0000000
--- a/sci-physics/lammps/ChangeLog
+++ /dev/null
@@ -1,14 +0,0 @@
-# ChangeLog for sci-physics/lammps
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-  05 Feb 2014; Christoph Junghans <ottxor@gentoo.org> lammps-20140201.ebuild:
-  block slot=0
-
-*lammps-20140201 (01 Feb 2014)
-
-  01 Feb 2014; Nicolas Bock <nicolasbock@gentoo.org> +lammps-20140201.ebuild,
-  +metadata.xml:
-  sci-physics/lammps: Upstream now releases a stable channel  I added Feb 1 2014
-  in the stable slot to indicate that upstream considers this version more
-  tested and stable than their normal frequent releases.

diff --git a/sci-physics/lammps/lammps-20140201.ebuild b/sci-physics/lammps/lammps-20140201.ebuild
deleted file mode 100644
index ea1a0d9..0000000
--- a/sci-physics/lammps/lammps-20140201.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20140129.ebuild,v 1.1 2014/01/27 18:20:39 nicolasbock Exp $
-
-EAPI=5
-
-FORTRAN_NEEDED="package-meam"
-
-inherit eutils fortran-2
-
-convert_month() {
-	case $1 in
-		01) echo Jan
-			;;
-		02) echo Feb
-			;;
-		03) echo Mar
-			;;
-		04) echo Apr
-			;;
-		05) echo May
-			;;
-		06) echo Jun
-			;;
-		07) echo Jul
-			;;
-		08) echo Aug
-			;;
-		09) echo Sep
-			;;
-		10) echo Oct
-			;;
-		11) echo Nov
-			;;
-		12) echo Dec
-			;;
-		*)  echo unknown
-			;;
-	esac
-}
-
-MY_P=${PN}-$((10#${PV:6:2}))$(convert_month ${PV:4:2})${PV:2:2}
-
-DESCRIPTION="Large-scale Atomic/Molecular Massively Parallel Simulator"
-HOMEPAGE="http://lammps.sandia.gov/"
-SRC_URI="http://lammps.sandia.gov/tars/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="stable"
-KEYWORDS="~amd64"
-IUSE="doc examples gzip lammps-memalign mpi package-dipole package-meam package-rigid"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="
-	${DEPEND}
-	!${CATEGORY}/${PN}:0
-	"
-
-S="${WORKDIR}/${MY_P}"
-
-lmp_emake() {
-	local LAMMPS_INCLUDEFLAGS="$(usex gzip '-DLAMMPS_GZIP' '')"
-	LAMMPS_INCLUDEFLAGS+="$(usex lammps-memalign ' -DLAMMPS_MEMALIGN' '')"
-
-	# Note: The lammps makefile uses CC to indicate the C++ compiler.
-	emake \
-		ARCHIVE=$(tc-getAR) \
-		CC=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		F90=$(usex mpi "mpif90" "$(tc-getFC)") \
-		LINK=$(usex mpi "mpic++" "$(tc-getCXX)") \
-		CCFLAGS="${CXXFLAGS}" \
-		F90FLAGS="${FCFLAGS}" \
-		LINKFLAGS="${LDFLAGS}" \
-		LMP_INC="${LAMMPS_INCLUDEFLAGS}" \
-		MPI_INC=$(usex mpi '' "-I../STUBS") \
-		MPI_PATH=$(usex mpi '' '-L../STUBS') \
-		MPI_LIB=$(usex mpi '' '-lmpi_stubs') \
-		"$@"
-}
-
-src_compile() {
-	# Compile stubs for serial version.
-	use mpi || lmp_emake -C src stubs
-
-	# Build optional packages.
-	if use package-meam; then
-		lmp_emake -C src yes-meam
-		lmp_emake -j1 -C lib/meam -f Makefile.gfortran
-	fi
-	use package-dipole && emake -C src yes-dipole
-	use package-rigid && emake -C src yes-rigid
-
-	# Compile.
-	lmp_emake -C src serial
-}
-
-src_install() {
-	newbin "src/lmp_serial" "lmp"
-
-	local LAMMPS_POTENTIALS="/usr/share/${PF}/potentials"
-	insinto "${LAMMPS_POTENTIALS}"
-	doins potentials/*
-	echo "LAMMPS_POTENTIALS=${LAMMPS_POTENTIALS}" > 99lammps
-	doenvd 99lammps
-
-	if use examples; then
-		local LAMMPS_EXAMPLES="/usr/share/${PF}/examples"
-		insinto "${LAMMPS_EXAMPLES}"
-		doins -r examples/*
-	fi
-
-	dodoc README
-	if use doc; then
-		dodoc doc/Manual.pdf
-		dohtml -r doc/*
-	fi
-}

diff --git a/sci-physics/lammps/metadata.xml b/sci-physics/lammps/metadata.xml
deleted file mode 100644
index 7a1dc94..0000000
--- a/sci-physics/lammps/metadata.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<longdescription lang="en">
-		LAMMPS is a classical molecular dynamics code, and an acronym for
-		Large-scale Atomic/Molecular Massively Parallel Simulator.
-
-		LAMMPS has potentials for soft materials (biomolecules, polymers) and
-		solid-state materials (metals, semiconductors) and coarse-grained or
-		mesoscopic systems. It can be used to model atoms or, more generically,
-		as a parallel particle simulator at the atomic, meso, or continuum
-		scale.
-
-		LAMMPS runs on single processors or in parallel using message-passing
-		techniques and a spatial-decomposition of the simulation domain. The
-		code is designed to be easy to modify or extend with new functionality. 
-	</longdescription>
-	<use>
-		<flag name="lammps-memalign">Enables the use of the posix_memalign()
-			call instead of malloc() when large chunks or memory are allocated
-			by LAMMPS</flag>
-		<flag name="package-meam">modified EAM potential</flag>
-		<flag name="package-dipole">point dipole particles</flag>
-		<flag name="package-rigid">rigid bodies</flag>
-	</use>
-	<herd>sci-physics</herd>
-	<maintainer>
-		<email>nicolasbock@gentoo.org</email>
-	</maintainer>
-</pkgmetadata>
-


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

end of thread, other threads:[~2014-02-06 19:56 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-10 21:54 [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/ Nicolas Bock
  -- strict thread matches above, loose matches on Subject: below --
2014-02-06 19:56 Nicolas Bock
2014-02-05  4:38 Nicolas Bock
2014-02-05  4:36 Nicolas Bock
2014-02-01 23:05 Nicolas Bock
2013-12-29  0:31 Justin Lecher
2013-12-22  0:13 Christoph Junghans
2013-12-13 19:12 Nicolas Bock
2013-12-04 19:04 Nicolas Bock
2013-11-22 19:33 Nicolas Bock
2013-11-11 21:48 Nicolas Bock
2013-10-16  4:49 Nicolas Bock
2013-09-27 15:17 Nicolas Bock
2013-09-18 13:51 Nicolas Bock
2013-09-02 18:17 Nicolas Bock
2013-08-13 22:20 Nicolas Bock
2013-07-16 21:04 Nicolas Bock
2013-07-09 20:55 Nicolas Bock
2013-07-09 20:55 Nicolas Bock
2013-07-03 16:41 Nicolas Bock
2013-06-27  0:01 Christoph Junghans
2013-06-26 18:33 Nicolas Bock
2013-06-26 16:31 Nicolas Bock
2013-06-26  5:04 Christoph Junghans
2013-05-28 20:06 Nicolas Bock
2013-05-28 19:53 Nicolas Bock
2013-05-28 19:46 Nicolas Bock
2013-05-16 21:22 Nicolas Bock
2013-05-16 21:22 Nicolas Bock
2013-05-10 22:05 Nicolas Bock
2013-05-10 18:31 Nicolas Bock
2013-05-10 17:46 Nicolas Bock
2013-05-10 17:34 Nicolas Bock
2013-05-10 16:06 Nicolas Bock

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