mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
28 lines
835 B
Makefile
28 lines
835 B
Makefile
PORTNAME= pytest-pycodestyle
|
|
DISTVERSION= 2.4.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Pytest plugin to run pycodestyle
|
|
WWW= https://github.com/henry0312/pytest-codestyle
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}py>0:devel/py-py@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pytest>=7.0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist pytest
|
|
|
|
NO_ARCH= yes
|
|
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
# tests as of 2.4.1: 1 failed, 16 passed in 50.11s, see https://github.com/henry0312/pytest-pycodestyle/issues/114
|
|
|
|
.include <bsd.port.mk>
|