gentoo/dev-python/simpy/simpy-4.1.1.ebuild
Matoro Mahri eefc513fac
dev-python/simpy: Stabilize 4.1.1 amd64, #918822
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-06-06 10:03:07 -04:00

41 lines
1.0 KiB
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="tk"
inherit distutils-r1 pypi
DESCRIPTION="Object-oriented, process-based discrete-event simulation language"
HOMEPAGE="
https://simpy.readthedocs.io/
https://gitlab.com/team-simpy/simpy/
https://pypi.org/project/simpy/
"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/py[${PYTHON_USEDEP}]
)
"
# Could not import extension sphinx.builders.epub3 (exception: cannot import
# name 'StandaloneHTMLBuilder' from partially initialized module
# 'sphinx.builders.html' (most likely due to a circular import)
# (/usr/lib/python3.10/site-packages/sphinx/builders/html/__init__.py))
#distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
distutils_enable_tests pytest
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}