pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel py.test plugin to check import ordering using is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2f2aa0515d8
branches:  trunk
changeset: 367000:c2f2aa0515d8
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Aug 21 15:30:27 2017 +0000

description:
py.test plugin to check import ordering using isort.

diffstat:

 devel/Makefile               |   3 ++-
 devel/py-test-isort/DESCR    |   1 +
 devel/py-test-isort/Makefile |  20 ++++++++++++++++++++
 devel/py-test-isort/PLIST    |  10 ++++++++++
 devel/py-test-isort/distinfo |   6 ++++++
 5 files changed, 39 insertions(+), 1 deletions(-)

diffs (70 lines):

diff -r ef41b83bb7a2 -r c2f2aa0515d8 devel/Makefile
--- a/devel/Makefile    Mon Aug 21 15:10:48 2017 +0000
+++ b/devel/Makefile    Mon Aug 21 15:30:27 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2488 2017/08/21 15:10:48 adam Exp $
+# $NetBSD: Makefile,v 1.2489 2017/08/21 15:30:27 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2084,6 +2084,7 @@
 SUBDIR+=       py-test-cache
 SUBDIR+=       py-test-cov
 SUBDIR+=       py-test-forked
+SUBDIR+=       py-test-isort
 SUBDIR+=       py-test-mock
 SUBDIR+=       py-test-runner
 SUBDIR+=       py-test-xdist
diff -r ef41b83bb7a2 -r c2f2aa0515d8 devel/py-test-isort/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-isort/DESCR Mon Aug 21 15:30:27 2017 +0000
@@ -0,0 +1,1 @@
+py.test plugin to check import ordering using isort.
diff -r ef41b83bb7a2 -r c2f2aa0515d8 devel/py-test-isort/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-isort/Makefile      Mon Aug 21 15:30:27 2017 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/21 15:30:27 adam Exp $
+
+DISTNAME=      pytest-isort-0.1.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-isort/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/moccu/pytest-isort/
+COMMENT=       Pytest plugin to perform isort checks (import ordering)
+LICENSE=       modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-isort>=3.9.6:../../devel/py-isort
+DEPENDS+=      ${PYPKGPREFIX}-test>=2.6.4:../../devel/py-test
+DEPENDS+=      ${PYPKGPREFIX}-test-cache>=1.0:../../devel/py-test-cache
+
+USE_LANGUAGES=         # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ef41b83bb7a2 -r c2f2aa0515d8 devel/py-test-isort/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-isort/PLIST Mon Aug 21 15:30:27 2017 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/21 15:30:27 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_isort.py
+${PYSITELIB}/pytest_isort.pyc
+${PYSITELIB}/pytest_isort.pyo
diff -r ef41b83bb7a2 -r c2f2aa0515d8 devel/py-test-isort/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-isort/distinfo      Mon Aug 21 15:30:27 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/21 15:30:27 adam Exp $
+
+SHA1 (pytest-isort-0.1.0.tar.gz) = 7c0c193d8bfc6fb43ab0ee8af4a3982e797647d6
+RMD160 (pytest-isort-0.1.0.tar.gz) = 8fcd727e806c0a86a3b95394ed964f6b71a5210e
+SHA512 (pytest-isort-0.1.0.tar.gz) = 86c964b6a998a32c9c474dde0a9400c45da8b26f3e8dd6f4092baa4bf1978a7f67a384bd910ec824f85a8ab49b4ea30967e1e7f908a31619ee88391d3505440b
+Size (pytest-isort-0.1.0.tar.gz) = 5502 bytes



Home | Main Index | Thread Index | Old Index