commit:     bc6ccad3aa985c47a13cd975cc9db8746dc00848
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Fri Jul 26 21:15:46 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Aug  2 18:14:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc6ccad3

dev-python/transitions: New package

This is a new dependency for the >=net-im/yowsup-3 version bump.

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-python/transitions/Manifest                 |  1 +
 dev-python/transitions/metadata.xml             | 22 ++++++++++++
 dev-python/transitions/transitions-0.6.9.ebuild | 46 +++++++++++++++++++++++++
 3 files changed, 69 insertions(+)

diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest
new file mode 100644
index 00000000000..8d1cbfa876d
--- /dev/null
+++ b/dev-python/transitions/Manifest
@@ -0,0 +1 @@
+DIST transitions-0.6.9.tar.gz 1354465 BLAKE2B 
bb536c1209c08717b29d5d60e4b31253b1f5bc759b7693a3ef82d4894cd55bc8a2dd3417e03ba5232d35de060c73cef664994c44c8f14be9ed0743170e7c1c09
 SHA512 
8104d98795c4212e40ba8274332e2e87336421e61a4398c58907a675708cddc7d3b77bbcada1e2cc16fd9dd518c94f07c2079cf0507b8647a435435151f5eb51

diff --git a/dev-python/transitions/metadata.xml 
b/dev-python/transitions/metadata.xml
new file mode 100644
index 00000000000..a48ef5d38ad
--- /dev/null
+++ b/dev-python/transitions/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Conrad Kostecki</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription>
+               A lightweight, object-oriented state machine implementation in 
Python.
+               A state machine is a mathematical model of computation.
+               It is an abstract machine that can be in exactly one of a
+               finite number of states at any given time.
+       </longdescription>
+       <upstream>
+               
<bugs-to>https://github.com/pytransitions/transitions/issues</bugs-to>
+               <remote-id type="github">pytransitions/transitions</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/transitions/transitions-0.6.9.ebuild 
b/dev-python/transitions/transitions-0.6.9.ebuild
new file mode 100644
index 00000000000..65a89daacac
--- /dev/null
+++ b/dev-python/transitions/transitions-0.6.9.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="A lightweight, object-oriented state machine implementation in 
Python"
+HOMEPAGE="https://github.com/pytransitions/transitions";
+SRC_URI="https://github.com/pytransitions/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-python/pygraphviz[${PYTHON_USEDEP}]
+       dev-python/six[${PYTHON_USEDEP}]
+"
+
+DEPEND="
+       ${RDEPEND}
+       test? (
+               dev-python/pycodestyle[${PYTHON_USEDEP}]
+               dev-python/dill[${PYTHON_USEDEP}]
+               dev-python/mock[${PYTHON_USEDEP}]
+               dev-python/nose[${PYTHON_USEDEP}]
+       )
+"
+
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+       esetup.py test
+}
+
+src_install() {
+       distutils-r1_src_install
+
+       use examples && dodoc examples/*.ipynb
+}

Reply via email to