aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/py-autopep8/Makefile
blob: f7a3b8555d91a5c9e20416e9ed6d483e543da588 (plain) (blame)
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
# $FreeBSD$

PORTNAME=   autopep8
PORTVERSION=    1.3.1
CATEGORIES= textproc python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= python@FreeBSD.org
COMMENT=    automatically formats Python code to conform to the PEP 8 style guide

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}pycodestyle>=2.3:devel/py-pycodestyle

USES=       python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH=    yes

OPTIONS_DEFINE= DOCS

PORTDOCS=   README.rst

post-install-DOCS-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>