From a7b34405b921070a3e340592a2abeab32ea4960b Mon Sep 17 00:00:00 2001 From: Cheng-Lung Sung Date: Fri, 28 Oct 2011 09:32:15 +0000 Subject: [PATCH] You can think of pss as an enhanced grep designed to search inside source code files. pss is very similar to the Perl ack tool (see https://bitbucket.org/eliben/pss/wiki/PssAndAck). WWW: https://bitbucket.org/eliben/pss --- textproc/Makefile | 1 + textproc/py-pss/Makefile | 21 ++++++++++++++++ textproc/py-pss/distinfo | 2 ++ textproc/py-pss/pkg-descr | 5 ++++ textproc/py-pss/pkg-plist | 52 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 81 insertions(+) create mode 100644 textproc/py-pss/Makefile create mode 100644 textproc/py-pss/distinfo create mode 100644 textproc/py-pss/pkg-descr create mode 100644 textproc/py-pss/pkg-plist diff --git a/textproc/Makefile b/textproc/Makefile index 00fd835323a0..9f6060ec19c4 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1111,6 +1111,7 @@ SUBDIR += py-markdown SUBDIR += py-markdown2 SUBDIR += py-paragrep + SUBDIR += py-pss SUBDIR += py-pygments SUBDIR += py-pyx12 SUBDIR += py-qt4-xml diff --git a/textproc/py-pss/Makefile b/textproc/py-pss/Makefile new file mode 100644 index 000000000000..67133e43f546 --- /dev/null +++ b/textproc/py-pss/Makefile @@ -0,0 +1,21 @@ +# New ports collection makefile for: py-pss +# Date created: October 28 2011 +# Whom: Cheng-Lung Sung +# +# $FreeBSD$ +# + +PORTNAME= pss +PORTVERSION= 0.33 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= clsung@FreeBSD.org +COMMENT= Tool for grepping through source code + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_PKGNAME= pss + +.include diff --git a/textproc/py-pss/distinfo b/textproc/py-pss/distinfo new file mode 100644 index 000000000000..0e0aa08a47f4 --- /dev/null +++ b/textproc/py-pss/distinfo @@ -0,0 +1,2 @@ +SHA256 (pss-0.33.tar.gz) = 83cbc865973d8f9dc1ee94dde14a96c15ca802269fc9cccb4f4177fafe2a43aa +SIZE (pss-0.33.tar.gz) = 18977 diff --git a/textproc/py-pss/pkg-descr b/textproc/py-pss/pkg-descr new file mode 100644 index 000000000000..a914c137b531 --- /dev/null +++ b/textproc/py-pss/pkg-descr @@ -0,0 +1,5 @@ +You can think of pss as an enhanced grep designed to search +inside source code files. pss is very similar to the Perl ack +tool (see https://bitbucket.org/eliben/pss/wiki/PssAndAck). + +WWW: https://bitbucket.org/eliben/pss diff --git a/textproc/py-pss/pkg-plist b/textproc/py-pss/pkg-plist new file mode 100644 index 000000000000..89f8ef7b7fe6 --- /dev/null +++ b/textproc/py-pss/pkg-plist @@ -0,0 +1,52 @@ +bin/pss +bin/pss.py +%%PYTHON_SITELIBDIR%%/psslib/outputformatter.py +%%PYTHON_SITELIBDIR%%/psslib/py3compat.py +%%PYTHON_SITELIBDIR%%/psslib/utils.py +%%PYTHON_SITELIBDIR%%/psslib/driver.py +%%PYTHON_SITELIBDIR%%/psslib/contentmatcher.py +%%PYTHON_SITELIBDIR%%/psslib/__init__.py +%%PYTHON_SITELIBDIR%%/psslib/filefinder.py +%%PYTHON_SITELIBDIR%%/psslib/matchresult.py +%%PYTHON_SITELIBDIR%%/psslib/pss.py +%%PYTHON_SITELIBDIR%%/psslib/defaultpssoutputformatter.py +%%PYTHON_SITELIBDIR%%/psslib/colorama/initialise.py +%%PYTHON_SITELIBDIR%%/psslib/colorama/ansi.py +%%PYTHON_SITELIBDIR%%/psslib/colorama/__init__.py +%%PYTHON_SITELIBDIR%%/psslib/colorama/ansitowin32.py +%%PYTHON_SITELIBDIR%%/psslib/colorama/winterm.py +%%PYTHON_SITELIBDIR%%/psslib/colorama/win32.py +%%PYTHON_SITELIBDIR%%/psslib/colorama/initialise.pyc +%%PYTHON_SITELIBDIR%%/psslib/colorama/ansi.pyc +%%PYTHON_SITELIBDIR%%/psslib/colorama/__init__.pyc +%%PYTHON_SITELIBDIR%%/psslib/colorama/ansitowin32.pyc +%%PYTHON_SITELIBDIR%%/psslib/colorama/winterm.pyc +%%PYTHON_SITELIBDIR%%/psslib/colorama/win32.pyc +%%PYTHON_SITELIBDIR%%/psslib/colorama/initialise.pyo +%%PYTHON_SITELIBDIR%%/psslib/colorama/ansi.pyo +%%PYTHON_SITELIBDIR%%/psslib/colorama/__init__.pyo +%%PYTHON_SITELIBDIR%%/psslib/colorama/ansitowin32.pyo +%%PYTHON_SITELIBDIR%%/psslib/colorama/winterm.pyo +%%PYTHON_SITELIBDIR%%/psslib/colorama/win32.pyo +%%PYTHON_SITELIBDIR%%/psslib/outputformatter.pyc +%%PYTHON_SITELIBDIR%%/psslib/py3compat.pyc +%%PYTHON_SITELIBDIR%%/psslib/utils.pyc +%%PYTHON_SITELIBDIR%%/psslib/driver.pyc +%%PYTHON_SITELIBDIR%%/psslib/contentmatcher.pyc +%%PYTHON_SITELIBDIR%%/psslib/__init__.pyc +%%PYTHON_SITELIBDIR%%/psslib/filefinder.pyc +%%PYTHON_SITELIBDIR%%/psslib/matchresult.pyc +%%PYTHON_SITELIBDIR%%/psslib/pss.pyc +%%PYTHON_SITELIBDIR%%/psslib/pss.pyo +%%PYTHON_SITELIBDIR%%/psslib/defaultpssoutputformatter.pyc +%%PYTHON_SITELIBDIR%%/psslib/outputformatter.pyo +%%PYTHON_SITELIBDIR%%/psslib/py3compat.pyo +%%PYTHON_SITELIBDIR%%/psslib/utils.pyo +%%PYTHON_SITELIBDIR%%/psslib/driver.pyo +%%PYTHON_SITELIBDIR%%/psslib/contentmatcher.pyo +%%PYTHON_SITELIBDIR%%/psslib/__init__.pyo +%%PYTHON_SITELIBDIR%%/psslib/filefinder.pyo +%%PYTHON_SITELIBDIR%%/psslib/matchresult.pyo +%%PYTHON_SITELIBDIR%%/psslib/defaultpssoutputformatter.pyo +@dirrm %%PYTHON_SITELIBDIR%%/psslib/colorama +@dirrm %%PYTHON_SITELIBDIR%%/psslib