Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2013 10:17:54 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r326959 - in head/devel: . py-memoryprofiler
Message-ID:  <201309111017.r8BAHsAV010225@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Wed Sep 11 10:17:53 2013
New Revision: 326959
URL: http://svnweb.freebsd.org/changeset/ports/326959

Log:
  devel/py-memoryprofiler: [NEW PORT] Line-by-line and process memory usage analysis
  
  memory_profiler is a python module for monitoring memory consumption of a
  process as well as line-by-line analysis of memory consumption for python
  programs. It is a pure python module and has the psutil module as optional
  (but highly recommended) dependencies.
  
  WWW: https://github.com/fabianp/memory_profiler
  
  PR:		ports/181831
  Submitted by:	Johannes Jost Meixner <xmj@chaot.net>

Added:
  head/devel/py-memoryprofiler/
  head/devel/py-memoryprofiler/Makefile   (contents, props changed)
  head/devel/py-memoryprofiler/distinfo   (contents, props changed)
  head/devel/py-memoryprofiler/pkg-descr   (contents, props changed)
  head/devel/py-memoryprofiler/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed Sep 11 09:54:08 2013	(r326958)
+++ head/devel/Makefile	Wed Sep 11 10:17:53 2013	(r326959)
@@ -3610,6 +3610,7 @@
     SUBDIR += py-manuel
     SUBDIR += py-mccabe
     SUBDIR += py-meliae
+    SUBDIR += py-memoryprofiler
     SUBDIR += py-mercurialserver
     SUBDIR += py-mez_xml
     SUBDIR += py-mimeparse

Added: head/devel/py-memoryprofiler/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-memoryprofiler/Makefile	Wed Sep 11 10:17:53 2013	(r326959)
@@ -0,0 +1,29 @@
+# Created by: Johannes Meixner <xmj@chaot.net>
+# $FreeBSD$
+
+PORTNAME=	memoryprofiler
+PORTVERSION=	0.27
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	memory_profiler-${PORTVERSION}
+
+MAINTAINER=	xmj@chaot.net
+COMMENT=	Line-by-line and process memory consumption analysis
+
+LICENSE=	BSD
+
+OPTIONS_DEFINE=	PSUTIL
+PSUTIL_DESC=	Use psutil for better performance
+OPTIONSFILE?=	${PORT_DBDIR}/py-${PORTNAME}/options
+
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MPSUTIL}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}-psutil>0:${PORTSDIR}/sysutils/py-psutil
+.endif
+
+USE_PYTHON=		2.6+
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_PKGNAME=	memory_profiler
+
+.include <bsd.port.mk>

Added: head/devel/py-memoryprofiler/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-memoryprofiler/distinfo	Wed Sep 11 10:17:53 2013	(r326959)
@@ -0,0 +1,2 @@
+SHA256 (memory_profiler-0.27.tar.gz) = 9473c29a15456435999bfdd3a14f2d3596c997172d5b34acb6e17fe84fc9585f
+SIZE (memory_profiler-0.27.tar.gz) = 12697

Added: head/devel/py-memoryprofiler/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-memoryprofiler/pkg-descr	Wed Sep 11 10:17:53 2013	(r326959)
@@ -0,0 +1,7 @@
+memory_profiler is a python module for monitoring memory consumption of a
+process as well as line-by-line analysis of memory consumption for python 
+programs. It is a pure python module and has the psutil module as optional
+(but highly recommended) dependencies.
+
+
+WWW: https://github.com/fabianp/memory_profiler

Added: head/devel/py-memoryprofiler/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-memoryprofiler/pkg-plist	Wed Sep 11 10:17:53 2013	(r326959)
@@ -0,0 +1,4 @@
+bin/mprofile
+%%PYTHON_SITELIBDIR%%/memory_profiler.py
+%%PYTHON_SITELIBDIR%%/memory_profiler.pyo
+%%PYTHON_SITELIBDIR%%/memory_profiler.pyc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309111017.r8BAHsAV010225>