diff options
Diffstat (limited to 'dev-python/python-statemachine')
5 files changed, 151 insertions, 0 deletions
diff --git a/dev-python/python-statemachine/Manifest b/dev-python/python-statemachine/Manifest new file mode 100644 index 000000000000..0465b3b04784 --- /dev/null +++ b/dev-python/python-statemachine/Manifest @@ -0,0 +1,3 @@ +DIST python-statemachine-2.6.0.gh.tar.gz 550777 BLAKE2B 005824e16ddccfb8c62d6b070eb7ff9c5e850ab09bf32a6343adc1a0b1acd9ef17e398df0dbabe4c51ff0ebfb2b6aad9aa1af1decd24e3e4fdf078131c7512d2 SHA512 93063d956594b4d3171860f20281840408f4d8f2fa19f100806192004224ab65d5944efb36084e956dcdd72d3b361d5be31d7de92ad22378c2ae4b3195e5753c +DIST python-statemachine-3.0.0.gh.tar.gz 840388 BLAKE2B 9a358f6b39ad4be6cede1ac7b870dea5c73eb27f182952ccef703e7d78ab2368ed4c2c61226df7ce73d56244eaea92eb0b33ce61f536adaa5e31203089515faf SHA512 428a7cb2cf1c507ef56ea6b83a9d57c8d393ce81bbc7ffa251e8ec4ba4d01daff598df62b8cc2dd1c52d197bd25bc9964db10c57b68d8c9a69e95311dba635cc +DIST python-statemachine-3.1.2.gh.tar.gz 718225 BLAKE2B b7317440f6274265bb5561a90c7748d59fe4a16401f4b940cbd23bf59cfbe916c504d7a13c50d61d219c864b1175c9c4a2a82ca1022eb811d5b51920f1c638a0 SHA512 d0dbc291361ff9c37b1adac6d3af5333958c945b04d10df9498baa1de8bc5c89b588d86c9006bad16b2b1c966423e397eeaf5ef7f711e4d7d6d2961d31812f15 diff --git a/dev-python/python-statemachine/metadata.xml b/dev-python/python-statemachine/metadata.xml new file mode 100644 index 000000000000..6e8632a248e2 --- /dev/null +++ b/dev-python/python-statemachine/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>stkw0@disroot.org</email> + <name>David Roman</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> 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..c0eb2769c27b --- /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_{13..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=""' + +} diff --git a/dev-python/python-statemachine/python-statemachine-3.0.0.ebuild b/dev-python/python-statemachine/python-statemachine-3.0.0.ebuild new file mode 100644 index 000000000000..c0eb2769c27b --- /dev/null +++ b/dev-python/python-statemachine/python-statemachine-3.0.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_{13..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=""' + +} diff --git a/dev-python/python-statemachine/python-statemachine-3.1.2.ebuild b/dev-python/python-statemachine/python-statemachine-3.1.2.ebuild new file mode 100644 index 000000000000..9b9b3fefdea3 --- /dev/null +++ b/dev-python/python-statemachine/python-statemachine-3.1.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..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}] + dev-python/sphinxcontrib-mermaid[${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=""' + +} |
