dev-python/aiohappyeyeballs: New package, v2.3.1

A future dependency of dev-python/aiohttp.

Bug: https://github.com/aio-libs/aiohappyeyeballs/issues/33
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-01-06 20:47:57 +01:00
parent 97f8fea6d2
commit 4f5e89fb7f
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST aiohappyeyeballs-2.3.1.gh.tar.gz 46348 BLAKE2B 6d20cd6db085b7d7bd0b2a18eec01dbd569eb64be7ae953eadcd07e161442637fee9ec63c3bb2253d11fea210d9ab6e8a130f9f036652a8965325db9fc30d3dd SHA512 c02a12a269e0733f653df9fedc150aea8ad061fb8b1f67e3519d6c2e8ea92f8ad3360b4eaacc0e55f51e81f57cc9c8aa82dbe0fcd9779dcd8151a3f944f28847

View File

@@ -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=
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">aio-libs/aiohappyeyeballs</remote-id>
<remote-id type="pypi">aiohappyeyeballs</remote-id>
</upstream>
</pkgmetadata>