From owner-svn-ports-head@freebsd.org Sun Apr 16 11:07:47 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6BB1D41274; Sun, 16 Apr 2017 11:07:47 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B2470E46; Sun, 16 Apr 2017 11:07:47 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3GB7kqK072752; Sun, 16 Apr 2017 11:07:46 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3GB7kQ3072750; Sun, 16 Apr 2017 11:07:46 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201704161107.v3GB7kQ3072750@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 16 Apr 2017 11:07:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438636 - head/devel/pylint X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Apr 2017 11:07:48 -0000 Author: sunpoet Date: Sun Apr 16 11:07:46 2017 New Revision: 438636 URL: https://svnweb.freebsd.org/changeset/ports/438636 Log: Fix shebang - Fix LICENSE - Add LICENSE_FILE - Sort USE_PYTHON - Update pkg-descr - Update WWW - Bump PORTREVISION for package change - Take maintainership Modified: head/devel/pylint/Makefile head/devel/pylint/pkg-descr Modified: head/devel/pylint/Makefile ============================================================================== --- head/devel/pylint/Makefile Sun Apr 16 11:07:41 2017 (r438635) +++ head/devel/pylint/Makefile Sun Apr 16 11:07:46 2017 (r438636) @@ -3,33 +3,37 @@ PORTNAME= pylint PORTVERSION= 1.6.5 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Analyzes python source code looking for bugs and signs of poor quality -LICENSE= LGPL21 +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astroid>=1.4.5:devel/py-astroid \ ${PYTHON_PKGNAMEPREFIX}isort>=4.2.5:devel/py-isort \ ${PYTHON_PKGNAMEPREFIX}mccabe>=0:devel/py-mccabe \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six -USES= python -USE_PYTHON= distutils concurrent +OPTIONS_DEFINE= GUI + NO_ARCH= yes +USE_PYTHON= concurrent distutils +USES= python shebangfix -OPTIONS_DEFINE= GUI +SHEBANG_FILES= pylint/test/data/ascript -GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter +GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter .include -.if ${PYTHON_MAJOR_VER} == 2 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}configparser>=0:devel/py-configparser \ - ${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>=0:devel/py-backports.functools_lru_cache +.if ${PYTHON_REL} < 3000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>=0:devel/py-backports.functools_lru_cache \ + ${PYTHON_PKGNAMEPREFIX}configparser>=0:devel/py-configparser .endif .include Modified: head/devel/pylint/pkg-descr ============================================================================== --- head/devel/pylint/pkg-descr Sun Apr 16 11:07:41 2017 (r438635) +++ head/devel/pylint/pkg-descr Sun Apr 16 11:07:46 2017 (r438636) @@ -1,9 +1,11 @@ -Pylint is a python tool that checks if a module satisfy a coding -standard. Pylint can be seen as another PyChecker since nearly all -tests you can do with PyChecker can also be done with Pylint. But -Pylint offers some more features, like checking line-code's length, -checking if variable names are well-formed according to your coding -standard, or checking if declared interfaces are truly implemented, -and much more. +Pylint is a Python source code analyzer which looks for programming errors, +helps enforcing a coding standard and sniffs for some code smells (as defined in +Martin Fowler’s Refactoring book). -WWW: http://www.pylint.org +Pylint has many rules enabled by default, way too much to silence them all on a +minimally sized program. It’s highly configurable and handle pragmas to control +it from within your code. Additionally, it is possible to write plugins to add +your own checks. + +WWW: https://pypi.python.org/pypi/pylint +WWW: https://github.com/PyCQA/pylint