diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-08-26 09:09:27 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-08-26 09:09:27 +0000 |
commit | 2e16d511949c3d11ba651cbae7b4a1ebe05c7f10 (patch) | |
tree | e2ccef9ebe0400277c5c6d00d58a54256f3076fc /dev-python/simpy | |
parent | dev-python/python-sqlparse: Version BUmp (diff) | |
download | gentoo-2-2e16d511949c3d11ba651cbae7b4a1ebe05c7f10.tar.gz gentoo-2-2e16d511949c3d11ba651cbae7b4a1ebe05c7f10.tar.bz2 gentoo-2-2e16d511949c3d11ba651cbae7b4a1ebe05c7f10.zip |
dev-python/simpy: Version BUmp
(Portage version: 2.2.0_alpha122/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/simpy')
-rw-r--r-- | dev-python/simpy/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/simpy/simpy-2.3.1.ebuild | 52 |
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-python/simpy/ChangeLog b/dev-python/simpy/ChangeLog index 02717c48fe9e..fba658df35d0 100644 --- a/dev-python/simpy/ChangeLog +++ b/dev-python/simpy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/simpy # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/ChangeLog,v 1.6 2012/03/21 17:55:26 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/ChangeLog,v 1.7 2012/08/26 09:09:27 jlec Exp $ + +*simpy-2.3.1 (26 Aug 2012) + + 26 Aug 2012; Justin Lecher <jlec@gentoo.org> +simpy-2.3.1.ebuild: + Version BUmp 21 Mar 2012; Justin Lecher <jlec@gentoo.org> simpy-2.3.ebuild: Remove version restriction from dev-python/sphinx DEP, #409021 diff --git a/dev-python/simpy/simpy-2.3.1.ebuild b/dev-python/simpy/simpy-2.3.1.ebuild new file mode 100644 index 000000000000..4d9695e824f5 --- /dev/null +++ b/dev-python/simpy/simpy-2.3.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/simpy-2.3.1.ebuild,v 1.1 2012/08/26 09:09:27 jlec Exp $ + +EAPI=4 + +PYTHON_DEPEND="2:2.6" +PYTHON_USE_WITH="tk" +SUPPORT_PYTHON_ABIS="1" +# https://sourceforge.net/tracker/?func=detail&aid=3470332&group_id=62366&atid=500345 +RESTRICT_PYTHON_ABIS="2.5 3.* 2.7-pypy-*" +PYTHON_MODNAME="SimPy" + +inherit distutils + +MY_P="${P/simpy/SimPy}" + +DESCRIPTION="Simulation in Python is an object-oriented, process-based discrete-event simulation language" +HOMEPAGE="http://simpy.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}/SimPy-2.3/${MY_P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="LGPL-2.1" +IUSE="test doc" + +RDEPEND="" +DEPEND=" + doc? ( dev-python/sphinx ) + test? ( dev-python/pytest )" +S="${WORKDIR}/${MY_P}" + +src_test() { + testing() { + PYTHONPATH="." $(PYTHON) -c "import SimPy; SimPy.test()" || die + } + python_execute_function testing +} + +src_install() { + distutils_src_install + dodoc AUTHORS.txt CHANGES.txt README.txt + +## fails with current sphinx +# PYTHONPATH=.. emake man +# doman build/man/* + + if use doc; then + cd docs + PYTHONPATH=.. emake html && dohtml -r html/* build/doctrees/* + fi +} |