30 lines
839 B
Makefile
30 lines
839 B
Makefile
PORTNAME= noseofyeti
|
|
DISTVERSIONPREFIX=release-
|
|
DISTVERSION= 2.4.2
|
|
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
|
|
|
|
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
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
GH_ACCOUNT= delfick
|
|
GH_PROJECT= nose-of-yeti
|
|
|
|
PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/noy_black.pth
|
|
|
|
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>
|