24 lines
728 B
Makefile
24 lines
728 B
Makefile
# $NetBSD: Makefile,v 1.3 2017/07/30 22:32:16 wiz Exp $
|
|
|
|
DISTNAME= pydocstyle-2.0.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydocstyle/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/PyCQA/pydocstyle
|
|
COMMENT= Python docstring style checker
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
DEPENDS+= ${PYPKGPREFIX}-snowballstemmer-[0-9]*:../../textproc/py-snowballstemmer
|
|
|
|
post-extract:
|
|
${CHMOD} go-w ${WRKSRC}/src/pydocstyle/data/*.txt
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} pydocstyle pydocstyle-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|