pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel pytest plugin to check FLAKE8 requirements.
details: https://anonhg.NetBSD.org/pkgsrc/rev/32999904b81f
branches: trunk
changeset: 367001:32999904b81f
user: adam <adam%pkgsrc.org@localhost>
date: Mon Aug 21 15:35:11 2017 +0000
description:
pytest plugin to check FLAKE8 requirements.
After installing it, when you run tests with the option:
py.test --flake8
every file ending in .py will be discovered and checked with flake8.
diffstat:
devel/Makefile | 3 ++-
devel/py-test-flake8/DESCR | 4 ++++
devel/py-test-flake8/Makefile | 19 +++++++++++++++++++
devel/py-test-flake8/PLIST | 10 ++++++++++
devel/py-test-flake8/distinfo | 6 ++++++
5 files changed, 41 insertions(+), 1 deletions(-)
diffs (72 lines):
diff -r c2f2aa0515d8 -r 32999904b81f devel/Makefile
--- a/devel/Makefile Mon Aug 21 15:30:27 2017 +0000
+++ b/devel/Makefile Mon Aug 21 15:35:11 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2489 2017/08/21 15:30:27 adam Exp $
+# $NetBSD: Makefile,v 1.2490 2017/08/21 15:35:11 adam Exp $
#
COMMENT= Development utilities
@@ -2083,6 +2083,7 @@
SUBDIR+= py-test
SUBDIR+= py-test-cache
SUBDIR+= py-test-cov
+SUBDIR+= py-test-flake8
SUBDIR+= py-test-forked
SUBDIR+= py-test-isort
SUBDIR+= py-test-mock
diff -r c2f2aa0515d8 -r 32999904b81f devel/py-test-flake8/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-flake8/DESCR Mon Aug 21 15:35:11 2017 +0000
@@ -0,0 +1,4 @@
+pytest plugin to check FLAKE8 requirements.
+After installing it, when you run tests with the option:
+ py.test --flake8
+every file ending in .py will be discovered and checked with flake8.
diff -r c2f2aa0515d8 -r 32999904b81f devel/py-test-flake8/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-flake8/Makefile Mon Aug 21 15:35:11 2017 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/08/21 15:35:11 adam Exp $
+
+DISTNAME= pytest-flake8-0.8.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-flake8/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/tholo/pytest-flake8
+COMMENT= Plugin plugin to check FLAKE8 requirements
+LICENSE= modified-bsd
+
+DEPENDS+= ${PYPKGPREFIX}-flake8>=3.0:../../devel/py-flake8
+DEPENDS+= ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c2f2aa0515d8 -r 32999904b81f devel/py-test-flake8/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-flake8/PLIST Mon Aug 21 15:35:11 2017 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/21 15:35:11 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pytest_flake8.py
+${PYSITELIB}/pytest_flake8.pyc
+${PYSITELIB}/pytest_flake8.pyo
diff -r c2f2aa0515d8 -r 32999904b81f devel/py-test-flake8/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-flake8/distinfo Mon Aug 21 15:35:11 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/21 15:35:11 adam Exp $
+
+SHA1 (pytest-flake8-0.8.1.tar.gz) = f48ae360823c17c30e7cc6e3a749a9a960889042
+RMD160 (pytest-flake8-0.8.1.tar.gz) = 4b08c67fc29be1f5a7a18a43eec2bc4a6118630c
+SHA512 (pytest-flake8-0.8.1.tar.gz) = b49b4d42712040492161f144cce807b661f2d8fe5b484b29ad1a519fd5b0b0cfb6abd42c3ae8999f21263c4776fb773f91bf0776971b6b6727607d33fb49ca89
+Size (pytest-flake8-0.8.1.tar.gz) = 7359 bytes
Home |
Main Index |
Thread Index |
Old Index