blob: 641f3212c31c6adc0c1658cc59b34e6e6284b31a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: Makefile,v 1.6 2019/04/25 07:27:55 adam Exp $
DISTNAME= pylama-7.7.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
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
# extensions
DEPENDS+= ${PYPKGPREFIX}-eradicate-[0-9]*:../../textproc/py-eradicate
DEPENDS+= ${PYPKGPREFIX}-radon>=1.4.2:../../devel/py-radon
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pylama pylama-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|