Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2019 21:46:37 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r509177 - in head/devel: . py-pylama py-pylama/files
Message-ID:  <201908172146.x7HLkbkJ014828@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Sat Aug 17 21:46:37 2019
New Revision: 509177
URL: https://svnweb.freebsd.org/changeset/ports/509177

Log:
  Add devel/py-pylama: Code audit tool for Python
  
  Code audit tool for Python and JavaScript. Pylama wraps these tools:
  
  - pycodestyle (formerly pep8) (c) 2012-2013, Florent Xicluna;
  - pydocstyle (formerly pep257 by Vladimir Keleshev) (c) 2014, Amir Rachum;
  - PyFlakes (c) 2005-2013, Kevin Watters;
  - Mccabe (c) Ned Batchelder;
  - Pylint (c) 2013, Logilab (should be installed 'pylama_pylint' module);
  - Radon (c) Michele Lacchia
  - gjslint (c) The Closure Linter Authors (should be installed 'pylama_gjslint'
    module);
  - eradicate (c) Steven Myint;
  - Mypy (c) Jukka Lehtosalo and contributors;
  
  WWW: https://github.com/klen/pylama
  
  PR:		239184
  Submitted by:	Alexander Sieg <alex@xanderio.de>

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Aug 17 21:31:03 2019	(r509176)
+++ head/devel/Makefile	Sat Aug 17 21:46:37 2019	(r509177)
@@ -4833,6 +4833,7 @@
     SUBDIR += py-pyinstaller
     SUBDIR += py-pyjsparser
     SUBDIR += py-pyke
+    SUBDIR += py-pylama 
     SUBDIR += py-pylibsrtp
     SUBDIR += py-pylru
     SUBDIR += py-pylru-cache

Added: head/devel/py-pylama/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pylama/Makefile	Sat Aug 17 21:46:37 2019	(r509177)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	pylama
+PORTVERSION=	7.7.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	alex@xanderio.de
+COMMENT=	Code audit tool for Python
+
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mccabe>=0.5.2:devel/py-mccabe@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pycodestyle>=2.3.1:devel/py-pycodestyle@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pydocstyle>=2.0.0:devel/py-pydocstyle@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyflakes>=1.5.0:devel/py-pyflakes@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-pylama/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pylama/distinfo	Sat Aug 17 21:46:37 2019	(r509177)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1566075615
+SHA256 (pylama-7.7.1.tar.gz) = 9bae53ef9c1a431371d6a8dca406816a60d547147b60a4934721898f553b7d8f
+SIZE (pylama-7.7.1.tar.gz) = 33278

Added: head/devel/py-pylama/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pylama/files/patch-setup.py	Sat Aug 17 21:46:37 2019	(r509177)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2019-08-17 21:11:41 UTC
++++ setup.py
+@@ -35,7 +35,7 @@ meta = dict(
+     author_email='horneds@gmail.com',
+     url=' https://github.com/klen/pylama',
+ 
+-    packages=find_packages(exclude=['plugins']),
++    packages=find_packages(exclude=['plugins', 'tests']),
+ 
+     entry_points={
+         'console_scripts': [

Added: head/devel/py-pylama/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-pylama/pkg-descr	Sat Aug 17 21:46:37 2019	(r509177)
@@ -0,0 +1,14 @@
+Code audit tool for Python and JavaScript. Pylama wraps these tools:
+
+- pycodestyle (formerly pep8) (c) 2012-2013, Florent Xicluna;
+- pydocstyle (formerly pep257 by Vladimir Keleshev) (c) 2014, Amir Rachum;
+- PyFlakes (c) 2005-2013, Kevin Watters;
+- Mccabe (c) Ned Batchelder;
+- Pylint (c) 2013, Logilab (should be installed 'pylama_pylint' module);
+- Radon (c) Michele Lacchia
+- gjslint (c) The Closure Linter Authors (should be installed 'pylama_gjslint'
+  module);
+- eradicate (c) Steven Myint;
+- Mypy (c) Jukka Lehtosalo and contributors;
+
+WWW: https://github.com/klen/pylama



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