pkgsrc/devel/py-codestyle/Makefile

22 lines
603 B
Makefile

# $NetBSD: Makefile,v 1.2 2017/01/03 13:23:01 jperkin Exp $
DISTNAME= pycodestyle-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/}
MAINTAINER= wenheping@gmail.com
HOMEPAGE= http://github.com/PyCQA/pycodestyle
COMMENT= Python style guide checker
LICENSE= mit
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} setup.py test
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"