Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/transitions/
Date: Tue, 24 Sep 2019 05:01:18
Message-Id: 1569301237.deeb2de9bc90229667726e0b0af8e5950982833a.juippis@gentoo
1 commit: deeb2de9bc90229667726e0b0af8e5950982833a
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Mon Sep 23 20:52:05 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 24 05:00:37 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deeb2de9
7
8 dev-python/transitions: bump to version 0.7.1
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 dev-python/transitions/Manifest | 1 +
15 dev-python/transitions/transitions-0.7.1.ebuild | 47 +++++++++++++++++++++++++
16 2 files changed, 48 insertions(+)
17
18 diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest
19 index 8d1cbfa876d..0a84b5eebbf 100644
20 --- a/dev-python/transitions/Manifest
21 +++ b/dev-python/transitions/Manifest
22 @@ -1 +1,2 @@
23 DIST transitions-0.6.9.tar.gz 1354465 BLAKE2B bb536c1209c08717b29d5d60e4b31253b1f5bc759b7693a3ef82d4894cd55bc8a2dd3417e03ba5232d35de060c73cef664994c44c8f14be9ed0743170e7c1c09 SHA512 8104d98795c4212e40ba8274332e2e87336421e61a4398c58907a675708cddc7d3b77bbcada1e2cc16fd9dd518c94f07c2079cf0507b8647a435435151f5eb51
24 +DIST transitions-0.7.1.tar.gz 1283833 BLAKE2B 5f2f2813ba158cf5ccac4e2d55700149b986bdd24f9e864cec8d03390724cf79d9d379afa06b1a7b56c6a91376410252fdda169024f6ebbba2ed976fe7a18e7b SHA512 3fe5989faf9dbfdc15d50beaf2656240317f00278727271e5bd64ad465be1640b67e760fb73f4b06a61920343215815a8be03d41dc4d32086222446463ef71d7
25
26 diff --git a/dev-python/transitions/transitions-0.7.1.ebuild b/dev-python/transitions/transitions-0.7.1.ebuild
27 new file mode 100644
28 index 00000000000..711e91d6ab3
29 --- /dev/null
30 +++ b/dev-python/transitions/transitions-0.7.1.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A lightweight, object-oriented state machine implementation in Python"
42 +HOMEPAGE="https://github.com/pytransitions/transitions"
43 +SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="examples test"
49 +
50 +RESTRICT="!test? ( test )"
51 +
52 +RDEPEND="
53 + dev-python/pygraphviz[${PYTHON_USEDEP}]
54 + dev-python/six[${PYTHON_USEDEP}]
55 +"
56 +
57 +DEPEND="
58 + ${RDEPEND}
59 + test? (
60 + dev-python/dill[${PYTHON_USEDEP}]
61 + dev-python/mock[${PYTHON_USEDEP}]
62 + dev-python/nose[${PYTHON_USEDEP}]
63 + dev-python/pycodestyle[${PYTHON_USEDEP}]
64 + dev-python/pygraphviz[${PYTHON_USEDEP}]
65 + )
66 +"
67 +
68 +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
69 +
70 +python_test() {
71 + esetup.py test
72 +}
73 +
74 +src_install() {
75 + distutils-r1_src_install
76 +
77 + use examples && dodoc examples/*.ipynb
78 +}