diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-06-04 11:48:33 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-06-04 11:48:33 +0000 |
commit | ec50aaf2c3e1a645182afac1e2219f7aec652514 (patch) | |
tree | 79c328b38fe6bc0d3a2fd5c1c096414aa6a42dea /dev-python | |
parent | Marked stable on AMD64 based on a report by Elijah "Armageddon" El Lazkani in... (diff) | |
download | gentoo-2-ec50aaf2c3e1a645182afac1e2219f7aec652514.tar.gz gentoo-2-ec50aaf2c3e1a645182afac1e2219f7aec652514.tar.bz2 gentoo-2-ec50aaf2c3e1a645182afac1e2219f7aec652514.zip |
dev-python/simpy: Bump to new python eclasses
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/simpy/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/simpy/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/simpy/simpy-2.3.1-r1.ebuild | 43 |
3 files changed, 55 insertions, 6 deletions
diff --git a/dev-python/simpy/ChangeLog b/dev-python/simpy/ChangeLog index fba658df35d0..df4240a1076e 100644 --- a/dev-python/simpy/ChangeLog +++ b/dev-python/simpy/ChangeLog @@ -1,6 +1,12 @@ # 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.7 2012/08/26 09:09:27 jlec Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/simpy/ChangeLog,v 1.8 2013/06/04 11:48:33 jlec Exp $ + +*simpy-2.3.1-r1 (04 Jun 2013) + + 04 Jun 2013; Justin Lecher <jlec@gentoo.org> +simpy-2.3.1-r1.ebuild, + metadata.xml: + Bump to new python eclasses *simpy-2.3.1 (26 Aug 2012) diff --git a/dev-python/simpy/metadata.xml b/dev-python/simpy/metadata.xml index 210ad0db014c..5ef07a39e7e1 100644 --- a/dev-python/simpy/metadata.xml +++ b/dev-python/simpy/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> - <maintainer> - <email>jlec@gentoo.org</email> - </maintainer> + <herd>sci</herd> + <maintainer> + <email>jlec@gentoo.org</email> + </maintainer> </pkgmetadata> diff --git a/dev-python/simpy/simpy-2.3.1-r1.ebuild b/dev-python/simpy/simpy-2.3.1-r1.ebuild new file mode 100644 index 000000000000..38cb60021edc --- /dev/null +++ b/dev-python/simpy/simpy-2.3.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 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-r1.ebuild,v 1.1 2013/06/04 11:48:33 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_REQ_USE="tk" + +inherit distutils-r1 + +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" +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" + +python_test() { + ${PYTHON} -c "import SimPy; SimPy.test()" || 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/html/. docs/build/doctrees/. ) + popd > /dev/null || die + fi + + distutils-r1_python_install_all +} |