From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5BDE158020 for ; Fri, 14 Oct 2022 11:57:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8ECFBE079E; Fri, 14 Oct 2022 11:57:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79574E079E for ; Fri, 14 Oct 2022 11:57:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9CF463410EA for ; Fri, 14 Oct 2022 11:57:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B7BF3617 for ; Fri, 14 Oct 2022 11:57:03 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1665748599.40a9c7fd01f15066f6b3f091cdb4367cc511c732.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/adblock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/adblock/adblock-0.6.0.ebuild X-VCS-Directories: dev-python/adblock/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 40a9c7fd01f15066f6b3f091cdb4367cc511c732 X-VCS-Branch: master Date: Fri, 14 Oct 2022 11:57:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9ff07be7-650c-451a-9bfb-4f81092c4383 X-Archives-Hash: dbbd963aaa13163ec7a93e10dee41391 commit: 40a9c7fd01f15066f6b3f091cdb4367cc511c732 Author: Ionen Wolkens gentoo org> AuthorDate: Fri Oct 14 11:20:04 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Fri Oct 14 11:56:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a9c7fd dev-python/adblock: skip test using dev-python/toml Deprecated and test is intended for upstream, checking that the changelog's version matches Cargo.toml doesn't mean much here. Signed-off-by: Ionen Wolkens gentoo.org> dev-python/adblock/adblock-0.6.0.ebuild | 12 ++++++++---- 1 file 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 517d704e4f5e..eb67379a38c4 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 }