Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 10:36:50 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455939 - head/devel/pylint
Message-ID:  <201712111036.vBBAaoMq073335@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Dec 11 10:36:50 2017
New Revision: 455939
URL: https://svnweb.freebsd.org/changeset/ports/455939

Log:
  Fix packaging for Python 3.x
  
  - Fix UTF-8 characters in pkg-descr

Modified:
  head/devel/pylint/Makefile
  head/devel/pylint/pkg-descr
  head/devel/pylint/pkg-plist

Modified: head/devel/pylint/Makefile
==============================================================================
--- head/devel/pylint/Makefile	Mon Dec 11 10:36:44 2017	(r455938)
+++ head/devel/pylint/Makefile	Mon Dec 11 10:36:50 2017	(r455939)
@@ -13,10 +13,6 @@ COMMENT=	Analyzes python source code looking for bugs 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-py34_BROKEN=	Fails to package
-py35_BROKEN=	Fails to package
-py36_BROKEN=	Fails to package
-
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=1.5.1:devel/py-astroid@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}editdistance>=0:devel/py-editdistance@${FLAVOR} \
@@ -25,7 +21,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=1.5.1:dev
 		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${FLAVOR}
 
 NO_ARCH=	yes
-USE_PYTHON=	concurrent distutils
+USE_PYTHON=	concurrent distutils py3kplist
 USES=		python shebangfix
 
 SHEBANG_FILES=	pylint/test/data/ascript

Modified: head/devel/pylint/pkg-descr
==============================================================================
--- head/devel/pylint/pkg-descr	Mon Dec 11 10:36:44 2017	(r455938)
+++ head/devel/pylint/pkg-descr	Mon Dec 11 10:36:50 2017	(r455939)
@@ -1,9 +1,9 @@
 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).
+Martin Fowler's Refactoring book).
 
 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
+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.
 

Modified: head/devel/pylint/pkg-plist
==============================================================================
--- head/devel/pylint/pkg-plist	Mon Dec 11 10:36:44 2017	(r455938)
+++ head/devel/pylint/pkg-plist	Mon Dec 11 10:36:50 2017	(r455939)
@@ -50,9 +50,9 @@ bin/symilar
 %%PYTHON_SITELIBDIR%%/pylint/checkers/raw_metrics.py
 %%PYTHON_SITELIBDIR%%/pylint/checkers/raw_metrics.pyc
 %%PYTHON_SITELIBDIR%%/pylint/checkers/raw_metrics.pyo
-%%PYTHON_SITELIBDIR%%/pylint/checkers/refactoring.%%PYTHON_PYOEXTENSION%%
 %%PYTHON_SITELIBDIR%%/pylint/checkers/refactoring.py
 %%PYTHON_SITELIBDIR%%/pylint/checkers/refactoring.pyc
+%%PYTHON_SITELIBDIR%%/pylint/checkers/refactoring.pyo
 %%PYTHON_SITELIBDIR%%/pylint/checkers/similar.py
 %%PYTHON_SITELIBDIR%%/pylint/checkers/similar.pyc
 %%PYTHON_SITELIBDIR%%/pylint/checkers/similar.pyo
@@ -80,9 +80,9 @@ bin/symilar
 %%PYTHON_SITELIBDIR%%/pylint/epylint.py
 %%PYTHON_SITELIBDIR%%/pylint/epylint.pyc
 %%PYTHON_SITELIBDIR%%/pylint/epylint.pyo
-%%PYTHON_SITELIBDIR%%/pylint/exceptions.%%PYTHON_PYOEXTENSION%%
 %%PYTHON_SITELIBDIR%%/pylint/exceptions.py
 %%PYTHON_SITELIBDIR%%/pylint/exceptions.pyc
+%%PYTHON_SITELIBDIR%%/pylint/exceptions.pyo
 %%PYTHON_SITELIBDIR%%/pylint/extensions/__init__.py
 %%PYTHON_SITELIBDIR%%/pylint/extensions/__init__.pyc
 %%PYTHON_SITELIBDIR%%/pylint/extensions/__init__.pyo
@@ -98,27 +98,27 @@ bin/symilar
 %%PYTHON_SITELIBDIR%%/pylint/extensions/check_elif.py
 %%PYTHON_SITELIBDIR%%/pylint/extensions/check_elif.pyc
 %%PYTHON_SITELIBDIR%%/pylint/extensions/check_elif.pyo
