Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/easyprocess/
Date: Wed, 01 Jun 2022 10:55:53
Message-Id: 1654080931.a3c57615535b38811021a314ed13956ff3825524.andrewammerlaan@gentoo
1 commit: a3c57615535b38811021a314ed13956ff3825524
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 1 10:36:25 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 1 10:55:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3c57615
7
8 dev-python/easyprocess: enable py3.11, pep517
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/easyprocess/easyprocess-1.1-r1.ebuild | 34 ++++++++++++++++++++++++
13 1 file changed, 34 insertions(+)
14
15 diff --git a/dev-python/easyprocess/easyprocess-1.1-r1.ebuild b/dev-python/easyprocess/easyprocess-1.1-r1.ebuild
16 new file mode 100644
17 index 000000000000..c3fa0cf4c6a2
18 --- /dev/null
19 +++ b/dev-python/easyprocess/easyprocess-1.1-r1.ebuild
20 @@ -0,0 +1,34 @@
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..11} )
27 +DISTUTILS_USE_PEP517=setuptools
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Easy to use Python subprocess interface"
31 +HOMEPAGE="https://github.com/ponty/EasyProcess"
32 +SRC_URI="https://github.com/ponty/EasyProcess/archive/${PV}.tar.gz -> ${P}.tar.gz"
33 +S="${WORKDIR}/EasyProcess-${PV}"
34 +
35 +LICENSE="BSD-2"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm64 ~x86"
38 +
39 +BDEPEND="
40 + test? (
41 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
42 + dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
43 + dev-python/six[${PYTHON_USEDEP}]
44 + x11-base/xorg-server[xvfb]
45 + )"
46 +
47 +distutils_enable_tests pytest
48 +
49 +EPYTEST_DESELECT=(
50 + # looks like a problem within imagemagick itself
51 + tests/test_fast/test_deadlock.py::test_has_imagemagick
52 + # TODO
53 + tests/test_fast/test_deadlock.py::test_deadlock_pipe
54 +)