Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/async_generator/
Date: Thu, 12 May 2022 19:09:07
Message-Id: 1652382530.8845ad860d00bdf66ef5553d7d62d4afad767ce1.arthurzam@gentoo
1 commit: 8845ad860d00bdf66ef5553d7d62d4afad767ce1
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 12 19:01:42 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu May 12 19:08:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8845ad86
7
8 dev-python/async_generator: update EAPI 7 -> 8
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 .../async_generator/async_generator-1.10-r2.ebuild | 25 ++++++++++++++++++++++
13 1 file changed, 25 insertions(+)
14
15 diff --git a/dev-python/async_generator/async_generator-1.10-r2.ebuild b/dev-python/async_generator/async_generator-1.10-r2.ebuild
16 new file mode 100644
17 index 000000000000..0581742e6711
18 --- /dev/null
19 +++ b/dev-python/async_generator/async_generator-1.10-r2.ebuild
20 @@ -0,0 +1,25 @@
21 +# Copyright 1999-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..11} pypy3 )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Making it easy to write async iterators in Python 3.5"
31 +HOMEPAGE="https://github.com/python-trio/async_generator https://pypi.org/project/async_generator/"
32 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
33 +
34 +LICENSE="|| ( MIT Apache-2.0 )"
35 +SLOT="0"
36 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
37 +
38 +DOCS=( README.rst )
39 +
40 +distutils_enable_tests pytest
41 +
42 +python_test() {
43 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
44 + epytest
45 +}