Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 20:40:50 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405184 - in head/devel: . py-bandit py-bandit/files
Message-ID:  <201601032040.u03Keohp035973@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Jan  3 20:40:50 2016
New Revision: 405184
URL: https://svnweb.freebsd.org/changeset/ports/405184

Log:
  New port: devel/py-bandit
  
  Bandit is a tool for finding common security issues in Python code.
  To do this Bandit processes each file, builds an AST from it, and runs
  appropriate plugins against the AST nodes. Once Bandit has finished scanning
  all the files it generates a report.
  
  WWW: https://github.com/stackforge/bandit
  
  PR:		201386
  Submitted by:	yuri@rawbw.com
  Reviewed by:	koobs

Added:
  head/devel/py-bandit/
  head/devel/py-bandit/Makefile   (contents, props changed)
  head/devel/py-bandit/distinfo   (contents, props changed)
  head/devel/py-bandit/files/
  head/devel/py-bandit/files/patch-setup.cfg   (contents, props changed)
  head/devel/py-bandit/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sun Jan  3 20:33:19 2016	(r405183)
+++ head/devel/Makefile	Sun Jan  3 20:40:50 2016	(r405184)
@@ -3927,6 +3927,7 @@
     SUBDIR += py-babelfish
     SUBDIR += py-backports.shutil_get_terminal_size
     SUBDIR += py-backports_abc
+    SUBDIR += py-bandit
     SUBDIR += py-bcdoc
     SUBDIR += py-billiard
     SUBDIR += py-binplist

Added: head/devel/py-bandit/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-bandit/Makefile	Sun Jan  3 20:40:50 2016	(r405184)
@@ -0,0 +1,27 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME=	bandit
+PORTVERSION=	0.16.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@rawbw.com
+COMMENT=	Tool for finding common security issues in Python code
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=1.8:${PORTSDIR}/devel/py-pbr
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>=3.11:${PORTSDIR}/devel/py-yaml \
+		${PYTHON_PKGNAMEPREFIX}six>=1.9.0:${PORTSDIR}/devel/py-six \
+		${PYTHON_PKGNAMEPREFIX}stevedore>=1.5.0:${PORTSDIR}/devel/py-stevedore
+
+MAKE_ENV+=	PBR_VERSION=${PORTVERSION}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-bandit/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-bandit/distinfo	Sun Jan  3 20:40:50 2016	(r405184)
@@ -0,0 +1,2 @@
+SHA256 (bandit-0.16.1.tar.gz) = 534324d0f2345da4ac7f3f89ce669e24656966a556fe425d2fb63065679fa961
+SIZE (bandit-0.16.1.tar.gz) = 105750

Added: head/devel/py-bandit/files/patch-setup.cfg
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-bandit/files/patch-setup.cfg	Sun Jan  3 20:40:50 2016	(r405184)
@@ -0,0 +1,10 @@
+--- setup.cfg.orig	2015-12-06 11:44:11 UTC
++++ setup.cfg
+@@ -86,7 +86,6 @@ bandit.plugins = 
+ 
+ [files]
+ data_files = 
+-	bandit =
+ 	etc/bandit/ = bandit/config/bandit.yaml
+ 	share/bandit/wordlist/ = wordlist/default-passwords
+ 

Added: head/devel/py-bandit/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-bandit/pkg-descr	Sun Jan  3 20:40:50 2016	(r405184)
@@ -0,0 +1,6 @@
+Bandit is a tool for finding common security issues in Python code.
+To do this Bandit processes each file, builds an AST from it, and runs
+appropriate plugins against the AST nodes. Once Bandit has finished scanning
+all the files it generates a report.
+
+WWW: https://github.com/stackforge/bandit



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