1 |
commit: bc6ccad3aa985c47a13cd975cc9db8746dc00848 |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Fri Jul 26 21:15:46 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 2 18:14:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc6ccad3 |
7 |
|
8 |
dev-python/transitions: New package |
9 |
|
10 |
This is a new dependency for the >=net-im/yowsup-3 version bump. |
11 |
|
12 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
13 |
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com> |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
dev-python/transitions/Manifest | 1 + |
17 |
dev-python/transitions/metadata.xml | 22 ++++++++++++ |
18 |
dev-python/transitions/transitions-0.6.9.ebuild | 46 +++++++++++++++++++++++++ |
19 |
3 files changed, 69 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest |
22 |
new file mode 100644 |
23 |
index 00000000000..8d1cbfa876d |
24 |
--- /dev/null |
25 |
+++ b/dev-python/transitions/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST transitions-0.6.9.tar.gz 1354465 BLAKE2B bb536c1209c08717b29d5d60e4b31253b1f5bc759b7693a3ef82d4894cd55bc8a2dd3417e03ba5232d35de060c73cef664994c44c8f14be9ed0743170e7c1c09 SHA512 8104d98795c4212e40ba8274332e2e87336421e61a4398c58907a675708cddc7d3b77bbcada1e2cc16fd9dd518c94f07c2079cf0507b8647a435435151f5eb51 |
28 |
|
29 |
diff --git a/dev-python/transitions/metadata.xml b/dev-python/transitions/metadata.xml |
30 |
new file mode 100644 |
31 |
index 00000000000..a48ef5d38ad |
32 |
--- /dev/null |
33 |
+++ b/dev-python/transitions/metadata.xml |
34 |
@@ -0,0 +1,22 @@ |
35 |
+<?xml version="1.0" encoding="UTF-8"?> |
36 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
37 |
+<pkgmetadata> |
38 |
+ <maintainer type="person"> |
39 |
+ <email>ck+gentoo@××××××××.de</email> |
40 |
+ <name>Conrad Kostecki</name> |
41 |
+ </maintainer> |
42 |
+ <maintainer type="project"> |
43 |
+ <email>proxy-maint@g.o</email> |
44 |
+ <name>Proxy Maintainers</name> |
45 |
+ </maintainer> |
46 |
+ <longdescription> |
47 |
+ A lightweight, object-oriented state machine implementation in Python. |
48 |
+ A state machine is a mathematical model of computation. |
49 |
+ It is an abstract machine that can be in exactly one of a |
50 |
+ finite number of states at any given time. |
51 |
+ </longdescription> |
52 |
+ <upstream> |
53 |
+ <bugs-to>https://github.com/pytransitions/transitions/issues</bugs-to> |
54 |
+ <remote-id type="github">pytransitions/transitions</remote-id> |
55 |
+ </upstream> |
56 |
+</pkgmetadata> |
57 |
|
58 |
diff --git a/dev-python/transitions/transitions-0.6.9.ebuild b/dev-python/transitions/transitions-0.6.9.ebuild |
59 |
new file mode 100644 |
60 |
index 00000000000..65a89daacac |
61 |
--- /dev/null |
62 |
+++ b/dev-python/transitions/transitions-0.6.9.ebuild |
63 |
@@ -0,0 +1,46 @@ |
64 |
+# Copyright 1999-2019 Gentoo Authors |
65 |
+# Distributed under the terms of the GNU General Public License v2 |
66 |
+ |
67 |
+EAPI=7 |
68 |
+ |
69 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
70 |
+ |
71 |
+inherit distutils-r1 |
72 |
+ |
73 |
+DESCRIPTION="A lightweight, object-oriented state machine implementation in Python" |
74 |
+HOMEPAGE="https://github.com/pytransitions/transitions" |
75 |
+SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
76 |
+ |
77 |
+LICENSE="MIT" |
78 |
+SLOT="0" |
79 |
+KEYWORDS="~amd64 ~x86" |
80 |
+IUSE="examples test" |
81 |
+ |
82 |
+RESTRICT="!test? ( test )" |
83 |
+ |
84 |
+RDEPEND=" |
85 |
+ dev-python/pygraphviz[${PYTHON_USEDEP}] |
86 |
+ dev-python/six[${PYTHON_USEDEP}] |
87 |
+" |
88 |
+ |
89 |
+DEPEND=" |
90 |
+ ${RDEPEND} |
91 |
+ test? ( |
92 |
+ dev-python/pycodestyle[${PYTHON_USEDEP}] |
93 |
+ dev-python/dill[${PYTHON_USEDEP}] |
94 |
+ dev-python/mock[${PYTHON_USEDEP}] |
95 |
+ dev-python/nose[${PYTHON_USEDEP}] |
96 |
+ ) |
97 |
+" |
98 |
+ |
99 |
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
100 |
+ |
101 |
+python_test() { |
102 |
+ esetup.py test |
103 |
+} |
104 |
+ |
105 |
+src_install() { |
106 |
+ distutils-r1_src_install |
107 |
+ |
108 |
+ use examples && dodoc examples/*.ipynb |
109 |
+} |