commit:     0a66755f944081dd6205e661b95ac3b1a31f573c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 14:03:20 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 14:08:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a66755f

dev-python/pytest-import-check: Bump to 0.0.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-import-check/Manifest            |  1 +
 .../pytest-import-check-0.0.4.ebuild               | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/pytest-import-check/Manifest 
b/dev-python/pytest-import-check/Manifest
index 2ab19c063535..6439eed65ca1 100644
--- a/dev-python/pytest-import-check/Manifest
+++ b/dev-python/pytest-import-check/Manifest
@@ -1 +1,2 @@
 DIST pytest_import_check-0.0.3.tar.gz 16993 BLAKE2B 
c0d9ccff18f46b4331ba455fec3e4353084769be631f81e56bf8f0fce374cbc3b9e5ef16e3527f7d39e2b6f46ea7e26b88ffd4197487575b14ee607f94389045
 SHA512 
4618bc4f5988480f712d0a5dcf7dc2743520a454e5b32beb225f04afeb70235a65bfc27c5a30dbdf248429b844a64edd4a0af805eaa720ba5658aa7dccf8fbb4
+DIST pytest_import_check-0.0.4.tar.gz 17221 BLAKE2B 
d835f1104a1b96aa07e42b5abf6db70284affdb50cfbda22f4a1d4cdf6a7bc5fc93914c95c96b775cf799c0a895bedded63b767946a1caa25b3339a20f16daff
 SHA512 
b661c8da479ec3c02907d34c1b87aaf2a6ab2570bcc61bd9bb662d1292d02093f9b2726e23ae773d6a0d8c28f64a7e2025222dd2c8a2bd7af85adcafb85e69ed

diff --git a/dev-python/pytest-import-check/pytest-import-check-0.0.4.ebuild 
b/dev-python/pytest-import-check/pytest-import-check-0.0.4.ebuild
new file mode 100644
index 000000000000..62fbf37420b0
--- /dev/null
+++ b/dev-python/pytest-import-check/pytest-import-check-0.0.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="pytest plugin to check whether Python modules can be imported"
+HOMEPAGE="
+       https://github.com/projg2/pytest-import-check/
+       https://pypi.org/project/pytest-import-check/
+"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+       >=dev-python/pytest-8.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/setuptools[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       local -x PYTEST_PLUGINS=pytest_import_check.plugin
+       epytest
+}

Reply via email to