diff --git a/dev-python/clang-python/clang-python-11.0.0.9999.ebuild b/dev-python/clang-python/clang-python-11.0.0.9999.ebuild index 6d7cb294e6516..36c6ba65c994e 100644 --- a/dev-python/clang-python/clang-python-11.0.0.9999.ebuild +++ b/dev-python/clang-python/clang-python-11.0.0.9999.ebuild @@ -8,8 +8,6 @@ inherit llvm.org python-r1 DESCRIPTION="Python bindings for sys-devel/clang" HOMEPAGE="https://llvm.org/" -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" @@ -27,6 +25,9 @@ RDEPEND=" ${PYTHON_DEPS}" DEPEND="${RDEPEND}" +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + python_test() { "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" } diff --git a/dev-python/clang-python/clang-python-12.0.0.9999.ebuild b/dev-python/clang-python/clang-python-12.0.0.9999.ebuild index 6d7cb294e6516..36c6ba65c994e 100644 --- a/dev-python/clang-python/clang-python-12.0.0.9999.ebuild +++ b/dev-python/clang-python/clang-python-12.0.0.9999.ebuild @@ -8,8 +8,6 @@ inherit llvm.org python-r1 DESCRIPTION="Python bindings for sys-devel/clang" HOMEPAGE="https://llvm.org/" -LLVM_COMPONENTS=( clang/bindings/python ) -llvm.org_set_globals LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" SLOT="0" @@ -27,6 +25,9 @@ RDEPEND=" ${PYTHON_DEPS}" DEPEND="${RDEPEND}" +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + python_test() { "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" }