mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
Add textproc/py-autopep8 1.3.1.
autopep8 automatically formats Python code to conform to the PEP 8 style guide. It uses the pycodestyle utility to determine what parts of the code needs to be formatted. autopep8 is capable of fixing most of the formatting issues that can be reported by pycodestyle. Sponsored by: Absolight
This commit is contained in:
parent
1a9a0e3e6e
commit
1d44651d33
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438515
@ -1244,6 +1244,7 @@
|
||||
SUBDIR += py-agate-excel
|
||||
SUBDIR += py-alabaster
|
||||
SUBDIR += py-asv
|
||||
SUBDIR += py-autopep8
|
||||
SUBDIR += py-awesome-slugify
|
||||
SUBDIR += py-bugzillatools
|
||||
SUBDIR += py-chardet
|
||||
|
29
textproc/py-autopep8/Makefile
Normal file
29
textproc/py-autopep8/Makefile
Normal file
@ -0,0 +1,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>
|
3
textproc/py-autopep8/distinfo
Normal file
3
textproc/py-autopep8/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1492175834
|
||||
SHA256 (autopep8-1.3.1.tar.gz) = 405eaa5199c74a0570125916e6af44d39343c1fcaaafee117fc329a3f86048c4
|
||||
SIZE (autopep8-1.3.1.tar.gz) = 107541
|
6
textproc/py-autopep8/pkg-descr
Normal file
6
textproc/py-autopep8/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
autopep8 automatically formats Python code to conform to the PEP 8 style guide.
|
||||
It uses the pycodestyle utility to determine what parts of the code needs to be
|
||||
formatted. autopep8 is capable of fixing most of the formatting issues that can
|
||||
be reported by pycodestyle.
|
||||
|
||||
WWW: https://github.com/hhatto/autopep8/
|
Loading…
Reference in New Issue
Block a user