mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/pytest-socket: new package, add 0.7.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
parent
d18516a599
commit
d77426e3c5
1
dev-python/pytest-socket/Manifest
Normal file
1
dev-python/pytest-socket/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST pytest_socket-0.7.0.tar.gz 12389 BLAKE2B e99e607e1a614c1e59a1d0d3a2eb00124e43906af5b25b812e7b7975f80e7b31bf5900403e1618e41583e2438bbd25a17fd984f9460356876305de748a376bd0 SHA512 b32d0077287cbdea19c65f750f904084aeb9ede6b95916a471b4d16ba89648a77b799d33d1b33e1aee0fa7560bd9fe532fc1e59406aee08648efe35499fc936b
|
||||
13
dev-python/pytest-socket/metadata.xml
Normal file
13
dev-python/pytest-socket/metadata.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>tupone@gentoo.org</email>
|
||||
<name>Tupone Alfredo</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pytest-socket</remote-id>
|
||||
<remote-id type="github">miketheman/pytest-socket</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
39
dev-python/pytest-socket/pytest-socket-0.7.0.ebuild
Normal file
39
dev-python/pytest-socket/pytest-socket-0.7.0.ebuild
Normal file
@ -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_{10..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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user