app-portage/gentoopm: Update test logic in -9999

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-02-07 20:25:31 +01:00
parent 46c5119fa0
commit 206ef24617

View File

@@ -22,14 +22,3 @@ RDEPEND="
PDEPEND="app-eselect/eselect-package-manager"
distutils_enable_tests pytest
python_test() {
if has_version ">=sys-apps/pkgcore-0.9.4[${PYTHON_USEDEP}]"; then
einfo "Testing against pkgcore ..."
PACKAGE_MANAGER=pkgcore epytest
fi
if has_version ">=sys-apps/portage-2.1.10.3[${PYTHON_USEDEP}]"; then
einfo "Testing against portage ..."
PACKAGE_MANAGER=portage epytest
fi
}