From: "Nicolas Bock" <nicolasbock@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/
Date: Thu, 6 Feb 2014 19:56:14 +0000 (UTC) [thread overview]
Message-ID: <1391716558.32fedb93cad58e1a56cf2c40fc98cd713a78ea15.nicolasbock@gentoo> (raw)
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>
-
next reply other threads:[~2014-02-06 19:56 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-06 19:56 Nicolas Bock [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-02-05 4:38 [gentoo-commits] proj/sci:master commit in: sci-physics/lammps/ 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 21:54 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1391716558.32fedb93cad58e1a56cf2c40fc98cd713a78ea15.nicolasbock@gentoo \
--to=nicolasbock@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox