Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/transitions/
Date: Mon, 24 Aug 2020 22:33:57
Message-Id: 1598308366.8a6fdffaf710a7c0e4883d3b93ef099472c898ec.conikost@gentoo
1 commit: 8a6fdffaf710a7c0e4883d3b93ef099472c898ec
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 24 20:39:21 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 24 22:32:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a6fdffa
7
8 dev-python/transitions: add python3.9 support
9
10 Also adjusted test deps.
11
12 Package-Manager: Portage-3.0.4, Repoman-3.0.1
13 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
14
15 dev-python/transitions/transitions-0.8.2-r1.ebuild | 43 ++++++++++++++++++++++
16 1 file changed, 43 insertions(+)
17
18 diff --git a/dev-python/transitions/transitions-0.8.2-r1.ebuild b/dev-python/transitions/transitions-0.8.2-r1.ebuild
19 new file mode 100644
20 index 00000000000..f97d135b41f
21 --- /dev/null
22 +++ b/dev-python/transitions/transitions-0.8.2-r1.ebuild
23 @@ -0,0 +1,43 @@
24 +# Copyright 1999-2020 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +
29 +DISTUTILS_USE_SETUPTOOLS="bdepend"
30 +PYTHON_COMPAT=( python3_{6..9} )
31 +
32 +inherit distutils-r1
33 +
34 +DESCRIPTION="A lightweight, object-oriented state machine implementation in Python"
35 +HOMEPAGE="https://github.com/pytransitions/transitions"
36 +SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
37 +
38 +LICENSE="MIT"
39 +SLOT="0"
40 +KEYWORDS="amd64 x86"
41 +IUSE="examples test"
42 +
43 +RESTRICT="!test? ( test )"
44 +
45 +RDEPEND="
46 + dev-python/graphviz[${PYTHON_USEDEP}]
47 + dev-python/six[${PYTHON_USEDEP}]
48 +"
49 +
50 +DEPEND="
51 + ${RDEPEND}
52 + test? (
53 + dev-python/dill[${PYTHON_USEDEP}]
54 + dev-python/mock[${PYTHON_USEDEP}]
55 + dev-python/nose[${PYTHON_USEDEP}]
56 + dev-python/pycodestyle[${PYTHON_USEDEP}]
57 + )
58 +"
59 +
60 +distutils_enable_tests pytest
61 +
62 +src_install() {
63 + distutils-r1_src_install
64 +
65 + use examples && dodoc examples/*.ipynb
66 +}