1 |
commit: 855612c73346c27380075a056d6d3628b536481e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 31 12:40:44 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 31 12:42:14 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855612c7 |
7 |
|
8 |
dev-python/aiohttp-cors: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../aiohttp-cors/aiohttp-cors-0.7.0-r1.ebuild | 37 ---------------------- |
13 |
1 file changed, 37 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r1.ebuild b/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 502919c6a8bd..000000000000 |
18 |
--- a/dev-python/aiohttp-cors/aiohttp-cors-0.7.0-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,37 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{8..10} ) |
27 |
- |
28 |
-inherit distutils-r1 |
29 |
- |
30 |
-DESCRIPTION="Implements CORS support for aiohttp asyncio-powered asynchronous HTTP server" |
31 |
-HOMEPAGE="https://github.com/aio-libs/aiohttp-cors" |
32 |
-SRC_URI="https://github.com/aio-libs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="Apache-2.0" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86" |
37 |
- |
38 |
-RDEPEND=">=dev-python/aiohttp-1.1.1[${PYTHON_USEDEP}]" |
39 |
-BDEPEND=" |
40 |
- test? ( |
41 |
- dev-python/pytest-aiohttp[${PYTHON_USEDEP}] |
42 |
- dev-python/selenium[${PYTHON_USEDEP}] |
43 |
- )" |
44 |
- |
45 |
-distutils_enable_tests pytest |
46 |
- |
47 |
-# https://github.com/aio-libs/aiohttp-cors/pull/278 |
48 |
-PATCHES=( |
49 |
- "${FILESDIR}/${P}-tests.patch" |
50 |
- "${FILESDIR}/${P}-py3_7.patch" |
51 |
-) |
52 |
- |
53 |
-src_prepare() { |
54 |
- sed -i -e '/^addopts=/d' setup.cfg || die |
55 |
- echo " ignore::DeprecationWarning" >> pytest.ini |
56 |
- distutils-r1_src_prepare |
57 |
-} |