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 8CAF91382C5 for ; Sun, 17 Jan 2021 10:17:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2817FE086C; Sun, 17 Jan 2021 10:16:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B6CFE086C for ; Sun, 17 Jan 2021 10:16:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4B8B340F8A for ; Sun, 17 Jan 2021 10:16:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB5754A1 for ; Sun, 17 Jan 2021 10:16:54 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1610878606.0c7bc92d14f5fa551a7c559d9e85aa14f371f552.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/vmc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/vmc/Manifest sci-physics/vmc/vmc-1.0_p3.ebuild X-VCS-Directories: sci-physics/vmc/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 0c7bc92d14f5fa551a7c559d9e85aa14f371f552 X-VCS-Branch: master Date: Sun, 17 Jan 2021 10:16:54 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6e634d7a-e8f7-492c-adad-742445550136 X-Archives-Hash: 1683e257f29ce436b8f97333b8f910ce commit: 0c7bc92d14f5fa551a7c559d9e85aa14f371f552 Author: Oliver Freyermuth googlemail com> AuthorDate: Sun Dec 20 17:16:51 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sun Jan 17 10:16:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c7bc92d sci-physics/vmc: Version bump to 1.0_p3. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Oliver Freyermuth googlemail.com> Closes: https://github.com/gentoo/gentoo/pull/18737 Signed-off-by: Joonas Niilola gentoo.org> sci-physics/vmc/Manifest | 1 + sci-physics/vmc/vmc-1.0_p3.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/sci-physics/vmc/Manifest b/sci-physics/vmc/Manifest index 59a8546f3d8..8f62d6c40d2 100644 --- a/sci-physics/vmc/Manifest +++ b/sci-physics/vmc/Manifest @@ -1 +1,2 @@ DIST vmc-1.0_p2.tar.gz 91400 BLAKE2B d444a003433f4939f1b737ee8aa117a3230f83428ff9a79f8219a88bf5146104460a8be80ada9ab3a0a0edebc7d85d02bc51de053d54b06739d26cb0bbec3429 SHA512 51d6a8462c854411b595a20a2657b8012f19cd9c139f3341ccd72eb262473d01f6909ad22ee8d083f01cc5a2e43b2af265a7ed7c62a1285e8fab34c1b68ee3cd +DIST vmc-1.0_p3.tar.gz 91476 BLAKE2B 3005e0575a5835b832175e6a272d4e3c328990e28ac998aca60a42c4ddd03faba4d1b761867d8af597ca2468cf3072c49bb007852b5ec892c215df37297656dc SHA512 621c0cb3f2846f9401e3e4fff6fa47ab2afbff7c4dca5c19869abb1806ec19d4a221e5741aad9b3929a4e8b8207ee6008a9bf06ec8bf03ed73771cb29fda1b8d diff --git a/sci-physics/vmc/vmc-1.0_p3.ebuild b/sci-physics/vmc/vmc-1.0_p3.ebuild new file mode 100644 index 00000000000..fdebc4ac86f --- /dev/null +++ b/sci-physics/vmc/vmc-1.0_p3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/vmc-project/${PN}.git" +else + MY_PV=$(ver_rs 1-2 -) + SRC_URI="https://github.com/vmc-project/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +DESCRIPTION="The Virtual Monte Carlo core library." +HOMEPAGE="https://vmc-project.github.io/" + +LICENSE="GPL-3" +SLOT="0" +IUSE="+c++11 c++14 c++17 doc" + +REQUIRED_USE="^^ ( c++11 c++14 c++17 )" + +RDEPEND=">=sci-physics/root-6.18:=[c++11?,c++14?,c++17?,-vmc]" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] )" + +DOCS=(README.md History) + +src_compile() { + cmake_src_compile + if use doc; then + # TRAVIS_BUILD_DIR hardcoded in Doxyfile by upstream. + TRAVIS_BUILD_DIR="${S}" doxygen doc/doxygen/Doxyfile || die + fi +} + +src_install() { + cmake_src_install + use doc && local HTML_DOCS=( doc/html/. ) + einstalldocs +}