summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-06-16 19:12:40 +0000
committeradam <adam@pkgsrc.org>2019-06-16 19:12:40 +0000
commitd999a3d794c4ac2866e37b913aa8418c3c3e2cfe (patch)
tree1d68687c3e7d7c2c94063fca7ef6b5728bd68d19 /devel
parent680a4d3f6b1b3eb61e16744a6a8220e8ebe2ac7b (diff)
downloadpkgsrc-d999a3d794c4ac2866e37b913aa8418c3c3e2cfe.tar.gz
py-memory-profiler: updated to 0.55.0
0.55.0: Unknown changes
Diffstat (limited to 'devel')
-rw-r--r--devel/py-memory-profiler/ALTERNATIVES1
-rw-r--r--devel/py-memory-profiler/Makefile20
-rw-r--r--devel/py-memory-profiler/PLIST9
-rw-r--r--devel/py-memory-profiler/distinfo10
4 files changed, 27 insertions, 13 deletions
diff --git a/devel/py-memory-profiler/ALTERNATIVES b/devel/py-memory-profiler/ALTERNATIVES
new file mode 100644
index 00000000000..e1ed9c44dc3
--- /dev/null
+++ b/devel/py-memory-profiler/ALTERNATIVES
@@ -0,0 +1 @@
+bin/mprof @PREFIX@/bin/mprof-@PYVERSSUFFIX@
diff --git a/devel/py-memory-profiler/Makefile b/devel/py-memory-profiler/Makefile
index 057aa9f0032..b32b6e03f6d 100644
--- a/devel/py-memory-profiler/Makefile
+++ b/devel/py-memory-profiler/Makefile
@@ -1,17 +1,25 @@
-# $NetBSD: Makefile,v 1.2 2017/10/09 08:24:23 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2019/06/16 19:12:40 adam Exp $
-DISTNAME= memory_profiler-0.47
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S,_,-,}
+DISTNAME= memory_profiler-0.55.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/memory_profiler/}
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= https://pypi.python.org/pypi/memory_profiler
-COMMENT= Python Memory Profiler
+HOMEPAGE= https://github.com/pythonprofilers/memory_profiler
+COMMENT= Monitors memory usage of a Python program
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
DEPENDS+= ${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
+DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-matplotlib
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} mprof mprof-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-memory-profiler/PLIST b/devel/py-memory-profiler/PLIST
index 1d7d19a576e..833912bfc65 100644
--- a/devel/py-memory-profiler/PLIST
+++ b/devel/py-memory-profiler/PLIST
@@ -1,9 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1 2017/09/29 21:14:48 joerg Exp $
-bin/mprof
+@comment $NetBSD: PLIST,v 1.2 2019/06/16 19:12:40 adam Exp $
+bin/mprof-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/memory_profiler.py
${PYSITELIB}/memory_profiler.pyc
${PYSITELIB}/memory_profiler.pyo
+${PYSITELIB}/mprof.py
+${PYSITELIB}/mprof.pyc
+${PYSITELIB}/mprof.pyo
diff --git a/devel/py-memory-profiler/distinfo b/devel/py-memory-profiler/distinfo
index 708a6115252..e827826ccd6 100644
--- a/devel/py-memory-profiler/distinfo
+++ b/devel/py-memory-profiler/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/09/29 21:14:48 joerg Exp $
+$NetBSD: distinfo,v 1.2 2019/06/16 19:12:40 adam 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
+SHA1 (memory_profiler-0.55.0.tar.gz) = 41f4f60e7af430cc8e285612e0bb163979b27949
+RMD160 (memory_profiler-0.55.0.tar.gz) = 6d741c120cbf48c6607abe695b87c6d42fd383a7
+SHA512 (memory_profiler-0.55.0.tar.gz) = 9f280af163b124809d0276b2a473f66d9f11071f38afbabf7247d4e49f120c137f69dde2cc3fb27fcc88cfc6dc71355ba01efeb102098c401c7e953462ed4a1b
+Size (memory_profiler-0.55.0.tar.gz) = 40951 bytes