pkgsrc/devel/py-lama/Makefile
2018-07-05 11:23:29 +00:00

29 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2018/07/05 11:23:29 adam Exp $
DISTNAME= pylama-7.4.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pylama/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/klen/pylama
COMMENT= Code audit tool for Python
LICENSE= gnu-lgpl-v3
DEPENDS+= ${PYPKGPREFIX}-codestyle>=2.3.1:../../devel/py-codestyle
DEPENDS+= ${PYPKGPREFIX}-docstyle>=2.0.0:../../devel/py-docstyle
DEPENDS+= ${PYPKGPREFIX}-flakes>=1.5.0:../../devel/py-flakes
DEPENDS+= ${PYPKGPREFIX}-mccabe>=0.5.2:../../devel/py-mccabe
DEPENDS+= ${PYPKGPREFIX}-py-[0-9]*:../../devel/py-py
DEPENDS+= ${PYPKGPREFIX}-radon-[0-9]*:../../devel/py-radon
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} pylama pylama${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
# UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 148: ordinal not in range(128)
# https://github.com/klen/pylama/issues/93
MAKE_ENV+= LC_ALL=en_US.UTF-8