1 |
commit: c59971d0fae3fddf5f9f989fc4b72707241574a1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 13 15:20:42 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 13 16:11:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c59971d0 |
7 |
|
8 |
dev-python/aiosignal: Use PEP517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/aiosignal/aiosignal-1.2.0-r1.ebuild | 34 ++++++++++++++++++++++++++ |
13 |
1 file changed, 34 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/aiosignal/aiosignal-1.2.0-r1.ebuild b/dev-python/aiosignal/aiosignal-1.2.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..3cefe64fa69a |
18 |
--- /dev/null |
19 |
+++ b/dev-python/aiosignal/aiosignal-1.2.0-r1.ebuild |
20 |
@@ -0,0 +1,34 @@ |
21 |
+# Copyright 2021-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="A list of registered asynchronous callbacks" |
32 |
+HOMEPAGE=" |
33 |
+ https://pypi.org/project/aiosignal/ |
34 |
+ https://github.com/aio-libs/aiosignal/ |
35 |
+" |
36 |
+SRC_URI=" |
37 |
+ https://github.com/aio-libs/aiosignal/archive/v${PV}.tar.gz |
38 |
+ -> ${P}.gh.tar.gz |
39 |
+" |
40 |
+ |
41 |
+LICENSE="Apache-2.0" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ >=dev-python/frozenlist-1.1.0[${PYTHON_USEDEP}] |
47 |
+" |
48 |
+ |
49 |
+distutils_enable_tests pytest |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ sed -i -e '/addopts/d' pytest.ini || die |
53 |
+ distutils-r1_src_prepare |
54 |
+} |