From owner-svn-ports-head@freebsd.org Sun Jan 3 20:40:52 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 034C8A5F455; Sun, 3 Jan 2016 20:40:52 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CF6DD1BD3; Sun, 3 Jan 2016 20:40:51 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u03KeoY0035978; Sun, 3 Jan 2016 20:40:50 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u03Keohp035973; Sun, 3 Jan 2016 20:40:50 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201601032040.u03Keohp035973@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 3 Jan 2016 20:40:50 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2016 20:40:52 -0000 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 +# $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 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