1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/devel/pylint/Makefile
2017-06-27 16:13:55 +00:00

41 lines
1.2 KiB
Makefile

# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= pylint
PORTVERSION= 1.7.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Analyzes python source code looking for bugs and signs of poor quality
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astroid>=1.5.1:devel/py-astroid \
${PYTHON_PKGNAMEPREFIX}editdistance>=0:devel/py-editdistance \
${PYTHON_PKGNAMEPREFIX}isort>=4.2.5:devel/py-isort \
${PYTHON_PKGNAMEPREFIX}mccabe>=0:devel/py-mccabe \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six
NO_ARCH= yes
USE_PYTHON= concurrent distutils
USES= python shebangfix
SHEBANG_FILES= pylint/test/data/ascript
.include <bsd.port.pre.mk>
.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
.if ${PYTHON_REL} < 3400
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}singledispatch>=0:devel/py-singledispatch
.endif
.include <bsd.port.post.mk>