pkgsrc/devel/py-memory-profiler/Makefile

26 lines
800 B
Makefile

# $NetBSD: Makefile,v 1.5 2021/06/29 08:41:59 nia Exp $
DISTNAME= memory_profiler-0.58.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/memory_profiler/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pythonprofilers/memory_profiler
COMMENT= Monitors memory usage of a Python program
LICENSE= modified-bsd
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
PYTHON_VERSIONS_INCOMPATIBLE+= 36 # py-numpy
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} mprof mprof-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"