diff options
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/Manifest.gz | bin | 5867 -> 5872 bytes | |||
-rw-r--r-- | sci-physics/espresso++/Manifest | 4 | ||||
-rw-r--r-- | sci-physics/espresso++/espresso++-2.0.ebuild | 60 | ||||
-rw-r--r-- | sci-physics/espresso++/espresso++-9999.ebuild | 6 |
4 files changed, 67 insertions, 3 deletions
diff --git a/sci-physics/Manifest.gz b/sci-physics/Manifest.gz Binary files differindex 3b44e9290719..8cb8540c2dff 100644 --- a/sci-physics/Manifest.gz +++ b/sci-physics/Manifest.gz diff --git a/sci-physics/espresso++/Manifest b/sci-physics/espresso++/Manifest index a520316dbe4e..9768f776a188 100644 --- a/sci-physics/espresso++/Manifest +++ b/sci-physics/espresso++/Manifest @@ -1,4 +1,6 @@ DIST espresso++-1.9.4.tar.gz 23954404 BLAKE2B b2bb7940db21acb64771fc387d22cec49fc39bae58b9d4ff683eccdbba63981e7ba5c6d64ce938f53e125e74db0423d40ac3c60e33a5589b64a20527437027c6 SHA512 0b5c8ad81c1d6b742909533c58cd791f1702270778f6f140e84108f0da8313418f7fa39d83de2e24f8308e887a1c41d2fcdd0a33ef505d08244a235f95fe611d +DIST espresso++-2.0.tar.gz 26352105 BLAKE2B 1e35f20a781be36b15a587adcfbe461ea2eaaa2be5fffb86906283b1b7327596e94a5c33f4dcb41288fa7d1262ede1655192652d8eb80f8f866d25e5a4ec654c SHA512 97c7fb45091d09c1b131b462b010d7e082589ae1746dd9fedfd6affdbcdd384d5c9beaeaec3e08cec88750d0a1db8a1f8e68adb01f45dd8b92a1cb34c69386dc EBUILD espresso++-1.9.4.ebuild 1264 BLAKE2B 8f7ec08b92b85c6f4d891ef3179d32984edd34ba321aedb87c634aa9906e9723dbf42f4fa88f98130c272f95f522dc2c728af7ceb1e32567caa55eefc7290828 SHA512 8b43f473fb2120c85441f721df7a52d82a924ed88d51e8e97672e608edcfb37bb357807e49336a409c28363b9de86fe5f9fde5d909addc8eb7a23b847b5380e5 -EBUILD espresso++-9999.ebuild 1229 BLAKE2B 4489cb157d44f58b1cd7cd722526cde2da79241d2940262cf416a40f8093e3ecbbdb02bb226bf0eb6174fee3d5553dcd1358707add3cbac7e7b01e58ed56c43b SHA512 eb71b59603ddbf3c830b8b0ad1034b613a9a97552ad0d31e0cb67380f2b10b833d150054af363ebeb5474f4fff366af3a787c2f95fa25dc15b9173839a51302e +EBUILD espresso++-2.0.ebuild 1264 BLAKE2B 00a9bcd8b53a6f324b619c56e2ebfa8cf2a56219f6b522d9640c7394bec0b5e63092e8b20edea561736332e8a8307cc993073d99e320db3e296f72678f380967 SHA512 b3e217d4757fa73821d4532318724c7ec2a9263729b1328598e02343d7bc3d2018e07e86e16d01b9346316ee01e46216af527fc62247825f43e0a662d972066c +EBUILD espresso++-9999.ebuild 1264 BLAKE2B 00a9bcd8b53a6f324b619c56e2ebfa8cf2a56219f6b522d9640c7394bec0b5e63092e8b20edea561736332e8a8307cc993073d99e320db3e296f72678f380967 SHA512 b3e217d4757fa73821d4532318724c7ec2a9263729b1328598e02343d7bc3d2018e07e86e16d01b9346316ee01e46216af527fc62247825f43e0a662d972066c MISC metadata.xml 525 BLAKE2B 19c69884a09ab09426a1e97051757b276ebb02c2122de33f65878f4d28cb0f8fd49e0f8608214ec4026f3e3f19dfcdc8bb924f16600bdbf6ea6f149a7aeed0f3 SHA512 62fa70b4fb5b56734c3ba8d47fa3940f3b3856a2f51941f2804daee53949142bbfd4cab9036ed10e0901284bd9bd15a03541d6927c1d4d89eb701f2efeb636ed diff --git a/sci-physics/espresso++/espresso++-2.0.ebuild b/sci-physics/espresso++/espresso++-2.0.ebuild new file mode 100644 index 000000000000..3bae0551d9b2 --- /dev/null +++ b/sci-physics/espresso++/espresso++-2.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +CMAKE_MAKEFILE_GENERATOR="ninja" + +inherit cmake-utils python-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="https://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-2[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_configure() { + src_configure_internal() { + local mycmakeargs=( + -DEXTERNAL_BOOST=ON + -DEXTERNAL_MPI4PY=ON + -DWITH_RC_FILES=OFF + ) + cmake-utils_src_configure + } + python_foreach_impl src_configure_internal +} + +src_compile() { + python_foreach_impl cmake-utils_src_make +} + +src_test() { + python_foreach_impl cmake-utils_src_test +} + +src_install() { + python_foreach_impl cmake-utils_src_install +} diff --git a/sci-physics/espresso++/espresso++-9999.ebuild b/sci-physics/espresso++/espresso++-9999.ebuild index 2f9ecca51ed3..3bae0551d9b2 100644 --- a/sci-physics/espresso++/espresso++-9999.ebuild +++ b/sci-physics/espresso++/espresso++-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -30,9 +30,11 @@ RDEPEND="${PYTHON_DEPS} virtual/mpi dev-libs/boost:=[python,mpi,${PYTHON_USEDEP}] sci-libs/fftw:3.0 - dev-python/mpi4py[${PYTHON_USEDEP}]" + >=dev-python/mpi4py-2[${PYTHON_USEDEP}]" DEPEND="${RDEPEND}" +S="${WORKDIR}/${MY_PN}-${PV}" + src_configure() { src_configure_internal() { local mycmakeargs=( |