From b1b0759bb386fe9c942b9f58b15143dcbca2d3c8 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Fri, 3 May 2013 13:06:40 +0000 Subject: dev-python/pympler: Version BUmp, #468358; drop pypy as support ist broken (Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916) --- dev-python/pympler/ChangeLog | 8 ++++++- dev-python/pympler/metadata.xml | 10 ++++----- dev-python/pympler/pympler-0.3.1.ebuild | 39 +++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 6 deletions(-) create mode 100644 dev-python/pympler/pympler-0.3.1.ebuild (limited to 'dev-python/pympler') diff --git a/dev-python/pympler/ChangeLog b/dev-python/pympler/ChangeLog index f335cfa6f6a6..cebc895b1144 100644 --- a/dev-python/pympler/ChangeLog +++ b/dev-python/pympler/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pympler # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pympler/ChangeLog,v 1.8 2013/02/02 22:29:56 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pympler/ChangeLog,v 1.9 2013/05/03 13:06:40 jlec Exp $ + +*pympler-0.3.1 (03 May 2013) + + 03 May 2013; Justin Lecher +pympler-0.3.1.ebuild, + metadata.xml: + Version BUmp, #468358; drop pypy as support ist broken 02 Feb 2013; Agostino Sarubbo pympler-0.2.0.ebuild: Add ~arm, wrt bug #449220 diff --git a/dev-python/pympler/metadata.xml b/dev-python/pympler/metadata.xml index 29586bc1dc24..d151dc393b70 100644 --- a/dev-python/pympler/metadata.xml +++ b/dev-python/pympler/metadata.xml @@ -1,11 +1,11 @@ - python - - jlec@gentoo.org - - + python + + jlec@gentoo.org + + Pympler is a development tool to measure, monitor and analyze the memory behavior of Python objects in a running Python application. By pympling a Python application, detailed insight in the size and the lifetime of Python diff --git a/dev-python/pympler/pympler-0.3.1.ebuild b/dev-python/pympler/pympler-0.3.1.ebuild new file mode 100644 index 000000000000..dfe5a0924c23 --- /dev/null +++ b/dev-python/pympler/pympler-0.3.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pympler/pympler-0.3.1.ebuild,v 1.1 2013/05/03 13:06:40 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} ) + +inherit distutils-r1 + +MY_PN="Pympler" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="memory profiling for Python applications" +HOMEPAGE="http://code.google.com/p/pympler/ https://pypi.python.org/pypi/Pympler https://github.com/pympler/pympler" +SRC_URI="mirror://pypi/P/${MY_PN}/${MY_P}.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="dev-python/bottle" +DEPEND="test? ( ${RDEPEND} )" + +S="${WORKDIR}"/${MY_P} + +python_prepare_all() { + use test && DISTUTILS_NO_PARALLEL_BUILD=true + rm pympler/util/bottle.py || die + sed \ + -e '/import bottle/s:^.*$:import bottle:g' \ + -i pympler/web.py || die + distutils-r1_python_prepare_all +} + +python_test() { + esetup.py try || die +} -- cgit v1.2.3-65-gdbad