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 86F4F138331 for ; Fri, 18 May 2018 15:38:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E1BEE09BE; Fri, 18 May 2018 15:38:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 4589CE09BE for ; Fri, 18 May 2018 15:38:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C80FF335C72 for ; Fri, 18 May 2018 15:38:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 53D672A1 for ; Fri, 18 May 2018 15:38:54 +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: <1526657723.1c7620b336edf8e362e73f2b7c8c3b6abd79bcbf.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/clhep/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/clhep/Manifest sci-physics/clhep/clhep-2.4.0.4.ebuild X-VCS-Directories: sci-physics/clhep/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 1c7620b336edf8e362e73f2b7c8c3b6abd79bcbf X-VCS-Branch: master Date: Fri, 18 May 2018 15:38: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-Archives-Salt: e2c36e54-2f99-43e9-97a6-d857b5d444c6 X-Archives-Hash: 92552cae50eda9847050520598d01750 commit: 1c7620b336edf8e362e73f2b7c8c3b6abd79bcbf Author: Guilherme Amadio gentoo org> AuthorDate: Fri May 18 11:57:09 2018 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Fri May 18 15:35:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c7620b3 sci-physics/clhep: version bump to 2.4.0.4 Package-Manager: Portage-2.3.38, Repoman-2.3.9 sci-physics/clhep/Manifest | 1 + sci-physics/clhep/clhep-2.4.0.4.ebuild | 49 ++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/sci-physics/clhep/Manifest b/sci-physics/clhep/Manifest index 864d2d4c221..bdc8a46a3de 100644 --- a/sci-physics/clhep/Manifest +++ b/sci-physics/clhep/Manifest @@ -4,3 +4,4 @@ DIST clhep-2.2.0.1.tgz 1844675 BLAKE2B af2e379035df136a9ecdcf6b22d2d5120e8c89e6d DIST clhep-2.2.0.5.tgz 1847046 BLAKE2B 8dddc6b9acbf41abdd849ef1aa1087d93f48fc83937ee67e687e28c421d290683e5381c2b9f8034e2651e3ccec2fd2e0ba8bee73dc55618e22c0e4df7ce3a378 SHA512 07d9359604196344fe3b13cc103727693fd70818c22849e54507530221812843a943cb8ed66eea421e498edcc9c0f584826823ea7939cbf53b90b17d412aed1a DIST clhep-2.3.1.0.tgz 1538945 BLAKE2B 9aa76fb35c99bbd76d5cdbf5d58b5f64a4a24516b1b9dd5dff7fdf0c60f1c9a4d23e86bce3f4dc0ef849d65753702b0e9043caa8e07f3235ab25c79c7ad83fa5 SHA512 786ad6289ab064c3c428ba2a8f534fcadd09f1f00a9c725dc987ea46c55d1f4ec7beab25221c978992dd195b02a65388a35aa6d7f471b6742c9ff6cdb7a8b7a4 DIST clhep-2.3.3.1.tgz 1565701 BLAKE2B e5153da7a79d0c6e6f4f98cfadd836ee7b36196dcc0daae45bc38c43c24b10cf65aeb71dd0313c7195cd0734d645e8ddcbeed53b82b16d7ae35ecffab2383b4e SHA512 b13e336f9c4dd741291768a4c59075e88467ad54dc41a07eeb519712055e1a26c2369bffb6aeeeac4199066ce1bc863e9d90647094dd2fced7069d82a4cd1317 +DIST clhep-2.4.0.4.tgz 1536520 BLAKE2B 7ab58aeab685950393c8059f77e95cbbf7bf61f04e8113c6fd7b09200cce497716d5a0e023143dde395db895f48848a78e579e38968d9f27a50769034003e11e SHA512 349c1225713a3bc91fe94e27f938e919b434e6466df94dcde915c7e8ed313b9b2e7186e67a9b580ede21aec0050507a070c279920590148ebbec0ac5733fb008 diff --git a/sci-physics/clhep/clhep-2.4.0.4.ebuild b/sci-physics/clhep/clhep-2.4.0.4.ebuild new file mode 100644 index 00000000000..d3fd8d48a3c --- /dev/null +++ b/sci-physics/clhep/clhep-2.4.0.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils multilib + +DESCRIPTION="High Energy Physics C++ library" +HOMEPAGE="http://cern.ch/clhep" +SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/tarFiles/${P}.tgz" +LICENSE="GPL-3 LGPL-3" +SLOT="2/${PV}" +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +IUSE="doc test threads" +RDEPEND="" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[latex] )" + +S="${WORKDIR}/${PV}/CLHEP" + +src_prepare() { + cmake-utils_src_prepare + + # respect flags + sed -i -e 's:-O::g' cmake/Modules/ClhepVariables.cmake || die + # dont build test if not asked + if ! use test; then + sed -i \ + -e '/add_subdirectory(test)/d' \ + */CMakeLists.txt || die + fi + # gentoo doc directory + if use doc; then + grep -rl 'share/doc/CLHEP' | + xargs sed -i \ + -e "s:share/doc/CLHEP:share/doc/${PF}:" \ + {.,*}/CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + -DCLHEP_BUILD_DOCS=$(usex doc) + -DCLHEP_SINGLE_THREAD=$(usex threads no yes) + ) + DESTDIR="${ED}" cmake-utils_src_configure +}