1 |
commit: 5e6d72db15c6b701eaa765fff3d8244c3b359f72 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 2 13:24:40 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 2 13:43:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e6d72db |
7 |
|
8 |
dev-python/transitions: add 0.9.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/transitions/Manifest | 1 + |
13 |
dev-python/transitions/transitions-0.9.0.ebuild | 43 +++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest |
17 |
index 8af07eb305b9..45b28a0c6dae 100644 |
18 |
--- a/dev-python/transitions/Manifest |
19 |
+++ b/dev-python/transitions/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST transitions-0.8.11.tar.gz 1103585 BLAKE2B e91800baa5101e2654b4e88fecec8bc795329a0e43890e32f42f7777136379d9852702f7cef14da3f3c26b50ce7bf9dcf2f6d2980d4af82149d2d16ea343d826 SHA512 96c91c988db990326f50b06c7538fb806c2a5d19f950f23cd0304b40517657c888df6c09445917d5e7224c1aa1b1d8d719bd10b0e210001f15eec947681c3847 |
22 |
+DIST transitions-0.9.0.tar.gz 1116052 BLAKE2B 3c3f0f70029fac11b89741c17b4f8223ffff7b1f4120dbacf9047c7c9d8063df00449e7ceb378aeb6263d4f55245bb89f08f6eaa0a74948368bd0eb0227fea40 SHA512 805894ba772e4a31f1fd567d3765f8ee3f3498ca5b9dd4d5b94224722d48347a2feee284dab577eca97a748dc6f810dedf1cbc3b50f41f0ab5b65d84241b9638 |
23 |
|
24 |
diff --git a/dev-python/transitions/transitions-0.9.0.ebuild b/dev-python/transitions/transitions-0.9.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..fa5ae762680b |
27 |
--- /dev/null |
28 |
+++ b/dev-python/transitions/transitions-0.9.0.ebuild |
29 |
@@ -0,0 +1,43 @@ |
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 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="A lightweight, object-oriented state machine implementation in Python" |
41 |
+HOMEPAGE="https://github.com/pytransitions/transitions" |
42 |
+SRC_URI=" |
43 |
+ https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz |
44 |
+ -> ${P}.gh.tar.gz |
45 |
+" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="examples" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ || ( |
54 |
+ dev-python/pygraphviz[${PYTHON_USEDEP}] |
55 |
+ dev-python/graphviz[${PYTHON_USEDEP}] |
56 |
+ ) |
57 |
+ dev-python/six[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ test? ( |
61 |
+ dev-python/dill[${PYTHON_USEDEP}] |
62 |
+ dev-python/mock[${PYTHON_USEDEP}] |
63 |
+ dev-python/pycodestyle[${PYTHON_USEDEP}] |
64 |
+ ) |
65 |
+" |
66 |
+ |
67 |
+distutils_enable_tests pytest |
68 |
+ |
69 |
+src_install() { |
70 |
+ distutils-r1_src_install |
71 |
+ use examples && dodoc examples/*.ipynb |
72 |
+} |