diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-30 06:10:30 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-30 06:10:30 +0000 |
| commit | f2b066252b0e859eedde17d45a6e13a5b813b624 (patch) | |
| tree | 9dd4bd2e482cbe23c93993919323fd46043015da /dev-python/pytest-socket/pytest-socket-0.7.0.ebuild | |
| parent | 86d18d9c382148e8ec438b715b54d48870b1a56f (diff) | |
| download | baldeagleos-repo-f2b066252b0e859eedde17d45a6e13a5b813b624.tar.gz baldeagleos-repo-f2b066252b0e859eedde17d45a6e13a5b813b624.tar.xz baldeagleos-repo-f2b066252b0e859eedde17d45a6e13a5b813b624.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pytest-socket/pytest-socket-0.7.0.ebuild')
| -rw-r--r-- | dev-python/pytest-socket/pytest-socket-0.7.0.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/pytest-socket/pytest-socket-0.7.0.ebuild b/dev-python/pytest-socket/pytest-socket-0.7.0.ebuild new file mode 100644 index 000000000000..564b68121a89 --- /dev/null +++ b/dev-python/pytest-socket/pytest-socket-0.7.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Pytest Plugin to disable socket calls during tests" +HOMEPAGE=" + https://github.com/miketheman/pytest-socket/ + https://pypi.org/project/pytest-socket/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-httpbin[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_test() { + local EPYTEST_DESELECT=( + tests/test_async.py::test_starlette + tests/test_restrict_hosts.py::test_help_message + ) + + distutils-r1_src_test +} |
