diff options
-rw-r--r-- | dev-python/transitions/Manifest | 1 | ||||
-rw-r--r-- | dev-python/transitions/transitions-0.9.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/transitions/Manifest b/dev-python/transitions/Manifest index 8af07eb305b9..45b28a0c6dae 100644 --- a/dev-python/transitions/Manifest +++ b/dev-python/transitions/Manifest @@ -1 +1,2 @@ DIST transitions-0.8.11.tar.gz 1103585 BLAKE2B e91800baa5101e2654b4e88fecec8bc795329a0e43890e32f42f7777136379d9852702f7cef14da3f3c26b50ce7bf9dcf2f6d2980d4af82149d2d16ea343d826 SHA512 96c91c988db990326f50b06c7538fb806c2a5d19f950f23cd0304b40517657c888df6c09445917d5e7224c1aa1b1d8d719bd10b0e210001f15eec947681c3847 +DIST transitions-0.9.0.tar.gz 1116052 BLAKE2B 3c3f0f70029fac11b89741c17b4f8223ffff7b1f4120dbacf9047c7c9d8063df00449e7ceb378aeb6263d4f55245bb89f08f6eaa0a74948368bd0eb0227fea40 SHA512 805894ba772e4a31f1fd567d3765f8ee3f3498ca5b9dd4d5b94224722d48347a2feee284dab577eca97a748dc6f810dedf1cbc3b50f41f0ab5b65d84241b9638 diff --git a/dev-python/transitions/transitions-0.9.0.ebuild b/dev-python/transitions/transitions-0.9.0.ebuild new file mode 100644 index 000000000000..fa5ae762680b --- /dev/null +++ b/dev-python/transitions/transitions-0.9.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +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}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=" + || ( + dev-python/pygraphviz[${PYTHON_USEDEP}] + dev-python/graphviz[${PYTHON_USEDEP}] + ) + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/dill[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pycodestyle[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + use examples && dodoc examples/*.ipynb +} |