diff --git a/dev-python/aiohappyeyeballs/Manifest b/dev-python/aiohappyeyeballs/Manifest new file mode 100644 index 0000000000000..e39deb3d9b06c --- /dev/null +++ b/dev-python/aiohappyeyeballs/Manifest @@ -0,0 +1 @@ +DIST aiohappyeyeballs-2.3.1.gh.tar.gz 46348 BLAKE2B 6d20cd6db085b7d7bd0b2a18eec01dbd569eb64be7ae953eadcd07e161442637fee9ec63c3bb2253d11fea210d9ab6e8a130f9f036652a8965325db9fc30d3dd SHA512 c02a12a269e0733f653df9fedc150aea8ad061fb8b1f67e3519d6c2e8ea92f8ad3360b4eaacc0e55f51e81f57cc9c8aa82dbe0fcd9779dcd8151a3f944f28847 diff --git a/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.1.ebuild b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.1.ebuild new file mode 100644 index 0000000000000..93d57735e4196 --- /dev/null +++ b/dev-python/aiohappyeyeballs/aiohappyeyeballs-2.3.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Happy Eyeballs for pre-resolved hosts" +HOMEPAGE=" + https://pypi.org/project/aiohappyeyeballs/ + https://github.com/aio-libs/aiohappyeyeballs/ +" +SRC_URI=" + https://github.com/aio-libs/aiohappyeyeballs/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + >=dev-python/pytest-asyncio-0.23.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio -o addopts= +} diff --git a/dev-python/aiohappyeyeballs/metadata.xml b/dev-python/aiohappyeyeballs/metadata.xml new file mode 100644 index 0000000000000..5f0349700b9fc --- /dev/null +++ b/dev-python/aiohappyeyeballs/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + aio-libs/aiohappyeyeballs + aiohappyeyeballs + +