mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-python/python-statemachine: add 2.4.0
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST python-statemachine-2.3.5.gh.tar.gz 350690 BLAKE2B 8a16722b62d07df47d15b32374575ba3beb3a575ad55507cee7b1b8e58c6a35635c8571a25b5cae1d56167736f38101fdf099b725f19ae6adde8ef5641c372ac SHA512 1a9dbd3e835ecfaa46f0aff8d487836962f4ba1856a64ab3f02976871a91713193cda16faa817ae1cfd4a94e42cad22f6d896d3b57b63128d85ea0bba8e5f44c
|
||||
DIST python-statemachine-2.3.6.gh.tar.gz 351057 BLAKE2B 03d605b0389dd9fac3e2d8a979295ab7724a79b2b1e677cbd114d8eddaa9a987f361aebbea29eb670930fd7978cb1d9f59ef2a40ec98f9c515d080fcc902f25c SHA512 cc8400a118da6d54b97108ff8b11462aee32dc28ada97fbf2a68049de2659c5a7faaa24802fab376b72586c1052db13b67b570a5d62eb9c28252572d14634215
|
||||
DIST python-statemachine-2.4.0.gh.tar.gz 362766 BLAKE2B 79a34b43841cf920ae1eb87821c19d31f4dc1eb59903ad1cce6166586b44ed7437278ae647ffac190bd1dc795d251b81022b51aef644607d5f2f7b92f1c89e9e SHA512 fc51668efee69a2a59c5f3a5bbb08e6a6647a819175bbd02305e6eac51d0f8ef31c4e89f85dcb7451c24681ee76f0534e676995e134c0cbbed4d680c5418c612
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
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/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-django[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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=""'
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user