devel/py-pytest-codspeed: Add py-pytest-codspeed 2.2.0

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, ...).
This commit is contained in:
Po-Chuan Hsieh 2024-02-21 22:12:53 +08:00
parent cc65b56368
commit e2bd8b024e
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 44 additions and 0 deletions

View file

@ -5404,6 +5404,7 @@
SUBDIR += py-pytest-capturelog
SUBDIR += py-pytest-cases
SUBDIR += py-pytest-checkdocs
SUBDIR += py-pytest-codspeed
SUBDIR += py-pytest-console-scripts
SUBDIR += py-pytest-cov
SUBDIR += py-pytest-cpp

View file

@ -0,0 +1,32 @@
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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1708448826
SHA256 (pytest_codspeed-2.2.0.tar.gz) = 665003fc20117b64a98d16ffd1008f5bd6bf3b1e9af142b98c00abff7f626bbd
SIZE (pytest_codspeed-2.2.0.tar.gz) = 9130

View file

@ -0,0 +1,8 @@
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, ...).