summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-05-03 13:06:40 +0000
committerJustin Lecher <jlec@gentoo.org>2013-05-03 13:06:40 +0000
commitb1b0759bb386fe9c942b9f58b15143dcbca2d3c8 (patch)
tree445137422e52b4b766aa1dab6f07c36e0a10d49d /dev-python/pympler
parentrespect CFLAGS fix, wrt bug #448536 (diff)
downloadgentoo-2-b1b0759bb386fe9c942b9f58b15143dcbca2d3c8.tar.gz
gentoo-2-b1b0759bb386fe9c942b9f58b15143dcbca2d3c8.tar.bz2
gentoo-2-b1b0759bb386fe9c942b9f58b15143dcbca2d3c8.zip
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)
Diffstat (limited to 'dev-python/pympler')
-rw-r--r--dev-python/pympler/ChangeLog8
-rw-r--r--dev-python/pympler/metadata.xml10
-rw-r--r--dev-python/pympler/pympler-0.3.1.ebuild39
3 files changed, 51 insertions, 6 deletions
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 <jlec@gentoo.org> +pympler-0.3.1.ebuild,
+ metadata.xml:
+ Version BUmp, #468358; drop pypy as support ist broken
02 Feb 2013; Agostino Sarubbo <ago@gentoo.org> 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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
- <maintainer>
- <email>jlec@gentoo.org</email>
- </maintainer>
- <longdescription>
+ <herd>python</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+ <longdescription>
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
+}