aboutsummaryrefslogtreecommitdiff
path: root/devel/py-guppy3/Makefile
blob: 80bf2e583f004184d4e2a0348bb072957cd2166a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
PORTNAME=	guppy3
PORTVERSION=	3.1.2
CATEGORIES=	devel python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	thierry@FreeBSD.org
COMMENT=	Python Programming Environment & Heap analysis toolset
WWW=		https://github.com/zhuyifei1999/guppy3/

LICENSE=	MIT

#USE_GITHUB=	yes
#GH_ACCOUNT=	zhuyifei1999

USES=		python:3.7+
USE_PYTHON=	cython distutils

.if ! defined(WITH_DEBUG)
LDFLAGS+=	-s
.endif

TMPDIR?=	/tmp

do-test: install
	(cd ${TMPDIR} &&	\
	${PYTHON_CMD} -c "from guppy import hpy; hpy().test()")

.include <bsd.port.mk>