pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-xmldiff



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu May  4 11:35:13 UTC 2023

Added Files:
        pkgsrc/textproc/py-xmldiff: ALTERNATIVES DESCR Makefile PLIST distinfo

Log Message:
textproc/py-xmldiff: import py-xmldiff-2.6.1

xmldiff is a library and a command-line utility for making diffs
out of XML. This may seem like something that doesn't need a
dedicated utility, but change detection in hierarchical data is
very different from change detection in flat data. XML type formats
are also not only used for computer readable data, it is also often
used as a format for hierarchical data that can be rendered into
human readable formats. A traditional diff on such a format would
tell you line by line the differences, but this would not be be
readable by a human. xmldiff provides tools to make human readable
diffs in those situations.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-xmldiff/ALTERNATIVES \
    pkgsrc/textproc/py-xmldiff/DESCR pkgsrc/textproc/py-xmldiff/Makefile \
    pkgsrc/textproc/py-xmldiff/PLIST pkgsrc/textproc/py-xmldiff/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/py-xmldiff/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-xmldiff/ALTERNATIVES:1.1
--- /dev/null   Thu May  4 11:35:13 2023
+++ pkgsrc/textproc/py-xmldiff/ALTERNATIVES     Thu May  4 11:35:13 2023
@@ -0,0 +1,2 @@
+bin/xmldiff @PREFIX@/bin/xmldiff-@PYVERSSUFFIX@
+bin/xmlpatch @PREFIX@/bin/xmlpatch-@PYVERSSUFFIX@
Index: pkgsrc/textproc/py-xmldiff/DESCR
diff -u /dev/null pkgsrc/textproc/py-xmldiff/DESCR:1.1
--- /dev/null   Thu May  4 11:35:13 2023
+++ pkgsrc/textproc/py-xmldiff/DESCR    Thu May  4 11:35:13 2023
@@ -0,0 +1,10 @@
+xmldiff is a library and a command-line utility for making diffs
+out of XML. This may seem like something that doesn't need a
+dedicated utility, but change detection in hierarchical data is
+very different from change detection in flat data. XML type formats
+are also not only used for computer readable data, it is also often
+used as a format for hierarchical data that can be rendered into
+human readable formats. A traditional diff on such a format would
+tell you line by line the differences, but this would not be be
+readable by a human. xmldiff provides tools to make human readable
+diffs in those situations.
Index: pkgsrc/textproc/py-xmldiff/Makefile
diff -u /dev/null pkgsrc/textproc/py-xmldiff/Makefile:1.1
--- /dev/null   Thu May  4 11:35:13 2023
+++ pkgsrc/textproc/py-xmldiff/Makefile Thu May  4 11:35:13 2023
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2023/05/04 11:35:13 wiz Exp $
+
+DISTNAME=      xmldiff-2.6.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xmldiff/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/Shoobx/xmldiff
+COMMENT=       Creates diffs of XML files
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
+
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin; \
+       ${MV} xmldiff xmldiff-${PYVERSSUFFIX}; \
+       ${MV} xmlpatch xmlpatch-${PYVERSSUFFIX}; \
+       ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-xmldiff/PLIST
diff -u /dev/null pkgsrc/textproc/py-xmldiff/PLIST:1.1
--- /dev/null   Thu May  4 11:35:13 2023
+++ pkgsrc/textproc/py-xmldiff/PLIST    Thu May  4 11:35:13 2023
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1 2023/05/04 11:35:13 wiz Exp $
+bin/xmldiff-${PYVERSSUFFIX}
+bin/xmlpatch-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/xmldiff/__init__.py
+${PYSITELIB}/xmldiff/__init__.pyc
+${PYSITELIB}/xmldiff/__init__.pyo
+${PYSITELIB}/xmldiff/actions.py
+${PYSITELIB}/xmldiff/actions.pyc
+${PYSITELIB}/xmldiff/actions.pyo
+${PYSITELIB}/xmldiff/diff.py
+${PYSITELIB}/xmldiff/diff.pyc
+${PYSITELIB}/xmldiff/diff.pyo
+${PYSITELIB}/xmldiff/diff_match_patch.py
+${PYSITELIB}/xmldiff/diff_match_patch.pyc
+${PYSITELIB}/xmldiff/diff_match_patch.pyo
+${PYSITELIB}/xmldiff/formatting.py
+${PYSITELIB}/xmldiff/formatting.pyc
+${PYSITELIB}/xmldiff/formatting.pyo
+${PYSITELIB}/xmldiff/main.py
+${PYSITELIB}/xmldiff/main.pyc
+${PYSITELIB}/xmldiff/main.pyo
+${PYSITELIB}/xmldiff/patch.py
+${PYSITELIB}/xmldiff/patch.pyc
+${PYSITELIB}/xmldiff/patch.pyo
+${PYSITELIB}/xmldiff/utils.py
+${PYSITELIB}/xmldiff/utils.pyc
+${PYSITELIB}/xmldiff/utils.pyo
Index: pkgsrc/textproc/py-xmldiff/distinfo
diff -u /dev/null pkgsrc/textproc/py-xmldiff/distinfo:1.1
--- /dev/null   Thu May  4 11:35:13 2023
+++ pkgsrc/textproc/py-xmldiff/distinfo Thu May  4 11:35:13 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/05/04 11:35:13 wiz Exp $
+
+BLAKE2s (xmldiff-2.6.1.tar.gz) = 38ccff08ab7c4683730b739f3b3b4e9d5dc48ca74d4c52d77dd9f6af97cd548b
+SHA512 (xmldiff-2.6.1.tar.gz) = f8a6eab5eec3d995fba2d67c45e99710e0b57ea1d05910e651896009bc89a14b3baebcc9fe1eba49ca52d7e16b47c4480248e42db42f65268afa527199904b0d
+Size (xmldiff-2.6.1.tar.gz) = 85618 bytes



Home | Main Index | Thread Index | Old Index