diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-03-17 07:48:12 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-03-17 08:31:29 +0100 |
| commit | 2cd2f353c30449cc82f331ace3172b48f9dc488c (patch) | |
| tree | d1efc2ba9ca861daf3da19ca247dcfcf0e901a3a /dev-python/aiohttp-cors | |
| parent | 7798b82c915cfc16561b8bf303b2f540108feb02 (diff) | |
| download | gentoo-2cd2f353c30449cc82f331ace3172b48f9dc488c.tar.gz gentoo-2cd2f353c30449cc82f331ace3172b48f9dc488c.tar.bz2 gentoo-2cd2f353c30449cc82f331ace3172b48f9dc488c.zip | |
dev-python/aiohttp-cors: Bump to 0.8.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aiohttp-cors')
| -rw-r--r-- | dev-python/aiohttp-cors/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/aiohttp-cors/aiohttp-cors-0.8.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/aiohttp-cors/Manifest b/dev-python/aiohttp-cors/Manifest index 047e1846cfd0..79854b29911a 100644 --- a/dev-python/aiohttp-cors/Manifest +++ b/dev-python/aiohttp-cors/Manifest @@ -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 diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.8.0.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.8.0.ebuild new file mode 100644 index 000000000000..234716d11dbb --- /dev/null +++ b/dev-python/aiohttp-cors/aiohttp-cors-0.8.0.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 +} |
