diff options
Diffstat (limited to 'dev-python/adblock')
| -rw-r--r-- | dev-python/adblock/adblock-0.6.0.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/dev-python/adblock/adblock-0.6.0.ebuild b/dev-python/adblock/adblock-0.6.0.ebuild index fe6c0eb39190..3c8e88d1d410 100644 --- a/dev-python/adblock/adblock-0.6.0.ebuild +++ b/dev-python/adblock/adblock-0.6.0.ebuild @@ -83,18 +83,22 @@ LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT MPL-2.0" SLOT="0" KEYWORDS="amd64 ~arm64 ~x86" -BDEPEND="test? ( dev-python/toml[${PYTHON_USEDEP}] )" - distutils_enable_tests pytest QA_FLAGS_IGNORED=".*/adblock.*.so" DOCS=( CHANGELOG.md README.md ) +EPYTEST_IGNORE=( + # not very meaningful here (e.g. validates changelog), + # and needs the deprecated dev-python/toml + tests/test_metadata.py +) + src_compile() { distutils-r1_src_compile - # tests try to find Cargo.toml + adblock/adblock.pyi in current - # directory but will fail if pytest finds init in ./adblock + # prevent pytest from using ./adblock that lack the built module + # but the keep directory given tests check ./adblock/adblock.pyi rm adblock/__init__.py || die } |
