Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-isort/
Date: Sat, 09 Apr 2022 02:45:32
Message-Id: 1649472152.ea35f805b4795136a12758266c71540a139fd0ad.tastytea@gentoo
1 commit: ea35f805b4795136a12758266c71540a139fd0ad
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Sat Apr 9 01:40:47 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Sat Apr 9 02:42:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea35f805
7
8 dev-python/pytest-isort: add python3_10 compat, update EAPI 7 -> 8
9
10 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
11
12 .../pytest-isort/pytest-isort-1.3.0-r1.ebuild | 25 ++++++++++++++++++++++
13 1 file changed, 25 insertions(+)
14
15 diff --git a/dev-python/pytest-isort/pytest-isort-1.3.0-r1.ebuild b/dev-python/pytest-isort/pytest-isort-1.3.0-r1.ebuild
16 new file mode 100644
17 index 000000000..274623001
18 --- /dev/null
19 +++ b/dev-python/pytest-isort/pytest-isort-1.3.0-r1.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 +PYTHON_COMPAT=( python3_{8..10} )
27 +
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Plugin to check import ordering using isort"
31 +HOMEPAGE="https://github.com/moccu/pytest-isort"
32 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
33 +
34 +LICENSE="BSD"
35 +KEYWORDS="~amd64 ~x86"
36 +SLOT="0"
37 +
38 +distutils_enable_tests pytest
39 +# I don't know what's going on, so I took the easy route. 😝
40 +EPYTEST_DESELECT=( test_isort.py::TestIsortItem::test_init )
41 +
42 +RDEPEND="
43 + >=dev-python/pytest-3.5[${PYTHON_USEDEP}]
44 + >=dev-python/isort-4.0[${PYTHON_USEDEP}]
45 +"