File:  [cvs.NetBSD.org] / pkgsrc / devel / py-memory-profiler / Makefile
Revision 1.13: download - view: text, annotated - select for diffs
Sat Jul 1 08:37:45 2023 UTC (16 months ago) by wiz
Branches: MAIN
CVS tags: HEAD
*: restrict py-numpy users to 3.9+ in preparation for update

# $NetBSD: Makefile,v 1.13 2023/07/01 08:37:45 wiz Exp $

DISTNAME=	memory_profiler-0.61.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 37 38

USE_PKG_RESOURCES=	yes

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} mprof mprof-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>