mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-29 09:31:06 +02:00
app-portage/gentoolkit: Sync with Gentoo
It's from Gentoo commit d129a341c240c68effcb2a03399ea52f36116aea.
This commit is contained in:
parent
7010cf24da
commit
9c509644f2
@ -22,6 +22,8 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
|
|||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
# Need newer Portage for eclean-pkg API, bug #900224
|
# Need newer Portage for eclean-pkg API, bug #900224
|
||||||
DEPEND="
|
DEPEND="
|
||||||
@ -44,6 +46,9 @@ BDEPEND="
|
|||||||
$(python_gen_cond_dep '
|
$(python_gen_cond_dep '
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
' python3_12)
|
' python3_12)
|
||||||
|
test? (
|
||||||
|
dev-python/pytest[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
"
|
"
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
@ -64,6 +69,7 @@ src_configure() {
|
|||||||
my_src_configure() {
|
my_src_configure() {
|
||||||
local emesonargs=(
|
local emesonargs=(
|
||||||
-Dcode-only=${code_only}
|
-Dcode-only=${code_only}
|
||||||
|
$(meson_use test tests)
|
||||||
-Deprefix="${EPREFIX}"
|
-Deprefix="${EPREFIX}"
|
||||||
-Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
|
-Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user