mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-04 00:08:09 -07:00
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1094 Merges: https://codeberg.org/gentoo/gentoo/pulls/1094 Signed-off-by: Sam James <sam@gentoo.org>
36 lines
812 B
Bash
36 lines
812 B
Bash
# Copyright 2025-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{12..15} )
|
|
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
|
|
}
|