diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /dev-python/transitions | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'dev-python/transitions')
-rw-r--r-- | dev-python/transitions/Manifest | 3 | ||||
-rw-r--r-- | dev-python/transitions/metadata.xml | 22 | ||||
-rw-r--r-- | dev-python/transitions/transitions-0.6.9.ebuild | 46 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest new file mode 100644 index 000000000000..c5dd4d6b2a35 --- /dev/null +++ b/dev-python/transitions/Manifest @@ -0,0 +1,3 @@ +DIST transitions-0.6.9.tar.gz 1354465 BLAKE2B bb536c1209c08717b29d5d60e4b31253b1f5bc759b7693a3ef82d4894cd55bc8a2dd3417e03ba5232d35de060c73cef664994c44c8f14be9ed0743170e7c1c09 SHA512 8104d98795c4212e40ba8274332e2e87336421e61a4398c58907a675708cddc7d3b77bbcada1e2cc16fd9dd518c94f07c2079cf0507b8647a435435151f5eb51 +EBUILD transitions-0.6.9.ebuild 948 BLAKE2B 093879773c9dac96b5ea38b9e5c3a49bd5379b342aaeef99d3b9332102ba0ef46c062e735d93a603a8c2f8aaee20d53676d95062051e62c3665116f56f33cc62 SHA512 cef0369f3646a65fbd3b35b118bbcc4d915ab4dd5ad059d736e8d2cbf251e6ec68c94297fe958d8b28ee6fd5acee376678d336343164826d823dfabccec7550d +MISC metadata.xml 807 BLAKE2B 041bfd7046f5826c097703482fa86e2a29f091ce29053b0fd7bffdb4b03ad8f9d339c4a88380cde7bd0e28ff583f07d0100317650e63ed378d3d3fec30b4a3cd SHA512 c9b8379de019e4bb3251e3862d5a4b9bbe2dad4646f5fe0d785b5f3b3983492d5d6ac028d7ee9dff6d1dfa74c08503c4e81092f8200c58f41eb0b46ba0d4cf69 diff --git a/dev-python/transitions/metadata.xml b/dev-python/transitions/metadata.xml new file mode 100644 index 000000000000..a48ef5d38ade --- /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>ck+gentoo@bl4ckb0x.de</email> + <name>Conrad Kostecki</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</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 000000000000..65a89daacacf --- /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 +} |