commit:     be322111d4c27755969a65df4998ba22d3c6e140
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 31 20:08:43 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 20:14:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be322111

dev-python/aiohttp-cors: add 0.8.1

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/aiohttp-cors/Manifest                  |  1 +
 dev-python/aiohttp-cors/aiohttp-cors-0.8.1.ebuild | 40 +++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/dev-python/aiohttp-cors/Manifest b/dev-python/aiohttp-cors/Manifest
index 79854b29911a..57eebaa425f7 100644
--- a/dev-python/aiohttp-cors/Manifest
+++ b/dev-python/aiohttp-cors/Manifest
@@ -1,2 +1,3 @@
 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
+DIST aiohttp-cors-0.8.1.gh.tar.gz 40447 BLAKE2B 
553dcf7d9769c0f2b75bbea271aac71fde9dcc1f8d5e292603e29b6082cbdada653f831407408ade76cf4804c4d25742c77459f601b118060e7b539ce4a5944b
 SHA512 
774561b07dd71bbe186fa6b2f056d703551ef5fd9e321a9bfa7a4344156964f0bdcb3c99dec6d4a53d8ba6aab373bbe10f15c3d59beb2fd185828eba64975171

diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.8.1.ebuild 
b/dev-python/aiohttp-cors/aiohttp-cors-0.8.1.ebuild
new file mode 100644
index 000000000000..234716d11dbb
--- /dev/null
+++ b/dev-python/aiohttp-cors/aiohttp-cors-0.8.1.ebuild
@@ -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
+}

Reply via email to