commit:     22044f9db79ebf0b06715cb505fab32241c77dbe
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 02:46:46 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 02:47:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22044f9d

sci-physics/espresso++: imported live ebuild from sci

Package-Manager: portage-2.2.28

 sci-physics/espresso++/espresso++-9999.ebuild | 44 +++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/sci-physics/espresso++/espresso++-9999.ebuild 
b/sci-physics/espresso++/espresso++-9999.ebuild
new file mode 100644
index 0000000..fdce523
--- /dev/null
+++ b/sci-physics/espresso++/espresso++-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+CMAKE_MAKEFILE_GENERATOR="ninja"
+
+inherit cmake-utils python-single-r1
+
+DESCRIPTION="A Modern Multiscale Simulation Package for Soft Matter Systems"
+HOMEPAGE="https://www.espresso-pp.de";
+
+MY_PN="${PN//+/p}"
+if [[ ${PV} = 9999 ]]; then
+       EGIT_REPO_URI="git://github.com/${MY_PN}/${MY_PN}.git 
http://github.com/${MY_PN}/${MY_PN}.git";
+       inherit git-r3
+else
+       SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+       virtual/mpi
+       dev-libs/boost:=[python,mpi,${PYTHON_USEDEP}]
+       sci-libs/fftw:3.0
+       dev-python/mpi4py"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DEXTERNAL_BOOST=ON
+               -DEXTERNAL_MPI4PY=ON
+               -DWITH_RC_FILES=OFF
+       )
+       cmake-utils_src_configure
+}

Reply via email to