blob: 670054a5c704d4a3946f1e5cf32a6ff732f03fcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
inherit python-r1
DESCRIPTION="Run Google Test suites in parallel"
HOMEPAGE="https://github.com/google/gtest-parallel"
MY_COMMIT="cd488bdedc1d2cffb98201a17afc1b298b0b90f1"
SRC_URI="
https://github.com/google/gtest-parallel/archive/${MY_COMMIT}.tar.gz
-> ${PN}-${MY_COMMIT}.tar.gz
"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}"
BDEPEND="${PYTHON_DEPS}"
src_test() {
python_foreach_impl eunittest -p '*_tests.py'
}
src_install() {
python_foreach_impl python_doexe gtest-parallel
python_foreach_impl python_domodule gtest_parallel.py
einstalldocs
}
|