freebsd-ports/devel/py-yappi/Makefile
2021-04-06 16:31:07 +02:00

26 lines
592 B
Makefile

# Created by: Johannes Meixner <johannes@perceivon.net>
PORTNAME= yappi
PORTVERSION= 1.3.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Yet Another Python Profiler
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gevent>=20.6.2:devel/py-gevent@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_yappi*.so
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} run_tests.py
.include <bsd.port.mk>