pkgsrc/devel/py-autopep8/Makefile
adam c9c57d3749 py-autopep8: updated to 1.5.6
v1.5.6

Update
pycodestyle version 2.7.0 and higher is now required

Bug Fix
E128 check similar to pycodestyle
2021-03-20 19:07:14 +00:00

23 lines
665 B
Makefile

# $NetBSD: Makefile,v 1.17 2021/03/20 19:07:14 adam Exp $
DISTNAME= autopep8-1.5.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/autopep8/}
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= https://github.com/hhatto/autopep8
COMMENT= Automatic formatter of Python code to conform to PEP 8
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-codestyle>=2.7.0:../../devel/py-codestyle
DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} autopep8 autopep8-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"