mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
- Re-add as devel/py_static_check
Suggested by: danfe Approved by: maintainer
This commit is contained in:
parent
77098603d2
commit
3ab7c65db7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289015
@ -3403,6 +3403,7 @@
|
||||
SUBDIR += py-zope.testing
|
||||
SUBDIR += py-zope.traversing
|
||||
SUBDIR += py-zope.viewlet
|
||||
SUBDIR += py_static_check
|
||||
SUBDIR += pybaz
|
||||
SUBDIR += pychecker
|
||||
SUBDIR += pycount
|
||||
|
24
devel/py_static_check/Makefile
Normal file
24
devel/py_static_check/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# New ports collection makefile for: py_static_check
|
||||
# Date created: 2011-12-20
|
||||
# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= py_static_check
|
||||
PORTVERSION= 1.2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
|
||||
MASTER_SITE_SUBDIR= source/p/py_static_check
|
||||
|
||||
MAINTAINER= jnlin@csie.nctu.edu.tw
|
||||
COMMENT= Statically check your python code
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flakes>=0.5:${PORTSDIR}/devel/py-flakes
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= easy_install
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py_static_check/distinfo
Normal file
2
devel/py_static_check/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (py_static_check-1.2.tar.gz) = 67bc0377ee40a422d5d92a7d4a5e6f2275ba16567fe6a1836f7833b1cdad479f
|
||||
SIZE (py_static_check-1.2.tar.gz) = 10499
|
9
devel/py_static_check/pkg-descr
Normal file
9
devel/py_static_check/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
py_static_check can statically check your Python code
|
||||
for a lot of common errors. It uses a modified pyflakes
|
||||
code and extends with following things:
|
||||
|
||||
Ability to specify what star imports resolve to (-s argument)
|
||||
Ability to ignore unused import warnings (-i argument)
|
||||
Better sorting of warnings/errors
|
||||
|
||||
WWW: http://pypi.python.org/pypi/py_static_check
|
21
devel/py_static_check/pkg-plist
Normal file
21
devel/py_static_check/pkg-plist
Normal file
@ -0,0 +1,21 @@
|
||||
bin/py_static_check
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py_static_check/main.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py_static_check/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py_static_check/modified_checker.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py_static_check/modified_checker.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py_static_check/main.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py_static_check/main.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py_static_check/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py_static_check/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py_static_check/modified_checker.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/py_static_check
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/py_static_check
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
Loading…
Reference in New Issue
Block a user