summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-09-29 21:14:48 +0000
committerjoerg <joerg@pkgsrc.org>2017-09-29 21:14:48 +0000
commitcb743136ab48a8ca88a6a0d42704158df7473bcb (patch)
treed33f172b6f5874e7a2cdc77c2cabe1372844c99a /devel
parente3908eb007ac317c9187ecf42611a63386ba799f (diff)
downloadpkgsrc-cb743136ab48a8ca88a6a0d42704158df7473bcb.tar.gz
Add py-memory_profiler-0.47:
This is a python module for monitoring memory consumption of a process. It can do time-based and line-by-line analysis of the memory consumption for python programs.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-memory-profiler/DESCR3
-rw-r--r--devel/py-memory-profiler/Makefile17
-rw-r--r--devel/py-memory-profiler/PLIST9
-rw-r--r--devel/py-memory-profiler/build.mk21
-rw-r--r--devel/py-memory-profiler/distinfo6
5 files changed, 56 insertions, 0 deletions
diff --git a/devel/py-memory-profiler/DESCR b/devel/py-memory-profiler/DESCR
new file mode 100644
index 00000000000..084b6159c48
--- /dev/null
+++ b/devel/py-memory-profiler/DESCR
@@ -0,0 +1,3 @@
+This is a python module for monitoring memory consumption of a process.
+It can do time-based and line-by-line analysis of the memory consumption
+for python programs.
diff --git a/devel/py-memory-profiler/Makefile b/devel/py-memory-profiler/Makefile
new file mode 100644
index 00000000000..096f1e811ed
--- /dev/null
+++ b/devel/py-memory-profiler/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2017/09/29 21:14:48 joerg Exp $
+
+DISTNAME= memory_profiler-0.47
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S,_,-,}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=m/memory_profiler/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://pypi.python.org/pypi/memory_profiler
+COMMENT= Python Memory Profiler
+LICENSE= modified-bsd
+
+DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
+DEPENDS+= ${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-memory-profiler/PLIST b/devel/py-memory-profiler/PLIST
new file mode 100644
index 00000000000..1d7d19a576e
--- /dev/null
+++ b/devel/py-memory-profiler/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/29 21:14:48 joerg Exp $
+bin/mprof
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/memory_profiler.py
+${PYSITELIB}/memory_profiler.pyc
+${PYSITELIB}/memory_profiler.pyo
diff --git a/devel/py-memory-profiler/build.mk b/devel/py-memory-profiler/build.mk
new file mode 100644
index 00000000000..c69302d674f
--- /dev/null
+++ b/devel/py-memory-profiler/build.mk
@@ -0,0 +1,21 @@
+# $NetBSD: build.mk,v 1.1 2017/09/29 21:14:48 joerg Exp $
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-meson-[0-9]*:../../devel/py-meson
+
+.PHONY: meson-configure meson-build meson-install
+
+do-configure: meson-configure
+meson-configure:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} meson --prefix ${PREFIX} --buildtype=plain . output
+
+do-build: meson-build
+meson-build:
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ninja -C output
+
+do-install: meson-install
+meson-install:
+ cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ninja -C output install
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/application.mk"
diff --git a/devel/py-memory-profiler/distinfo b/devel/py-memory-profiler/distinfo
new file mode 100644
index 00000000000..708a6115252
--- /dev/null
+++ b/devel/py-memory-profiler/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/29 21:14:48 joerg Exp $
+
+SHA1 (memory_profiler-0.47.tar.gz) = 612f140ccdcd143096f9f91f8f2cd7edf17b3531
+RMD160 (memory_profiler-0.47.tar.gz) = 47e870b9aa116dd9a27c6fc74460c530043b3013
+SHA512 (memory_profiler-0.47.tar.gz) = 110e16ecad33068d31cf53b2f0b775d65230d51345f24a4d7d3cafafb706b10a0c7e2d98a799256b0366f1bafa9b69c060222595bb4eb9e1689301428a36fc3d
+Size (memory_profiler-0.47.tar.gz) = 33725 bytes