Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2017 14:04:31 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433408 - in head/devel: . py-flake8-builtins py3-flake8-builtins
Message-ID:  <201702051404.v15E4Vjg001466@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Feb  5 14:04:31 2017
New Revision: 433408
URL: https://svnweb.freebsd.org/changeset/ports/433408

Log:
  - Add py-flake8-builtins, py3-flake8-builtins
  
  Check for python builtins being used as variables or parameters
  
  WWW: https://pypi.python.org/pypi/flake8-builtins

Added:
  head/devel/py-flake8-builtins/
  head/devel/py-flake8-builtins/Makefile   (contents, props changed)
  head/devel/py-flake8-builtins/distinfo   (contents, props changed)
  head/devel/py-flake8-builtins/pkg-descr   (contents, props changed)
  head/devel/py3-flake8-builtins/
  head/devel/py3-flake8-builtins/Makefile   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Feb  5 13:59:26 2017	(r433407)
+++ head/devel/Makefile	Sun Feb  5 14:04:31 2017	(r433408)
@@ -4242,6 +4242,7 @@
     SUBDIR += py-five.globalrequest
     SUBDIR += py-five.localsitemanager
     SUBDIR += py-flake8
+    SUBDIR += py-flake8-builtins
     SUBDIR += py-flake8-import-order
     SUBDIR += py-flake8-quotes
     SUBDIR += py-flask-babel
@@ -4869,6 +4870,7 @@
     SUBDIR += py3-click
     SUBDIR += py3-dbus
     SUBDIR += py3-flake8
+    SUBDIR += py3-flake8-builtins
     SUBDIR += py3-flake8-import-order
     SUBDIR += py3-flake8-quotes
     SUBDIR += py3-gobject3

Added: head/devel/py-flake8-builtins/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-flake8-builtins/Makefile	Sun Feb  5 14:04:31 2017	(r433408)
@@ -0,0 +1,22 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	flake8-builtins
+PORTVERSION=	0.2
+CATEGORIES=	devel
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	amdmi3@FreeBSD.org
+COMMENT=	Check for python builtins being used as variables or parameters
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8
+
+USES?=		python
+USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-flake8-builtins/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-flake8-builtins/distinfo	Sun Feb  5 14:04:31 2017	(r433408)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1486303184
+SHA256 (flake8-builtins-0.2.tar.gz) = d426403d6c73e19af6e9f720da8329809ccd454d046872e674c3b2bd0ac9666b
+SIZE (flake8-builtins-0.2.tar.gz) = 15049

Added: head/devel/py-flake8-builtins/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-flake8-builtins/pkg-descr	Sun Feb  5 14:04:31 2017	(r433408)
@@ -0,0 +1,3 @@
+Check for python builtins being used as variables or parameters
+
+WWW: https://pypi.python.org/pypi/flake8-builtins

Added: head/devel/py3-flake8-builtins/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py3-flake8-builtins/Makefile	Sun Feb  5 14:04:31 2017	(r433408)
@@ -0,0 +1,10 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+MASTERDIR=	${.CURDIR}/../py-flake8-builtins
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py3-flake8
+
+USES=		python:3
+
+.include "${MASTERDIR}/Makefile"



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