add pytest-socket-0.4.1

This commit is contained in:
Andreas Billmeier 2021-11-02 15:17:42 +01:00 committed by Andreas Billmeier
parent c5c8f489bd
commit 2cb8730103
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST pytest-socket-0.4.1.tar.gz 10187 BLAKE2B cfee7f353ed622e88be246fcf2552c713a87cfc494ce25ef68ee220554cfd8a7521861713db1185348264469ca5dd29986aa06ffc2b8eceae84b6196795d8bdd SHA512 d929c447767522ead4b6a2e1f27cda8459674a099ac222bf194a69e222837b97101cc6f3ab3eb177f2cf97af8d2aa7538fe4acdfc6eb63d11a902c3e09d0f48f
EBUILD pytest-socket-0.4.1.ebuild 757 BLAKE2B e9fdd5de0c287fad8e5f4de2f552f22c35ddc64470509782909ae336d6bf3de2124dd7cdffc2b9715e938c788fed168868b166d1bc89fdf39d2482c3ce127751 SHA512 3c24346567595ac9650980d88a7a1025d81a1993bd7b1bc1c85ec0a1c5542d9953c9d990f0514271e6cbb16dcb3bc3ab8936214088017fb471f9f7938f69c30f
MISC metadata.xml 458 BLAKE2B deaf1bd6fdbeb5af629f8ae2e039fca3c03040a749784730eea3c70824f4b8d0890a9aa8849eac7efddd367e833fa38d57b120932f0e7c66fd5276132021f685 SHA512 f58095b789edabc7c01592b2a993b890f59c0829758a7180e890414ccd9d30094d21622b38af2541a3b91d0b9bbb387ba397bffa3c827df504e0aad24532e3b9

View File

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">pytest-socket</remote-id>
<maintainer status="unknown">
<email>miketheman@gmail.com</email>
<name>Mike Fiedler</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Pytest Plugin to disable socket calls during tests"
HOMEPAGE="https://github.com/miketheman/pytest-socket/ https://pypi.org/project/pytest-socket/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND=">=dev-python/pytest-3.6.3[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}