mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
dev-python/python-statemachine: add 3.1.2
Signed-off-by: David Roman <stkw0@disroot.org>
This commit is contained in:
@@ -1,2 +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
|
||||
|
||||
@@ -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_{12..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=""'
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user