diff options
author | adam <adam@pkgsrc.org> | 2017-08-21 15:30:27 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-08-21 15:30:27 +0000 |
commit | 418001750280dcadedc51c4fda730f4d260a7fec (patch) | |
tree | a63e566fc19048502bed047ee434e01cac1a11f3 /devel | |
parent | bf842412ac983b8487add4eccb15136db742cefb (diff) | |
download | pkgsrc-418001750280dcadedc51c4fda730f4d260a7fec.tar.gz |
py.test plugin to check import ordering using isort.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 3 | ||||
-rw-r--r-- | devel/py-test-isort/DESCR | 1 | ||||
-rw-r--r-- | devel/py-test-isort/Makefile | 20 | ||||
-rw-r--r-- | devel/py-test-isort/PLIST | 10 | ||||
-rw-r--r-- | devel/py-test-isort/distinfo | 6 |
5 files changed, 39 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile index 9ad0a326795..8950855dad2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 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 --git a/devel/py-test-isort/DESCR b/devel/py-test-isort/DESCR new file mode 100644 index 00000000000..6c707505035 --- /dev/null +++ b/devel/py-test-isort/DESCR @@ -0,0 +1 @@ +py.test plugin to check import ordering using isort. diff --git a/devel/py-test-isort/Makefile b/devel/py-test-isort/Makefile new file mode 100644 index 00000000000..23158b47e65 --- /dev/null +++ b/devel/py-test-isort/Makefile @@ -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 +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 --git a/devel/py-test-isort/PLIST b/devel/py-test-isort/PLIST new file mode 100644 index 00000000000..8723b9d77da --- /dev/null +++ b/devel/py-test-isort/PLIST @@ -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 --git a/devel/py-test-isort/distinfo b/devel/py-test-isort/distinfo new file mode 100644 index 00000000000..3cf231561c4 --- /dev/null +++ b/devel/py-test-isort/distinfo @@ -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 |