Added
Link Here
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= pytest-pep8 |
4 |
PORTVERSION= 1.0.6 |
5 |
CATEGORIES= devel python |
6 |
MASTER_SITES= CHEESESHOP |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
|
9 |
MAINTAINER= meka@tilda.center |
10 |
COMMENT= Pytest plugin for efficiently checking PEP8 compliance |
11 |
|
12 |
LICENSE= APACHE20 |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}pytest-cache>=0:devel/py-pytest-cache@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}pep8>=0:devel/pep8@${PY_FLAVOR} |
18 |
|
19 |
USES= python:3.5+ |
20 |
USE_PYTHON= autoplist concurrent distutils |
21 |
|
22 |
TEST_ENV= PYTHONPATH=${WRKSRC}/src |
23 |
|
24 |
NO_ARCH= yes |
25 |
|
26 |
do-test: |
27 |
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= \ |
28 |
-k 'not test_strict \ |
29 |
and not test_ok_verbose \ |
30 |
and not test_mtime_caching \ |
31 |
and not test_w293w292' |
32 |
|
33 |
.include <bsd.port.mk> |