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/transitions/
Date: Thu, 24 Feb 2022 18:02:57
Message-Id: 1645725500.4aef16cca4eb449326903f00664e733166a2bd29.arthurzam@gentoo
1 commit: 4aef16cca4eb449326903f00664e733166a2bd29
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 24 17:40:53 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 24 17:58:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aef16cc
7
8 dev-python/transitions: add 0.8.11
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/transitions/Manifest | 1 +
13 dev-python/transitions/transitions-0.8.11.ebuild | 40 ++++++++++++++++++++++++
14 2 files changed, 41 insertions(+)
15
16 diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest
17 index d1aef386cd07..4755ad2e3a7a 100644
18 --- a/dev-python/transitions/Manifest
19 +++ b/dev-python/transitions/Manifest
20 @@ -1 +1,2 @@
21 DIST transitions-0.8.10.tar.gz 1103547 BLAKE2B caeeb97406d1d2ba926f5ff14c4961acb7c2b9b979a1a20614e1017e4b20a664b069f384cfe878df95dffe832f00cfeb4c0ce96efe2156cc858e14eba5746137 SHA512 a598d65431a2d0241b5ea4c806631edf2e1f06537224e8716d531e86bcb10817d1cf32a62672147d1c1b398fd755a9ef046d884dcd0b4de6a9f8c1bfd04af62a
22 +DIST transitions-0.8.11.tar.gz 1103585 BLAKE2B e91800baa5101e2654b4e88fecec8bc795329a0e43890e32f42f7777136379d9852702f7cef14da3f3c26b50ce7bf9dcf2f6d2980d4af82149d2d16ea343d826 SHA512 96c91c988db990326f50b06c7538fb806c2a5d19f950f23cd0304b40517657c888df6c09445917d5e7224c1aa1b1d8d719bd10b0e210001f15eec947681c3847
23
24 diff --git a/dev-python/transitions/transitions-0.8.11.ebuild b/dev-python/transitions/transitions-0.8.11.ebuild
25 new file mode 100644
26 index 000000000000..17976958da7d
27 --- /dev/null
28 +++ b/dev-python/transitions/transitions-0.8.11.ebuild
29 @@ -0,0 +1,40 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A lightweight, object-oriented state machine implementation in Python"
40 +HOMEPAGE="https://github.com/pytransitions/transitions"
41 +SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="examples"
47 +
48 +RDEPEND="
49 + || (
50 + dev-python/pygraphviz[${PYTHON_USEDEP}]
51 + dev-python/graphviz[${PYTHON_USEDEP}]
52 + )
53 + dev-python/six[${PYTHON_USEDEP}]
54 +"
55 +
56 +BDEPEND="
57 + test? (
58 + dev-python/dill[${PYTHON_USEDEP}]
59 + dev-python/mock[${PYTHON_USEDEP}]
60 + dev-python/pycodestyle[${PYTHON_USEDEP}]
61 + )
62 +"
63 +
64 +distutils_enable_tests pytest
65 +
66 +src_install() {
67 + distutils-r1_src_install
68 + use examples && dodoc examples/*.ipynb
69 +}