Date: Wed, 2 Jul 2014 20:38:33 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360259 - in head/devel: . py-pympler py-pympler/files Message-ID: <201407022038.s62KcXBn076524@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wg Date: Wed Jul 2 20:38:32 2014 New Revision: 360259 URL: http://svnweb.freebsd.org/changeset/ports/360259 QAT: https://qat.redports.org/buildarchive/r360259/ Log: devel/pypympler 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 objects can be obtained. Undesirable or unexpected runtime behavior like memory bloat and other "pymples" can easily be identified. WWW: https://github.com/pympler/pympler Added: head/devel/py-pympler/ head/devel/py-pympler/Makefile (contents, props changed) head/devel/py-pympler/distinfo (contents, props changed) head/devel/py-pympler/files/ head/devel/py-pympler/files/patch-setup.py (contents, props changed) head/devel/py-pympler/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Jul 2 20:34:21 2014 (r360258) +++ head/devel/Makefile Wed Jul 2 20:38:32 2014 (r360259) @@ -3788,6 +3788,7 @@ SUBDIR += py-pyke SUBDIR += py-pylib SUBDIR += py-pymarc + SUBDIR += py-pympler SUBDIR += py-pyro SUBDIR += py-pyshapelib SUBDIR += py-pytemplate Added: head/devel/py-pympler/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pympler/Makefile Wed Jul 2 20:38:32 2014 (r360259) @@ -0,0 +1,22 @@ +# Created by: William Grzybowski <wg@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Pympler +PORTVERSION= 0.3.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wg@FreeBSD.org +COMMENT= Measure, monitor and analyze the memory behavior of Python objects + +LICENSE= APACHE20 + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes + +post-patch: + @${REINPLACE_CMD} -e 's,%%STAGEDIR%%,${STAGEDIR},g' ${WRKSRC}/setup.py + +.include <bsd.port.mk> Added: head/devel/py-pympler/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pympler/distinfo Wed Jul 2 20:38:32 2014 (r360259) @@ -0,0 +1,2 @@ +SHA256 (Pympler-0.3.1.tar.gz) = 8cb170fddfe592342856590e2239e8c20ac61eacf18bc4f65a95ccaf74475e3e +SIZE (Pympler-0.3.1.tar.gz) = 382158 Added: head/devel/py-pympler/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pympler/files/patch-setup.py Wed Jul 2 20:38:32 2014 (r360259) @@ -0,0 +1,22 @@ +--- setup.py.orig 2012-12-29 14:55:15.000000000 -0200 ++++ setup.py 2014-07-02 17:24:26.639875716 -0300 +@@ -21,8 +21,8 @@ + _not_supported('Pympler requires Python 2.4 or newer') + + import os +-from distutils.command.build_py import build_py +-from distutils.command.install_lib import install_lib ++from setuptools.command.build_py import build_py ++from setuptools.command.install_lib import install_lib + from distutils.core import Command + from distutils.core import setup + from distutils.dist import Distribution +@@ -53,7 +53,7 @@ + data_path = cobj.install_data + for line in fileinput.FileInput(module_file, inplace=True): + if line.startswith("DATA_PATH = "): +- line = "DATA_PATH = '%s'\n" % data_path ++ line = "DATA_PATH = '%s'\n" % data_path.replace('%%STAGEDIR%%', '') + sys.stdout.write(line) + build_py.build_module(self, module, module_file, package) + Added: head/devel/py-pympler/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pympler/pkg-descr Wed Jul 2 20:38:32 2014 (r360259) @@ -0,0 +1,8 @@ +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 objects can be obtained. Undesirable or unexpected runtime behavior +like memory bloat and other "pymples" can easily be identified. + +WWW: https://github.com/pympler/pympler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407022038.s62KcXBn076524>