pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-flake8-import-order Import py-flake8-import-o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c01cb678ab52
branches:  trunk
changeset: 360646:c01cb678ab52
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Apr 04 14:41:03 2017 +0000

description:
Import py-flake8-import-order-0.12 as devel/py-flake8-import-order.

A flake8 and Pylama plugin that checks the ordering of your imports.

In general stdlib comes first, then 3rd party, then local packages,
and that each group is individually alphabetized.

It will not check anything else about the imports. Merely that they
are grouped and ordered correctly.

diffstat:

 devel/py-flake8-import-order/DESCR    |   7 +++++++
 devel/py-flake8-import-order/Makefile |  25 +++++++++++++++++++++++++
 devel/py-flake8-import-order/PLIST    |  29 +++++++++++++++++++++++++++++
 devel/py-flake8-import-order/distinfo |   6 ++++++
 4 files changed, 67 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r a272243dde84 -r c01cb678ab52 devel/py-flake8-import-order/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-flake8-import-order/DESCR        Tue Apr 04 14:41:03 2017 +0000
@@ -0,0 +1,7 @@
+A flake8 and Pylama plugin that checks the ordering of your imports.
+
+In general stdlib comes first, then 3rd party, then local packages,
+and that each group is individually alphabetized.
+
+It will not check anything else about the imports. Merely that they
+are grouped and ordered correctly.
diff -r a272243dde84 -r c01cb678ab52 devel/py-flake8-import-order/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-flake8-import-order/Makefile     Tue Apr 04 14:41:03 2017 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2017/04/04 14:41:03 wiz Exp $
+
+DISTNAME=      flake8-import-order-0.12
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flake8-import-order/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pypi.python.org/pypi/flake8-import-order/
+COMMENT=       Flake8 and pylama plugin that checks the ordering of import statements
+LICENSE=       gnu-lgpl-v3
+
+DEPENDS+=      ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
+
+# TEST_DEPENDS
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-lama-[0-9]*:../../devel/py-lama
+
+# error during collection
+# https://github.com/PyCQA/flake8-import-order/issues/105
+do-test:
+       cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r a272243dde84 -r c01cb678ab52 devel/py-flake8-import-order/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-flake8-import-order/PLIST        Tue Apr 04 14:41:03 2017 +0000
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/04 14:41:03 wiz 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}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/flake8_import_order/__about__.py
+${PYSITELIB}/flake8_import_order/__about__.pyc
+${PYSITELIB}/flake8_import_order/__about__.pyo
+${PYSITELIB}/flake8_import_order/__init__.py
+${PYSITELIB}/flake8_import_order/__init__.pyc
+${PYSITELIB}/flake8_import_order/__init__.pyo
+${PYSITELIB}/flake8_import_order/checker.py
+${PYSITELIB}/flake8_import_order/checker.pyc
+${PYSITELIB}/flake8_import_order/checker.pyo
+${PYSITELIB}/flake8_import_order/flake8_linter.py
+${PYSITELIB}/flake8_import_order/flake8_linter.pyc
+${PYSITELIB}/flake8_import_order/flake8_linter.pyo
+${PYSITELIB}/flake8_import_order/pylama_linter.py
+${PYSITELIB}/flake8_import_order/pylama_linter.pyc
+${PYSITELIB}/flake8_import_order/pylama_linter.pyo
+${PYSITELIB}/flake8_import_order/stdlib_list.py
+${PYSITELIB}/flake8_import_order/stdlib_list.pyc
+${PYSITELIB}/flake8_import_order/stdlib_list.pyo
+${PYSITELIB}/flake8_import_order/styles.py
+${PYSITELIB}/flake8_import_order/styles.pyc
+${PYSITELIB}/flake8_import_order/styles.pyo
diff -r a272243dde84 -r c01cb678ab52 devel/py-flake8-import-order/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-flake8-import-order/distinfo     Tue Apr 04 14:41:03 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/04 14:41:03 wiz Exp $
+
+SHA1 (flake8-import-order-0.12.tar.gz) = 2a8198e845bf60fb692f2bd134830ce6d9dcd9d7
+RMD160 (flake8-import-order-0.12.tar.gz) = 9b0d89e276fcd521699e3fd894510ec76e09c242
+SHA512 (flake8-import-order-0.12.tar.gz) = 47ae562400231ff6c3f6b8d78b26eedcb3f4c3da2abcef634c9abab4bea01d592eae76e32d7cc028dac072e6daf3d4af2052a4478ad77881d21a180b76891988
+Size (flake8-import-order-0.12.tar.gz) = 17912 bytes



Home | Main Index | Thread Index | Old Index