blob: c1a2c55dc03f854539a1cd961e3c6f3da5bb0219 (
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
30
31
|
# $NetBSD: Makefile,v 1.8 2019/11/06 20:43:36 adam Exp $
DISTNAME= radon-4.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/radon/}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://radon.readthedocs.org/
COMMENT= Code Metrics in Python
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-mando>=0.6:../../devel/py-mando
DEPENDS+= ${PYPKGPREFIX}-colorama>=0.4:../../comms/py-colorama
DEPENDS+= ${PYPKGPREFIX}-flake8-polyfill-[0-9]*:../../devel/py-flake8-polyfill
DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} radon radon-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC}/radon/tests && ${SETENV} ${TEST_ENV} ${PYTHONBIN} run.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|