Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 14:26:55 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438515 - in head/textproc: . py-autopep8
Message-ID:  <201704141426.v3EEQtMm066304@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Apr 14 14:26:55 2017
New Revision: 438515
URL: https://svnweb.freebsd.org/changeset/ports/438515

Log:
  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

Added:
  head/textproc/py-autopep8/
  head/textproc/py-autopep8/Makefile   (contents, props changed)
  head/textproc/py-autopep8/distinfo   (contents, props changed)
  head/textproc/py-autopep8/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile   (contents, props changed)

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Fri Apr 14 14:17:25 2017	(r438514)
+++ head/textproc/Makefile	Fri Apr 14 14:26:55 2017	(r438515)
@@ -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

Added: head/textproc/py-autopep8/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-autopep8/Makefile	Fri Apr 14 14:26:55 2017	(r438515)
@@ -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>

Added: head/textproc/py-autopep8/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-autopep8/distinfo	Fri Apr 14 14:26:55 2017	(r438515)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1492175834
+SHA256 (autopep8-1.3.1.tar.gz) = 405eaa5199c74a0570125916e6af44d39343c1fcaaafee117fc329a3f86048c4
+SIZE (autopep8-1.3.1.tar.gz) = 107541

Added: head/textproc/py-autopep8/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-autopep8/pkg-descr	Fri Apr 14 14:26:55 2017	(r438515)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704141426.v3EEQtMm066304>