svn commit: r438636 - head/devel/pylint

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Apr 16 11:07:48 UTC 2017


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 at FreeBSD.org
+MAINTAINER=	sunpoet at 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 <bsd.port.pre.mk>
 
-.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 <bsd.port.post.mk>

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


More information about the svn-ports-head mailing list