summaryrefslogtreecommitdiff
path: root/devel/py-docstyle/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-docstyle/Makefile')
-rw-r--r--devel/py-docstyle/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/py-docstyle/Makefile b/devel/py-docstyle/Makefile
new file mode 100644
index 00000000000..ac745871bf4
--- /dev/null
+++ b/devel/py-docstyle/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/04/04 13:31:37 wiz Exp $
+
+DISTNAME= pydocstyle-1.1.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydocstyle/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/PyCQA/pydocstyle
+COMMENT= Python docstring style checker
+LICENSE= mit
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} pep257 pep257-${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} pydocstyle pydocstyle-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"