From: "Christoph Junghans" <ottxor@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/hoomd-blue/
Date: Sun, 1 Mar 2015 06:29:59 +0000 (UTC) [thread overview]
Message-ID: <1425185998.323abc95052d880bc4eade065ec2974630f82baf.ottxor@gentoo> (raw)
commit: 323abc95052d880bc4eade065ec2974630f82baf
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 1 04:59:58 2015 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sun Mar 1 04:59:58 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=323abc95
fixed package name
Package-Manager: portage-2.2.14
---
sci-physics/hoomd-blue/ChangeLog | 9 ++++
sci-physics/hoomd-blue/hoomd-blue-9999.ebuild | 61 +++++++++++++++++++++++++++
sci-physics/hoomd-blue/metadata.xml | 12 ++++++
3 files changed, 82 insertions(+)
diff --git a/sci-physics/hoomd-blue/ChangeLog b/sci-physics/hoomd-blue/ChangeLog
new file mode 100644
index 0000000..2b90cc2
--- /dev/null
+++ b/sci-physics/hoomd-blue/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-physics/hoomd
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*hoomd-blue-9999 (26 Feb 2015)
+
+ 26 Feb 2015; Christoph Junghans <ottxor@gentoo.org> +hoomd-blue-9999.ebuild,
+ +metadata.xml:
+ initial commit
diff --git a/sci-physics/hoomd-blue/hoomd-blue-9999.ebuild b/sci-physics/hoomd-blue/hoomd-blue-9999.ebuild
new file mode 100644
index 0000000..532b4c1
--- /dev/null
+++ b/sci-physics/hoomd-blue/hoomd-blue-9999.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit cmake-utils cuda python-single-r1
+
+DESCRIPTION="a general-purpose particle simulation toolkit"
+HOMEPAGE="http://codeblue.umich.edu/hoomd-blue/"
+
+if [[ ${PV} = 9999 ]]; then
+ EGIT_REPO_URI="https://bitbucket.org/glotzer/${PN}.git"
+ inherit git-r3
+ KEYWORDS=
+else
+ inherit vcs-snapshot
+ SRC_URI="https://bitbucket.org/glotzer/${PN}/get/v${PV}.tar.bz2 -> ${P}.tar.bz2"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="cuda doc test mpi +zlib"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ mpi? ( virtual/mpi )
+ cuda? ( dev-util/nvidia-cuda-sdk )
+ zlib? ( sys-libs/zlib )
+ dev-libs/boost:=[threads,python,mpi,${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ use cuda && cuda_src_prepare
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_enable mpi MPI)
+ $(cmake-utils_use_enable doc DOXYGEN)
+ $(cmake-utils_use_enable cuda CUDA)
+ $(cmake-utils_use_enable zlib ZLIB)
+ $(cmake-utils_use_build test BUILD_TESTING)
+ -DPYTHON_SITEDIR=$(python_get_sitedir)
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ use doc && HTML_DOCS=( "${BUILD_DIR}"/doc/hoomd-*doc* )
+ cmake-utils_src_install
+
+ sed -i "s/^python/${EPYTHON}/" "${ED}"/usr/bin/hoomd || die
+}
diff --git a/sci-physics/hoomd-blue/metadata.xml b/sci-physics/hoomd-blue/metadata.xml
new file mode 100644
index 0000000..8dd7ec6
--- /dev/null
+++ b/sci-physics/hoomd-blue/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-chemistry</herd>
+ <maintainer>
+ <email>ottxor@gentoo.org</email>
+ <name>Christoph Junghans</name>
+ </maintainer>
+ <use>
+ <flag name="cuda">Enable cuda non-bonded kernels</flag>
+ </use>
+</pkgmetadata>
next reply other threads:[~2015-03-01 6:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-01 6:29 Christoph Junghans [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-07-20 17:48 [gentoo-commits] proj/sci:master commit in: sci-physics/hoomd-blue/ Christoph Junghans
2015-03-09 16:00 Christoph Junghans
2015-03-06 18:51 Christoph Junghans
2015-03-01 6:29 Christoph Junghans
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=1425185998.323abc95052d880bc4eade065ec2974630f82baf.ottxor@gentoo \
--to=ottxor@gentoo.org \
--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