summaryrefslogtreecommitdiff
path: root/dev-python/python-statemachine
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-24 23:53:19 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-02-24 23:53:19 +0000
commit5da2cce6ffc6741eb06bca0e67c7fe2fe7675462 (patch)
tree9771a07228d4b82e0a28168f73b2b854becf11ba /dev-python/python-statemachine
parent77af7503e1a9ced7d9d7559a2104e3c153599145 (diff)
downloadbaldeagleos-repo-5da2cce6ffc6741eb06bca0e67c7fe2fe7675462.tar.gz
baldeagleos-repo-5da2cce6ffc6741eb06bca0e67c7fe2fe7675462.tar.xz
baldeagleos-repo-5da2cce6ffc6741eb06bca0e67c7fe2fe7675462.zip
Adding metadata
Diffstat (limited to 'dev-python/python-statemachine')
-rw-r--r--dev-python/python-statemachine/Manifest1
-rw-r--r--dev-python/python-statemachine/python-statemachine-2.6.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/python-statemachine/Manifest b/dev-python/python-statemachine/Manifest
index c0c9f052ca95..87dd8b7af0b6 100644
--- a/dev-python/python-statemachine/Manifest
+++ b/dev-python/python-statemachine/Manifest
@@ -1 +1,2 @@
DIST python-statemachine-2.5.0.gh.tar.gz 405778 BLAKE2B 5c85d7c75de1fe77694acc50a31b9f389a1b0b7ec572939a9662ef2b538b506d8acc30ee3d8168d21ca229c1ce7bfd14b4c54946dfa5d7577cb67ec1a3867352 SHA512 79331758fe305525fd7f97e3e1a9eecc22f79e96047080a31ad8df8d033b506d39c79fa5fe9e20cc2cb63db271517842ffcdab3f1fdb9785d135d3f65dffce6d
+DIST python-statemachine-2.6.0.gh.tar.gz 550777 BLAKE2B 005824e16ddccfb8c62d6b070eb7ff9c5e850ab09bf32a6343adc1a0b1acd9ef17e398df0dbabe4c51ff0ebfb2b6aad9aa1af1decd24e3e4fdf078131c7512d2 SHA512 93063d956594b4d3171860f20281840408f4d8f2fa19f100806192004224ab65d5944efb36084e956dcdd72d3b361d5be31d7de92ad22378c2ae4b3195e5753c
diff --git a/dev-python/python-statemachine/python-statemachine-2.6.0.ebuild b/dev-python/python-statemachine/python-statemachine-2.6.0.ebuild
new file mode 100644
index 000000000000..d212d98bbe29
--- /dev/null
+++ b/dev-python/python-statemachine/python-statemachine-2.6.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python Finite State Machines made easy."
+HOMEPAGE="
+ https://pypi.org/project/python-statemachine/
+ https://github.com/fgmacedo/python-statemachine
+"
+SRC_URI="https://github.com/fgmacedo/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="dev-python/pydot[${PYTHON_USEDEP}]"
+
+BDEPEND="
+ ${RDEPEND}
+ test? (
+ dev-python/django[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( pytest-asyncio pytest-mock pytest-django)
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ tests/test_mixins.py::test_mixin_should_instantiate_a_machine
+)
+
+EPYTEST_IGNORE=(
+ tests/test_profiling.py
+ tests/django_project/workflow/tests.py
+)
+
+python_test() {
+ epytest -o 'addopts=""'
+
+}