1 |
commit: 98e1ae8d190da19e52676156d08596551a5603bd |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 30 23:18:43 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 30 23:19:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e1ae8d |
7 |
|
8 |
dev-util/rr: bump up to 5.4.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
dev-util/rr/Manifest | 1 + |
14 |
dev-util/rr/rr-5.4.0.ebuild | 68 +++++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 69 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/rr/Manifest b/dev-util/rr/Manifest |
18 |
index 7d7681e7438..e4a3bb12f97 100644 |
19 |
--- a/dev-util/rr/Manifest |
20 |
+++ b/dev-util/rr/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST mozilla-rr-5.3.0.tar.gz 1343557 BLAKE2B 80ed2feb52fd34b424193902c02408443e5ae943a34d3fe8e75c4c813042c6dd7f39571924ce94aca558ea5f1630f9bda28bea9d5f7e2d429d772a85d3e3e7ad SHA512 6ae37a3ced0c001208fb981abc18f02b912a2851564955dd8da364cb30d9580ea6c91bedbef6495da5d082954d4f261eeaea81df1e9895b4adf948e9998f4c2b |
23 |
+DIST mozilla-rr-5.4.0.tar.gz 1434820 BLAKE2B 8454304fa2ddf85fcd385d3d4e72b8963dc0f6804bf572db31654cdf5bfc8a3afd050380fe34d280264114467e9b973866384d75d6f8b7078affd51064e9f597 SHA512 69b029a29cf3c147f033ff4c1c67c6190f5163b4f7329306e5f0ccfe78cae4b6ae262602253772e83d5a55408c5a4d121e5a9b3530779de74adc34b81e2592c8 |
24 |
|
25 |
diff --git a/dev-util/rr/rr-5.4.0.ebuild b/dev-util/rr/rr-5.4.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..e46b29249fe |
28 |
--- /dev/null |
29 |
+++ b/dev-util/rr/rr-5.4.0.ebuild |
30 |
@@ -0,0 +1,68 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
+CMAKE_BUILD_TYPE=Release |
38 |
+ |
39 |
+inherit cmake linux-info python-single-r1 |
40 |
+ |
41 |
+DESCRIPTION="Record and Replay Framework" |
42 |
+HOMEPAGE="https://rr-project.org/" |
43 |
+SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> mozilla-${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT BSD-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="multilib test" |
49 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ sys-libs/zlib:= |
53 |
+ dev-libs/capnproto:= |
54 |
+ ${PYTHON_DEPS}" |
55 |
+RDEPEND="${DEPEND} |
56 |
+ sys-devel/gdb[xml]" |
57 |
+# Add all the deps needed only at build/test time. |
58 |
+DEPEND+=" |
59 |
+ test? ( |
60 |
+ $(python_gen_cond_dep ' |
61 |
+ dev-python/pexpect[${PYTHON_MULTI_USEDEP}] |
62 |
+ ') |
63 |
+ sys-devel/gdb[xml] |
64 |
+ )" |
65 |
+ |
66 |
+RESTRICT="test" # toolchain and kernel version dependent |
67 |
+ |
68 |
+pkg_setup() { |
69 |
+ if use kernel_linux; then |
70 |
+ CONFIG_CHECK="SECCOMP" |
71 |
+ linux-info_pkg_setup |
72 |
+ fi |
73 |
+ python-single-r1_pkg_setup |
74 |
+} |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ cmake_src_prepare |
78 |
+ |
79 |
+ sed -i 's:-Werror::' CMakeLists.txt || die #609192 |
80 |
+} |
81 |
+ |
82 |
+src_test() { |
83 |
+ if has usersandbox ${FEATURES} ; then |
84 |
+ ewarn "Test suite fails under FEATURES=usersandbox (bug #632394). Skipping." |
85 |
+ return 0 |
86 |
+ fi |
87 |
+ |
88 |
+ cmake_src_test |
89 |
+} |
90 |
+ |
91 |
+src_configure() { |
92 |
+ local mycmakeargs=( |
93 |
+ -DBUILD_TESTS=$(usex test) |
94 |
+ -Ddisable32bit=$(usex !multilib) #636786 |
95 |
+ ) |
96 |
+ |
97 |
+ cmake_src_configure |
98 |
+} |