1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

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>
This commit is contained in:
Kubilay Kocak 2013-09-11 10:17:53 +00:00
parent 1539e0886b
commit 91f726b9b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326959
5 changed files with 43 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (memory_profiler-0.27.tar.gz) = 9473c29a15456435999bfdd3a14f2d3596c997172d5b34acb6e17fe84fc9585f
SIZE (memory_profiler-0.27.tar.gz) = 12697

View File

@ -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

View File

@ -0,0 +1,4 @@
bin/mprofile
%%PYTHON_SITELIBDIR%%/memory_profiler.py
%%PYTHON_SITELIBDIR%%/memory_profiler.pyo
%%PYTHON_SITELIBDIR%%/memory_profiler.pyc