summaryrefslogtreecommitdiff
path: root/dev-python/pytest-import-check
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/pytest-import-check
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-python/pytest-import-check')
-rw-r--r--dev-python/pytest-import-check/Manifest1
-rw-r--r--dev-python/pytest-import-check/metadata.xml10
-rw-r--r--dev-python/pytest-import-check/pytest-import-check-0.0.4.ebuild37
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/pytest-import-check/Manifest b/dev-python/pytest-import-check/Manifest
new file mode 100644
index 000000000000..10e039baaf78
--- /dev/null
+++ b/dev-python/pytest-import-check/Manifest
@@ -0,0 +1 @@
+DIST pytest_import_check-0.0.4.tar.gz 17221 BLAKE2B d835f1104a1b96aa07e42b5abf6db70284affdb50cfbda22f4a1d4cdf6a7bc5fc93914c95c96b775cf799c0a895bedded63b767946a1caa25b3339a20f16daff SHA512 b661c8da479ec3c02907d34c1b87aaf2a6ab2570bcc61bd9bb662d1292d02093f9b2726e23ae773d6a0d8c28f64a7e2025222dd2c8a2bd7af85adcafb85e69ed
diff --git a/dev-python/pytest-import-check/metadata.xml b/dev-python/pytest-import-check/metadata.xml
new file mode 100644
index 000000000000..c7a305a4ca2c
--- /dev/null
+++ b/dev-python/pytest-import-check/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <stabilize-allarches />
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
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..98ae199a18dd
--- /dev/null
+++ b/dev-python/pytest-import-check/pytest-import-check-0.0.4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{13..14} )
+
+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="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~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
+}