From dc661ebb920ba2d1100aedde5c11bd40c259f360 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Thu, 29 Apr 2021 22:10:19 +0800 Subject: [PATCH] devel/py-pylint-plugin-utils: Add py-pylint-plugin-utils 0.6 Utilities and helpers for writing Pylint plugins. This is not a direct Pylint plugin, but rather a set of tools and functions used by other plugins such as pylint-django and pylint-celery. WWW: https://github.com/PyCQA/pylint-plugin-utils --- devel/Makefile | 1 + devel/py-pylint-plugin-utils/1s | 32 ++++++++++++++++++++++++++ devel/py-pylint-plugin-utils/Makefile | 22 ++++++++++++++++++ devel/py-pylint-plugin-utils/a | 1 + devel/py-pylint-plugin-utils/distinfo | 3 +++ devel/py-pylint-plugin-utils/pkg-descr | 5 ++++ 6 files changed, 64 insertions(+) create mode 100644 devel/py-pylint-plugin-utils/1s create mode 100644 devel/py-pylint-plugin-utils/Makefile create mode 100644 devel/py-pylint-plugin-utils/a create mode 100644 devel/py-pylint-plugin-utils/distinfo create mode 100644 devel/py-pylint-plugin-utils/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 8bf84d4c75ada..1649a0e4c7508 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4925,6 +4925,7 @@ SUBDIR += py-pylev SUBDIR += py-pylibsrtp SUBDIR += py-pylint-django + SUBDIR += py-pylint-plugin-utils SUBDIR += py-pylru SUBDIR += py-pylru-cache SUBDIR += py-pyls-black diff --git a/devel/py-pylint-plugin-utils/1s b/devel/py-pylint-plugin-utils/1s new file mode 100644 index 0000000000000..c6d4fe368824f --- /dev/null +++ b/devel/py-pylint-plugin-utils/1s @@ -0,0 +1,32 @@ +# -*- coding: UTF-8 -*- +from setuptools import find_packages, setup + +_version = "0.6" +_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]) + +_short_description = "Utilities and helpers for writing Pylint plugins" + +_classifiers = [ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'Operating System :: Unix', + 'Topic :: Software Development :: Quality Assurance', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', +] + +setup( + name='pylint-plugin-utils', + url='https://github.com/landscapeio/pylint-plugin-utils', + author='landscape.io', + author_email='code@landscape.io', + description=_short_description, + version=_version, + install_requires=['pylint>=1.7'], + packages=_packages, + license='GPLv2', + classifiers=_classifiers, + keywords='pylint plugin helpers' +) diff --git a/devel/py-pylint-plugin-utils/Makefile b/devel/py-pylint-plugin-utils/Makefile new file mode 100644 index 0000000000000..a715e66327ade --- /dev/null +++ b/devel/py-pylint-plugin-utils/Makefile @@ -0,0 +1,22 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= pylint-plugin-utils +PORTVERSION= 0.6 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Utilities and helpers for writing Pylint plugins + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= pylint${PYTHON_PKGNAMESUFFIX}>=1.7:devel/pylint@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-pylint-plugin-utils/a b/devel/py-pylint-plugin-utils/a new file mode 100644 index 0000000000000..6b2e9e3f11222 --- /dev/null +++ b/devel/py-pylint-plugin-utils/a @@ -0,0 +1 @@ +devel/pylint,1.7 diff --git a/devel/py-pylint-plugin-utils/distinfo b/devel/py-pylint-plugin-utils/distinfo new file mode 100644 index 0000000000000..aa5d320aba2d1 --- /dev/null +++ b/devel/py-pylint-plugin-utils/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1619569407 +SHA256 (pylint-plugin-utils-0.6.tar.gz) = 57625dcca20140f43731311cd8fd879318bf45a8b0fd17020717a8781714a25a +SIZE (pylint-plugin-utils-0.6.tar.gz) = 10203 diff --git a/devel/py-pylint-plugin-utils/pkg-descr b/devel/py-pylint-plugin-utils/pkg-descr new file mode 100644 index 0000000000000..2b6a6e1cd2590 --- /dev/null +++ b/devel/py-pylint-plugin-utils/pkg-descr @@ -0,0 +1,5 @@ +Utilities and helpers for writing Pylint plugins. This is not a direct Pylint +plugin, but rather a set of tools and functions used by other plugins such as +pylint-django and pylint-celery. + +WWW: https://github.com/PyCQA/pylint-plugin-utils