From owner-svn-ports-all@FreeBSD.ORG Wed Jul 2 20:38:34 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 37AA8A08; Wed, 2 Jul 2014 20:38:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 244C52EFE; Wed, 2 Jul 2014 20:38:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s62KcYMu076534; Wed, 2 Jul 2014 20:38:34 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s62KcXBn076524; Wed, 2 Jul 2014 20:38:33 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201407022038.s62KcXBn076524@svn.freebsd.org> From: William Grzybowski Date: Wed, 2 Jul 2014 20:38:33 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 20:38:34 -0000 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 +# $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 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