dev-python/aiohttp-cors: Bump to 0.8.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-03-17 07:48:12 +01:00
parent 7798b82c91
commit 2cd2f353c3
2 changed files with 41 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST aiohttp-cors-0.7.0.gh.tar.gz 39728 BLAKE2B 747499856272f551cf8e2e0911ff7cbb2c7cb8a1f3159327dd8f0d40cabbbd9713a1a9e30ef9c99f3f9642567c99025e049db837c89f907d6698a27005ac2632 SHA512 72e0b365b952c08a02c1123d7672cfea01063e2ff01743a71e10f804d22178edc0f1c6b7f87b7ed484ca7c24e89a32de90d0d279f2f5c060427319182f9bdd3b
DIST aiohttp-cors-0.8.0.gh.tar.gz 40794 BLAKE2B 92a88f55b49e8cbc86bf970af336ffe742950f2ca2f15667edd37e4ec4daad7c70e3243bd10974569c618978d20a0cdd9b25f95942808d3de06de778dd4d5663 SHA512 6f4b648b62511dfa0ccfbfcb24bed8308576edc801496b34a4541f8f43a23edd04ea7881400e5550e756a422f63aa7935307cdda0a096612a6d66b0161e4a588

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 )
inherit distutils-r1
DESCRIPTION="Implements CORS support for aiohttp asyncio-powered asynchronous HTTP server"
HOMEPAGE="
https://github.com/aio-libs/aiohttp-cors/
https://pypi.org/project/aiohttp_cors/
"
SRC_URI="
https://github.com/aio-libs/aiohttp-cors/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
RDEPEND="
>=dev-python/aiohttp-3.9[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
dev-python/selenium[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -o addopts= -p aiohttp -p asyncio --asyncio-mode=auto
}