ports/devel/py-noseofyeti/Makefile
2024-05-29 18:29:42 +03:00

30 lines
862 B
Makefile

PORTNAME= noseofyeti
DISTVERSIONPREFIX=release-
DISTVERSION= 2.4.9
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= arrowd@FreeBSD.org
COMMENT= Python codec that provides an RSpec style DSL for Python
WWW= https://github.com/delfick/nose-of-yeti/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-helpers-namespace>0:devel/py-pytest-helpers-namespace@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
GH_ACCOUNT= delfick
GH_PROJECT= nose-of-yeti
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
-k 'not test_registering_codec_doesnt_lead_to_error'
.include <bsd.port.mk>