From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/simpy/simpy-3.0.8.ebuild | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 dev-python/simpy/simpy-3.0.8.ebuild (limited to 'dev-python/simpy/simpy-3.0.8.ebuild') diff --git a/dev-python/simpy/simpy-3.0.8.ebuild b/dev-python/simpy/simpy-3.0.8.ebuild new file mode 100644 index 000000000000..089f4eabe048 --- /dev/null +++ b/dev-python/simpy/simpy-3.0.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="tk" + +inherit distutils-r1 + +MY_P="${P/simpy/SimPy}" + +DESCRIPTION="Object-oriented, process-based discrete-event simulation language" +HOMEPAGE="http://simpy.readthedocs.org/en/latest/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="doc test" +RESTRICT="!test? ( test )" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + py.test -vv || die +} + +python_install_all() { + DOCS=( AUTHORS.txt CHANGES.txt README.txt ) + if use doc; then + pushd docs > /dev/null || die + PYTHONPATH=.. emake html && HTML_DOCS=( docs/_build/html/. docs/_build/doctrees/. ) + popd > /dev/null || die + fi + + distutils-r1_python_install_all +} -- cgit v1.3