dev-util/gtest-parallel: new package, add 20220621

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42170
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2025-05-20 16:34:52 +03:00
committed by Sam James
parent cff5bbba2b
commit b4b1a5a953
3 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST gtest-parallel-f4d65b555894b301699c7c3c52906f72ea052e83.tar.gz 20539 BLAKE2B 315d53f1036008409796526e6ce4d557378dfc8138022f1e3c83cdf3b6e1b45d51df838c979fe7801c74dd090b894f8a743b65fe10f8372cfa8b65960a620b03 SHA512 cdf221b2b5bb4b070e4ef0ea269502e0d71226614272fb7be6f107fca34df5a372473d8d0c2617ae36cb15e49664d802dc89cb11ebd313f50737715ccd76be81

View File

@@ -0,0 +1,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="f4d65b555894b301699c7c3c52906f72ea052e83"
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"
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
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>parona@protonmail.com</email>
<name>Alfred Wingate</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">google/gtest-parallel</remote-id>
</upstream>
</pkgmetadata>