Date: Sat, 11 Jan 2020 13:45:37 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522685 - in head/devel: . py-pytest-pep8 Message-ID: <202001111345.00BDjbT0057041@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Sat Jan 11 13:45:37 2020 New Revision: 522685 URL: https://svnweb.freebsd.org/changeset/ports/522685 Log: [NEW] devel/py-pytest-pep8: Pytest plugin to check PEP8 requirements This plugin allows to configure on a per-project and per-file basis which errors or warnings to care about. WWW: https://bitbucket.org/pytest-dev/pytest-pep8 PR: 242756 Submitted by: Goran Mekić <meka@tilda.center> Added: head/devel/py-pytest-pep8/ head/devel/py-pytest-pep8/Makefile (contents, props changed) head/devel/py-pytest-pep8/distinfo (contents, props changed) head/devel/py-pytest-pep8/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Jan 11 13:03:30 2020 (r522684) +++ head/devel/Makefile Sat Jan 11 13:45:37 2020 (r522685) @@ -4899,6 +4899,7 @@ SUBDIR += py-pytest-isort SUBDIR += py-pytest-localserver SUBDIR += py-pytest-mock + SUBDIR += py-pytest-pep8 SUBDIR += py-pytest-pycodestyle SUBDIR += py-pytest-relaxed SUBDIR += py-pytest-rerunfailures Added: head/devel/py-pytest-pep8/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-pep8/Makefile Sat Jan 11 13:45:37 2020 (r522685) @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= pytest-pep8 +PORTVERSION= 1.0.6 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= meka@tilda.center +COMMENT= Pytest plugin to check PEP8 requirements + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.4.2:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cache>=0:devel/py-pytest-cache@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pep8>=1.3:devel/pep8@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +TEST_ENV= PYTHONPATH=${WRKSRC}/src + +NO_ARCH= yes + +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= \ + -k 'not test_strict \ + and not test_ok_verbose \ + and not test_mtime_caching \ + and not test_w293w292' + +.include <bsd.port.mk> Added: head/devel/py-pytest-pep8/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-pep8/distinfo Sat Jan 11 13:45:37 2020 (r522685) @@ -0,0 +1,3 @@ +TIMESTAMP = 1576898226 +SHA256 (pytest-pep8-1.0.6.tar.gz) = 032ef7e5fa3ac30f4458c73e05bb67b0f036a8a5cb418a534b3170f89f120318 +SIZE (pytest-pep8-1.0.6.tar.gz) = 7271 Added: head/devel/py-pytest-pep8/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-pep8/pkg-descr Sat Jan 11 13:45:37 2020 (r522685) @@ -0,0 +1,4 @@ +This plugin allows to configure on a per-project and per-file basis which +errors or warnings to care about. + +WWW: https://bitbucket.org/pytest-dev/pytest-pep8
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001111345.00BDjbT0057041>