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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3033B15808B for ; Fri, 11 Feb 2022 07:36:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F39C2E0855; Fri, 11 Feb 2022 07:36:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8C75E0855 for ; Fri, 11 Feb 2022 07:36:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D11CA342D5C for ; Fri, 11 Feb 2022 07:36:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 322002D7 for ; Fri, 11 Feb 2022 07:36:40 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1644564981.b5439e2417fdbf21603e87ceeff885dd033c16d9.amadio@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-2.0.ebuild X-VCS-Directories: sci-physics/vmc/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: b5439e2417fdbf21603e87ceeff885dd033c16d9 X-VCS-Branch: master Date: Fri, 11 Feb 2022 07:36:40 +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: cafed739-5b5a-45fc-b565-841a82aea6e3 X-Archives-Hash: fe18367ada6c0eb9e46cc915336c8140 commit: b5439e2417fdbf21603e87ceeff885dd033c16d9 Author: Oliver Freyermuth googlemail com> AuthorDate: Thu Feb 10 23:36:00 2022 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Fri Feb 11 07:36:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5439e24 sci-physics/vmc: Bump version to 2.0. Required for >=sci-physics/geant4_vmc-6.0 which is required for >=sci-physics/geant-4.11.0 support. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Oliver Freyermuth googlemail.com> Signed-off-by: Guilherme Amadio gentoo.org> sci-physics/vmc/Manifest | 1 + sci-physics/vmc/vmc-2.0.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/sci-physics/vmc/Manifest b/sci-physics/vmc/Manifest index 8c7909cc790f..1046978aed3f 100644 --- a/sci-physics/vmc/Manifest +++ b/sci-physics/vmc/Manifest @@ -1,2 +1,3 @@ DIST vmc-1.0_p3.tar.gz 91476 BLAKE2B 3005e0575a5835b832175e6a272d4e3c328990e28ac998aca60a42c4ddd03faba4d1b761867d8af597ca2468cf3072c49bb007852b5ec892c215df37297656dc SHA512 621c0cb3f2846f9401e3e4fff6fa47ab2afbff7c4dca5c19869abb1806ec19d4a221e5741aad9b3929a4e8b8207ee6008a9bf06ec8bf03ed73771cb29fda1b8d DIST vmc-1.1_p1.tar.gz 91722 BLAKE2B 6849b52c95dd33393f75d24eb184571bfbc3b711e6bba7c33853493e97ad63fbdfa4c49c61f664b911d7e047229bcde08303b48a345f1a0b9bfffee3f078e275 SHA512 407d8a6d3c3375e448273750aaffe43e9f4a63cc2f4a4ec41d1cd9b3c830b836cbef8d4e9cb37e5a0595f54a22989b7e1dd62dda0606a84f5732d1d3f6eaaee8 +DIST vmc-2.0.tar.gz 96865 BLAKE2B 487ad5888389e10ba79364f4701ab4caec33d88b940ee277a8039a401fd624d3a9f7ae62bd4a50be770ac924703256325bf118e243bfe700ed8e390104f4e3d5 SHA512 3f0a88bf2bcf3daaa1327125a1aebb05452dabce3d5f274797c05cbd15cdd1c9d4fdfeebdef70a70ce5d575f19c2856330be18683e7bf241113881e11a022a89 diff --git a/sci-physics/vmc/vmc-2.0.ebuild b/sci-physics/vmc/vmc-2.0.ebuild new file mode 100644 index 000000000000..2eb8760c25bf --- /dev/null +++ b/sci-physics/vmc/vmc-2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/ https://github.com/vmc-project/vmc" + +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:=[c++11?,c++14?,c++17?,-vmc]" +DEPEND="${RDEPEND}" +BDEPEND="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 +}