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 075651382C5 for ; Mon, 12 Mar 2018 16:51:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C205E07EE; Mon, 12 Mar 2018 16:51:02 +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 C7E87E07EE for ; Mon, 12 Mar 2018 16:51:01 +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 51997335C0A for ; Mon, 12 Mar 2018 16:51:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D3FE8238 for ; Mon, 12 Mar 2018 16:50:58 +0000 (UTC) From: "Ettore Di Giacinto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ettore Di Giacinto" Message-ID: <1520873439.4343eee983680d22a40fc8016ac6b0c1dd3dbd9e.mudler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/rr/Manifest dev-util/rr/rr-5.1.0.ebuild X-VCS-Directories: dev-util/rr/ X-VCS-Committer: mudler X-VCS-Committer-Name: Ettore Di Giacinto X-VCS-Revision: 4343eee983680d22a40fc8016ac6b0c1dd3dbd9e X-VCS-Branch: master Date: Mon, 12 Mar 2018 16:50:58 +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: 9d25772f-9ce5-4600-9014-6b759d2673de X-Archives-Hash: d71319a5d8c9124fa2ca3b87654b0b86 commit: 4343eee983680d22a40fc8016ac6b0c1dd3dbd9e Author: Ettore Di Giacinto gentoo org> AuthorDate: Mon Mar 12 16:38:43 2018 +0000 Commit: Ettore Di Giacinto gentoo org> CommitDate: Mon Mar 12 16:50:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4343eee9 dev-util/rr: Bump to 5.1.0 Package-Manager: Portage-2.3.20, Repoman-2.3.6 dev-util/rr/Manifest | 1 + dev-util/rr/rr-5.1.0.ebuild | 58 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest index 1092025e0ae..365895efb43 100644 --- a/dev-util/rr/Manifest +++ b/dev-util/rr/Manifest @@ -1,2 +1,3 @@ DIST mozilla-rr-4.5.0.tar.gz 683371 BLAKE2B 1654de3811be4eac40ed751b910aed0ddca2100147e47e2e068f625c607964f98d33033c38cdf3a2146284bc477b08299e3432389342e7b058e331f0b924686f SHA512 8e9b7c6eaa9908e75853b5e19f61954b57e6e5afa7a8b6fe55f31aee36bab6ff315b5c3511d14c93dca5da19055a7879b6f3b9f51c349b1bb9acea130187a5e6 DIST mozilla-rr-5.0.0.tar.gz 1143119 BLAKE2B b08f8ade8856b03fa94057a8c850000cfacc0722090ac3f7d1c147a3c4e7c2bbfe58a740711495e88476d90eb02c6e9a5b85078dcb4fcf3ed107ad281dd3dcf8 SHA512 aaec0869e68290d5f7b752d02e89fc4f83dd2fce4abf91b36c006eeec97555b7adc69da311eadd48c9891599245305b585ed1a53580f7c616dba401f1592c5f2 +DIST mozilla-rr-5.1.0.tar.gz 1158274 BLAKE2B f150e9d05b0a6a32c818f968879d0a394beb6524469cad905a21024e0d79e229f261c766f17aecbacdb81cf8e7408e62d1fdf8677569de8ed4d882b91f93b83d SHA512 8cb7da20ddb2bfbeaf57d9bca76a3b5495d4bd74a00092c40c948570a2cda3dca6cb1e73ed65af099fe405a4d29ff1a852496baf0fcb6119258443649a65766a diff --git a/dev-util/rr/rr-5.1.0.ebuild b/dev-util/rr/rr-5.1.0.ebuild new file mode 100644 index 00000000000..09b7822c977 --- /dev/null +++ b/dev-util/rr/rr-5.1.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +CMAKE_BUILD_TYPE=Release + +inherit cmake-utils linux-info python-single-r1 + +DESCRIPTION="Record and Replay Framework" +HOMEPAGE="http://rr-project.org/" +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" + +LICENSE="MIT BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + sys-libs/zlib + dev-libs/capnproto + ${PYTHON_DEPS}" +RDEPEND="${DEPEND} + sys-devel/gdb[xml]" +# Add all the deps needed only at build/test time. +DEPEND+=" + test? ( + dev-python/pexpect[${PYTHON_USEDEP}] + sys-devel/gdb[xml] + )" + +#PATCHES=( +# "${FILESDIR}"/${P}-sysmacros.patch +#) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="SECCOMP" + linux-info_pkg_setup + fi + python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + + sed -i 's:-Werror::' CMakeLists.txt || die #609192 +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + + cmake-utils_src_configure +}