diff options
author | ginsbach <ginsbach@pkgsrc.org> | 2018-03-11 20:57:16 +0000 |
---|---|---|
committer | ginsbach <ginsbach@pkgsrc.org> | 2018-03-11 20:57:16 +0000 |
commit | 1c58c4f94279c7e35cb039a0876194b9dd473096 (patch) | |
tree | 96b6d248402e751e22468d23d4331f4a0c1c8ce3 /textproc | |
parent | 76e79da52c106a3dcc35242e8a2ba3991696b3da (diff) | |
download | pkgsrc-1c58c4f94279c7e35cb039a0876194b9dd473096.tar.gz |
textproc/xxdiff-scripts: add xxdiff Python wrappers
xxdiff comes with a bunch of wrapper Python scripts that invoke xxdiff in
creative ways. All this code is now distributed with xxdiff, in an xxdiff
Python package, which you can leverage to build your own file transformation
scripts around xxdiff. [from author http://furius.ca/xxdiff/#id10]
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/xxdiff-scripts/DESCR | 20 | ||||
-rw-r--r-- | textproc/xxdiff-scripts/Makefile | 28 | ||||
-rw-r--r-- | textproc/xxdiff-scripts/PLIST | 128 |
3 files changed, 176 insertions, 0 deletions
diff --git a/textproc/xxdiff-scripts/DESCR b/textproc/xxdiff-scripts/DESCR new file mode 100644 index 00000000000..369c1521015 --- /dev/null +++ b/textproc/xxdiff-scripts/DESCR @@ -0,0 +1,20 @@ +xxdiff is a computer program that allows a user (usually a software developer +of some sort) to easily visualize the differences between files. The manner +and goal for which this process is applied over multiple files is highly +dependent on the application, and most of the time is driven by custom user +scripts. + +For example, a configuration management engineer in a company might provide +some kind of merge policing environment, that allows software developers to +review changes in files for the purpose of accepting or rejecting a submitted +changeset to a codebase. Another example is that of a developer wishing to +review the changes he made to a checkout of files from a source-code +management system such as CVS, Subversion, ClearCase, Perforce, etc. + +xxdiff has been developed in a corporate environment with hundreds of users. +Over time, it has been progressively augmented with features to allow it to +better interact with caller scripts, and many of Python scripts were provided +as open source on the internet, to perform various common tasks. It was +only natural that at some point in time common code between these programs +should be shared in a library, and a Python package provided to ease the +task of writing other, new, custom scripts. diff --git a/textproc/xxdiff-scripts/Makefile b/textproc/xxdiff-scripts/Makefile new file mode 100644 index 00000000000..868033b1c0a --- /dev/null +++ b/textproc/xxdiff-scripts/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1 2018/03/11 20:57:16 ginsbach Exp $ + +.include "../../textproc/xxdiff/Makefile.common" + +PKGNAME= xxdiff-scripts-${XXDIFFVERSION} +COMMENT= Helper scripts for xxdiff + +DEPENDS+= xxdiff-${XXDIFFVERSION}:../../textproc/xxdiff + +USE_TOOLS= # empty + +#PYTHON_VERSIONS_INCOMPATIBLE= # XXX unknown +REPLACE_PYTHON+= bin/svn-foreign bin/termdiff bin/termdiff-test-urwid +REPLACE_PYTHON+= bin/xx-cond-replace bin/xx-cvs-diff bin/xx-cvs-revcmp +REPLACE_PYTHON+= bin/xx-diff-proxy bin/xx-encrypted bin/xx-filter +REPLACE_PYTHON+= bin/xx-find-grep-sed bin/xx-hg-merge bin/xx-match +REPLACE_PYTHON+= bin/xx-p4-unmerge bin/xx-pyline bin/xx-rename +REPLACE_PYTHON+= bin/xx-sql-schemas bin/xx-svn-diff bin/xx-svn-resolve +REPLACE_PYTHON+= bin/xx-svn-review + +INSTALLATION_DIRS+= ${XXDIFFDOCDIR} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/doc/xxdiff-scripts.html ${DESTDIR}${PREFIX}/${XXDIFFDOCDIR} + +.include "../../lang/python/distutils.mk" +.include "../../lang/python/application.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/xxdiff-scripts/PLIST b/textproc/xxdiff-scripts/PLIST new file mode 100644 index 00000000000..5128b50c48a --- /dev/null +++ b/textproc/xxdiff-scripts/PLIST @@ -0,0 +1,128 @@ +@comment $NetBSD: PLIST,v 1.1 2018/03/11 20:57:16 ginsbach Exp $ +bin/svn-foreign +bin/xx-cond-replace +bin/xx-cvs-diff +bin/xx-cvs-revcmp +bin/xx-diff-proxy +bin/xx-encrypted +bin/xx-filter +bin/xx-find-grep-sed +bin/xx-hg-merge +bin/xx-match +bin/xx-p4-unmerge +bin/xx-pyline +bin/xx-rename +bin/xx-sql-schemas +bin/xx-svn-diff +bin/xx-svn-resolve +bin/xx-svn-review +${PYSITELIB}/xxdiff/__init__.py +${PYSITELIB}/xxdiff/__init__.pyc +${PYSITELIB}/xxdiff/__init__.pyo +${PYSITELIB}/xxdiff/backup.py +${PYSITELIB}/xxdiff/backup.pyc +${PYSITELIB}/xxdiff/backup.pyo +${PYSITELIB}/xxdiff/checkout.py +${PYSITELIB}/xxdiff/checkout.pyc +${PYSITELIB}/xxdiff/checkout.pyo +${PYSITELIB}/xxdiff/condrepl.py +${PYSITELIB}/xxdiff/condrepl.pyc +${PYSITELIB}/xxdiff/condrepl.pyo +${PYSITELIB}/xxdiff/db/__init__.py +${PYSITELIB}/xxdiff/db/__init__.pyc +${PYSITELIB}/xxdiff/db/__init__.pyo +${PYSITELIB}/xxdiff/db/postgresql.py +${PYSITELIB}/xxdiff/db/postgresql.pyc +${PYSITELIB}/xxdiff/db/postgresql.pyo +${PYSITELIB}/xxdiff/editor.py +${PYSITELIB}/xxdiff/editor.pyc +${PYSITELIB}/xxdiff/editor.pyo +${PYSITELIB}/xxdiff/history.py +${PYSITELIB}/xxdiff/history.pyc +${PYSITELIB}/xxdiff/history.pyo +${PYSITELIB}/xxdiff/invoke.py +${PYSITELIB}/xxdiff/invoke.pyc +${PYSITELIB}/xxdiff/invoke.pyo +${PYSITELIB}/xxdiff/mapcompare.py +${PYSITELIB}/xxdiff/mapcompare.pyc +${PYSITELIB}/xxdiff/mapcompare.pyo +${PYSITELIB}/xxdiff/patches.py +${PYSITELIB}/xxdiff/patches.pyc +${PYSITELIB}/xxdiff/patches.pyo +${PYSITELIB}/xxdiff/resilient.py +${PYSITELIB}/xxdiff/resilient.pyc +${PYSITELIB}/xxdiff/resilient.pyo +${PYSITELIB}/xxdiff/scm/__init__.py +${PYSITELIB}/xxdiff/scm/__init__.pyc +${PYSITELIB}/xxdiff/scm/__init__.pyo +${PYSITELIB}/xxdiff/scm/clearcase.py +${PYSITELIB}/xxdiff/scm/clearcase.pyc +${PYSITELIB}/xxdiff/scm/clearcase.pyo +${PYSITELIB}/xxdiff/scm/cvs.py +${PYSITELIB}/xxdiff/scm/cvs.pyc +${PYSITELIB}/xxdiff/scm/cvs.pyo +${PYSITELIB}/xxdiff/scm/perforce.py +${PYSITELIB}/xxdiff/scm/perforce.pyc +${PYSITELIB}/xxdiff/scm/perforce.pyo +${PYSITELIB}/xxdiff/scm/subversion.py +${PYSITELIB}/xxdiff/scm/subversion.pyc +${PYSITELIB}/xxdiff/scm/subversion.pyo +${PYSITELIB}/xxdiff/scripts/__init__.py +${PYSITELIB}/xxdiff/scripts/__init__.pyc +${PYSITELIB}/xxdiff/scripts/__init__.pyo +${PYSITELIB}/xxdiff/scripts/condreplace.py +${PYSITELIB}/xxdiff/scripts/condreplace.pyc +${PYSITELIB}/xxdiff/scripts/condreplace.pyo +${PYSITELIB}/xxdiff/scripts/cvsdiff.py +${PYSITELIB}/xxdiff/scripts/cvsdiff.pyc +${PYSITELIB}/xxdiff/scripts/cvsdiff.pyo +${PYSITELIB}/xxdiff/scripts/cvsrevcmp.py +${PYSITELIB}/xxdiff/scripts/cvsrevcmp.pyc +${PYSITELIB}/xxdiff/scripts/cvsrevcmp.pyo +${PYSITELIB}/xxdiff/scripts/diffproxy.py +${PYSITELIB}/xxdiff/scripts/diffproxy.pyc +${PYSITELIB}/xxdiff/scripts/diffproxy.pyo +${PYSITELIB}/xxdiff/scripts/encrypted.py +${PYSITELIB}/xxdiff/scripts/encrypted.pyc +${PYSITELIB}/xxdiff/scripts/encrypted.pyo +${PYSITELIB}/xxdiff/scripts/filter.py +${PYSITELIB}/xxdiff/scripts/filter.pyc +${PYSITELIB}/xxdiff/scripts/filter.pyo +${PYSITELIB}/xxdiff/scripts/findgrepsed.py +${PYSITELIB}/xxdiff/scripts/findgrepsed.pyc +${PYSITELIB}/xxdiff/scripts/findgrepsed.pyo +${PYSITELIB}/xxdiff/scripts/match.py +${PYSITELIB}/xxdiff/scripts/match.pyc +${PYSITELIB}/xxdiff/scripts/match.pyo +${PYSITELIB}/xxdiff/scripts/patch.py +${PYSITELIB}/xxdiff/scripts/patch.pyc +${PYSITELIB}/xxdiff/scripts/patch.pyo +${PYSITELIB}/xxdiff/scripts/pyline.py +${PYSITELIB}/xxdiff/scripts/pyline.pyc +${PYSITELIB}/xxdiff/scripts/pyline.pyo +${PYSITELIB}/xxdiff/scripts/rename.py +${PYSITELIB}/xxdiff/scripts/rename.pyc +${PYSITELIB}/xxdiff/scripts/rename.pyo +${PYSITELIB}/xxdiff/scripts/sqlschemas.py +${PYSITELIB}/xxdiff/scripts/sqlschemas.pyc +${PYSITELIB}/xxdiff/scripts/sqlschemas.pyo +${PYSITELIB}/xxdiff/scripts/svndiff.py +${PYSITELIB}/xxdiff/scripts/svndiff.pyc +${PYSITELIB}/xxdiff/scripts/svndiff.pyo +${PYSITELIB}/xxdiff/scripts/svnforeign.py +${PYSITELIB}/xxdiff/scripts/svnforeign.pyc +${PYSITELIB}/xxdiff/scripts/svnforeign.pyo +${PYSITELIB}/xxdiff/scripts/svnresolve.py +${PYSITELIB}/xxdiff/scripts/svnresolve.pyc +${PYSITELIB}/xxdiff/scripts/svnresolve.pyo +${PYSITELIB}/xxdiff/selectfiles.py +${PYSITELIB}/xxdiff/selectfiles.pyc +${PYSITELIB}/xxdiff/selectfiles.pyo +${PYSITELIB}/xxdiff/utils.py +${PYSITELIB}/xxdiff/utils.pyc +${PYSITELIB}/xxdiff/utils.pyo +${PYSITELIB}/xxdiff/xformloop.py +${PYSITELIB}/xxdiff/xformloop.pyc +${PYSITELIB}/xxdiff/xformloop.pyo +${PYSITELIB}/xxdiff_scripts-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info +share/doc/xxdiff/xxdiff-scripts.html |