Hi, I noticed that devel/pylint needs devel/py-mccabe to run:
$ pylint Traceback (most recent call last): File "/usr/local/bin/pylint", line 6, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2994 , in <module> @_call_aside File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2980 , in _call_aside f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3007 , in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 658, in _build_master ws.require(__requires__) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 966, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 852, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'mccabe' distribution was not found and is r equired by pylint The same is true for the python3 flavor. You will find a simple patch included that adds devel/py-mccabe to this port's RUN_DEPENDS and bumps the revision. Cheers, Kusalananda
Index: Makefile =================================================================== RCS file: /cvs/OpenBSD-CVS/ports/devel/pylint/Makefile,v retrieving revision 1.22 diff -u -p -u -r1.22 Makefile --- Makefile 3 Jan 2017 19:19:49 -0000 1.22 +++ Makefile 23 Mar 2017 17:01:49 -0000 @@ -8,7 +8,7 @@ DISTNAME= pylint-${MODPY_EGG_VERSION} PKGNAME-main= pylint-${MODPY_EGG_VERSION} PKGNAME-gui= pylint-gui-${MODPY_EGG_VERSION} CATEGORIES= devel -REVISION-main= 2 +REVISION-main= 3 HOMEPAGE= http://www.pylint.org/ @@ -26,6 +26,7 @@ MODPY_SETUPTOOLS = Yes RUN_DEPENDS= devel/py-astroid${MODPY_FLAVOR} \ devel/py-isort${MODPY_FLAVOR} \ + devel/py-mccabe${MODPY_FLAVOR} \ devel/py-six${MODPY_FLAVOR} RUN_DEPENDS-gui= ${MODPY_TKINTER_DEPENDS} \ devel/pylint${MODPY_FLAVOR}=${MODPY_EGG_VERSION}
signature.asc
Description: PGP signature