-%%PYTHON_SITELIBDIR%%/pylint/extensions/comparetozero.%%PYTHON_PYOEXTENSION%%
 %%PYTHON_SITELIBDIR%%/pylint/extensions/comparetozero.py
 %%PYTHON_SITELIBDIR%%/pylint/extensions/comparetozero.pyc
+%%PYTHON_SITELIBDIR%%/pylint/extensions/comparetozero.pyo
 %%PYTHON_SITELIBDIR%%/pylint/extensions/docparams.py
 %%PYTHON_SITELIBDIR%%/pylint/extensions/docparams.pyc
 %%PYTHON_SITELIBDIR%%/pylint/extensions/docparams.pyo
 %%PYTHON_SITELIBDIR%%/pylint/extensions/docstyle.py
 %%PYTHON_SITELIBDIR%%/pylint/extensions/docstyle.pyc
 %%PYTHON_SITELIBDIR%%/pylint/extensions/docstyle.pyo
-%%PYTHON_SITELIBDIR%%/pylint/extensions/emptystring.%%PYTHON_PYOEXTENSION%%
 %%PYTHON_SITELIBDIR%%/pylint/extensions/emptystring.py
 %%PYTHON_SITELIBDIR%%/pylint/extensions/emptystring.pyc
+%%PYTHON_SITELIBDIR%%/pylint/extensions/emptystring.pyo
 %%PYTHON_SITELIBDIR%%/pylint/extensions/mccabe.py
 %%PYTHON_SITELIBDIR%%/pylint/extensions/mccabe.pyc
 %%PYTHON_SITELIBDIR%%/pylint/extensions/mccabe.pyo
-%%PYTHON_SITELIBDIR%%/pylint/extensions/overlapping_exceptions.%%PYTHON_PYOEXTENSION%%
 %%PYTHON_SITELIBDIR%%/pylint/extensions/overlapping_exceptions.py
 %%PYTHON_SITELIBDIR%%/pylint/extensions/overlapping_exceptions.pyc
-%%PYTHON_SITELIBDIR%%/pylint/extensions/redefined_variable_type.%%PYTHON_PYOEXTENSION%%
+%%PYTHON_SITELIBDIR%%/pylint/extensions/overlapping_exceptions.pyo
 %%PYTHON_SITELIBDIR%%/pylint/extensions/redefined_variable_type.py
 %%PYTHON_SITELIBDIR%%/pylint/extensions/redefined_variable_type.pyc
+%%PYTHON_SITELIBDIR%%/pylint/extensions/redefined_variable_type.pyo
 %%PYTHON_SITELIBDIR%%/pylint/graph.py
 %%PYTHON_SITELIBDIR%%/pylint/graph.pyc
 %%PYTHON_SITELIBDIR%%/pylint/graph.pyo
@@ -415,9 +415,9 @@ bin/symilar
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/init_subclass_classmethod_py36.rc
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/invalid_all_object.py
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/invalid_all_object.txt
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/invalid_encoded_data.py
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/invalid_encoded_data.rc
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/invalid_encoded_data.txt
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/invalid_encoded_data.py
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/invalid_encoded_data.rc
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/invalid_encoded_data.txt
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/invalid_exceptions_caught.py
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/invalid_exceptions_caught.txt
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/invalid_exceptions_raised.py
@@ -726,15 +726,15 @@ bin/symilar
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/unidiomatic_typecheck.py
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/unidiomatic_typecheck.txt
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/uninferable_all_object.py
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_jython.py
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_jython.rc
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_jython.txt
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_py29.py
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_py29.rc
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_py29.txt
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_pypy.py
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_pypy.rc
-%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_pypy.txt
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_jython.py
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_jython.rc
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_jython.txt
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_py29.py
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_py29.rc
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_py29.txt
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_pypy.py
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_pypy.rc
+%%PYTHON2%%%%PYTHON_SITELIBDIR%%/pylint/test/functional/unknown_encoding_pypy.txt
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/unnecessary_lambda.py
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/unnecessary_lambda.txt
 %%PYTHON_SITELIBDIR%%/pylint/test/functional/unnecessary_pass.py



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712111036.vBBAaoMq073335>