From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D77E913832E for ; Thu, 18 Aug 2016 23:29:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0A2CE081D; Thu, 18 Aug 2016 23:29:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 427FAE081D for ; Thu, 18 Aug 2016 23:29:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7EF82340817 for ; Thu, 18 Aug 2016 23:29:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F5982430 for ; Thu, 18 Aug 2016 23:29:30 +0000 (UTC) From: "Christoph Junghans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Christoph Junghans" Message-ID: <1471562959.b099686b02b6acf5276ae6ed300d742d054acd94.ottxor@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/hoomd-blue/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/hoomd-blue/Manifest sci-physics/hoomd-blue/hoomd-blue-2.0.2.ebuild X-VCS-Directories: sci-physics/hoomd-blue/ X-VCS-Committer: ottxor X-VCS-Committer-Name: Christoph Junghans X-VCS-Revision: b099686b02b6acf5276ae6ed300d742d054acd94 X-VCS-Branch: master Date: Thu, 18 Aug 2016 23:29:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1cbb2c4c-f454-4890-bc30-6350d8bc94a0 X-Archives-Hash: b358c14f1acfe36f5643262039866078 commit: b099686b02b6acf5276ae6ed300d742d054acd94 Author: Christoph Junghans gentoo org> AuthorDate: Thu Aug 18 21:50:28 2016 +0000 Commit: Christoph Junghans gentoo org> CommitDate: Thu Aug 18 23:29:19 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b099686b sci-physics/hoomd-blue: version bump Package-Manager: portage-2.2.28 sci-physics/hoomd-blue/Manifest | 1 + sci-physics/hoomd-blue/hoomd-blue-2.0.2.ebuild | 70 ++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/sci-physics/hoomd-blue/Manifest b/sci-physics/hoomd-blue/Manifest index b6969d6..35a8a7d 100644 --- a/sci-physics/hoomd-blue/Manifest +++ b/sci-physics/hoomd-blue/Manifest @@ -1,3 +1,4 @@ DIST hoomd-blue-1.0.2.tar.bz2 2755462 SHA256 bca7d377fa152b5f99047c5701db0fecb244f56a7861c35eef0ded6106c520d1 SHA512 f9042e3afacc14e62490802d16a13a77592195befa61837703a39aeedf679e81f31aaafb377384d3b0a2f0e9e40dbce7ddd8b2673086706ba223fe265a2dff27 WHIRLPOOL b72c12a88941899c7a51a0a8e78783bf8c108b85f3969663453b2048a9a9c43ab8d4fd3fbcefa0a6d3add47ac880a2462d92760dc9efc5dd7a822be0252bce19 DIST hoomd-blue-2.0.1.tar.bz2 3208100 SHA256 432cba74cde199f178dfadf7467738d356b83e1d5026c6c83c23880898c76019 SHA512 1edb634fd714c07401df98e6897c37638ac0a7205c10f9063866b2e759a550f5655cef2a62911020d22c7d089a5ab84456f6f7e05677f82bc37532389693ded7 WHIRLPOOL eb78fd60683591e913d0623f980486049cd69bb280724151f0158076863637b824bf29d522b03cb8a2ec9b246c5540553a5b3b65c9454a009529d261bd1a3130 +DIST hoomd-blue-2.0.2.tar.bz2 2942198 SHA256 6ed0b7c28d4490a00081630fe9afd831a862cb895636679b89e2fb0a11637861 SHA512 6480639bc1b8d0534c220c7512f742a6f9eba76ad25991153735cc7f4ff88345332be4c215abd94de85249e79e85a6970be1a74a96350d4693a2c1291fbbf689 WHIRLPOOL e0a9e23a1a5aa8348496400140e4e288a3b79c5bd7f3c09675d592aebd02a781d4ef6cc9e5fe7ac9f671e1ff791ea75d70d3fa25189ade78d9229dfae6e9a21a DIST libgetar-0.5.0.tar.bz2 217067 SHA256 8b03a352f63dcf8d14e88af758f65f71e5e4f92ed01c1566c3333da90164ab42 SHA512 a27de8f7c976e5578142319684de15afca47c24953f590b34cad4ef88c3778aa47aa5eb9a1f83b1473aa49f4394e45dfaa4a8b5107264fa93101dea78ec5fa6b WHIRLPOOL d5dbb0bc51bdc7241ba4c51461da0a54eb57b0e9f76e1f0a7127010ccbd375146b4aae0bfd98a431f96595459913168097502edc9d7fe60f3180ca56fb44e91a diff --git a/sci-physics/hoomd-blue/hoomd-blue-2.0.2.ebuild b/sci-physics/hoomd-blue/hoomd-blue-2.0.2.ebuild new file mode 100644 index 0000000..d7a2cd9 --- /dev/null +++ b/sci-physics/hoomd-blue/hoomd-blue-2.0.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +CMAKE_MAKEFILE_GENERATOR="ninja" + +inherit cmake-utils cuda python-r1 + +DESCRIPTION="a general-purpose particle simulation toolkit" +HOMEPAGE="http://codeblue.umich.edu/hoomd-blue/" +EGIT_REPO_URI="https://bitbucket.org/glotzer/${PN}.git" + +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="https://bitbucket.org/glotzer/${PN}.git" + inherit git-r3 +else + inherit vcs-snapshot + GETTAR_VER=0.5.0 + SRC_URI="https://bitbucket.org/glotzer/${PN}/get/v${PV}.tar.bz2 -> ${P}.tar.bz2 + https://bitbucket.org/glotzer/libgetar/get/v${GETTAR_VER}.tar.bz2 -> libgetar-${GETTAR_VER}.tar.bz2" + KEYWORDS="~amd64" +fi + +LICENSE="hoomd-blue" +SLOT="0" +IUSE="cuda test mpi" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + mpi? ( virtual/mpi ) + cuda? ( dev-util/nvidia-cuda-sdk ) + dev-libs/boost:=[threads,python,mpi,${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + [[ ${PV} = 9999 ]] || mv ../libgetar-${GETTAR_VER}/* hoomd/extern/libgetar || die + use cuda && cuda_src_prepare + cmake-utils_src_prepare +} + +src_configure() { + src_configure_internal() { + local mycmakeargs=( + -DENABLE_MPI=$(usex mpi) + -DENABLE_CUDA=$(usex cuda) + -DBUILD_TESTING=$(usex test) + -DUPDATE_SUBMODULES=OFF + -DPYTHON_EXECUTABLE="${PYTHON}" + -DCMAKE_INSTALL_PREFIX=$(python_get_sitedir) + ) + 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 +}