e2bd8b024e
CodSpeed is a continuous benchmarking platform that allows you to track and compare the performance of your codebase during development. It uses a smart runtime engine to measure the performance of your code in an accurate and reproducible way without creating a huge runtime overhead, unlike traditional benchmarks. CodSpeed produces detailed performance reports, helping you improve your codebase performance, directly within your repository provider(Pull Requests comments, Merge checks, ...).
32 lines
936 B
Makefile
32 lines
936 B
Makefile
PORTNAME= pytest-codspeed
|
|
PORTVERSION= 2.2.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pytest_codspeed-${PORTVERSION}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Pytest plugin to create CodSpeed benchmarks
|
|
WWW= https://docs.codspeed.io/ \
|
|
https://github.com/CodSpeedHQ/pytest-codspeed
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.15.1:devel/py-cffi@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}filelock>=3.12.2:sysutils/py-filelock@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest>=3.8,1:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} >= 31200
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|