import py-xmldiff 0.6.10

xmldiff is a Python tool that figures out the differences between two
similar XML files, in the same way the diff utility does it.
Xmldiff can be used as a library or as a command line tool. It can work
either with XML files or DOM trees.

ok aja@
This commit is contained in:
jasper 2010-09-21 20:31:13 +00:00
parent b2d6baeb80
commit 5499466564
6 changed files with 147 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/09/21 20:31:13 jasper Exp $
COMMENT= show differences between XML files/DOM trees
MODPY_EGG_VERSION= 0.6.10
DISTNAME= xmldiff-${MODPY_EGG_VERSION}
PKGNAME= py-xmldiff-${MODPY_EGG_VERSION}
CATEGORIES= textproc
HOMEPAGE= http://www.logilab.org/859/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/python
MASTER_SITES= http://ftp.logilab.org/pub/xmldiff/
RUN_DEPENDS= ::shells/bash \
:py-xml-*:textproc/py-xml
pre-configure:
${SUBST_CMD} ${WRKSRC}/bin/{xmldiff,xmlrev}
do-regress:
@cd ${WRKSRC}/test/ && \
${MODPY_BIN} runtests.py
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (xmldiff-0.6.10.tar.gz) = ph5ulaEw471T9epWFsxTFA==
RMD160 (xmldiff-0.6.10.tar.gz) = ytP8BcRbOfZY9lDV5GWezHj55LU=
SHA1 (xmldiff-0.6.10.tar.gz) = zAd8RxBAM/dwVbXeHse57hzzvsg=
SHA256 (xmldiff-0.6.10.tar.gz) = g6uiUt8vdgyL8Ai5xdMICRHqstKznDcdO0f2er9LTsU=
SIZE (xmldiff-0.6.10.tar.gz) = 45827

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-bin_xmldiff,v 1.1.1.1 2010/09/21 20:31:13 jasper Exp $
--- bin/xmldiff.orig Tue Sep 21 20:30:40 2010
+++ bin/xmldiff Tue Sep 21 20:30:48 2010
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!${MODPY_BIN}
from xmldiff import main
main.run()

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-bin_xmlrev,v 1.1.1.1 2010/09/21 20:31:13 jasper Exp $
--- bin/xmlrev.orig Tue Sep 21 20:31:30 2010
+++ bin/xmlrev Tue Sep 21 20:31:39 2010
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!${LOCALBASE}/bin/bash
#
# (c) 2001-2004 Nicolas Chauvat <nicolas.chauvat@logilab.fr> - License is GPL

View File

@ -0,0 +1,5 @@
xmldiff is a Python tool that figures out the differences between two
similar XML files, in the same way the diff utility does it.
Xmldiff can be used as a library or as a command line tool. It can work
either with XML files or DOM trees.

View File

@ -0,0 +1,87 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/09/21 20:31:13 jasper Exp $
bin/xmldiff
bin/xmlrev
lib/python${MODPY_VERSION}/site-packages/xmldiff/
lib/python${MODPY_VERSION}/site-packages/xmldiff-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
lib/python${MODPY_VERSION}/site-packages/xmldiff/__init__.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/__pkginfo__.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/__pkginfo__.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/ezs.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/ezs.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/fmes.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/fmes.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/format.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/format.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/input.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/input.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/main.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/main.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/maplookup.so
lib/python${MODPY_VERSION}/site-packages/xmldiff/misc.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/misc.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/mydifflib.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/mydifflib.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/objects.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/objects.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/parser.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/parser.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/dir1/
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/dir1/inbothdir.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/dir1/onlyindir1.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/dir2/
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/dir2/inbothdir.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/dir2/onlyindir2.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test00_--xupdate_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test00_1.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test00_2.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test00_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test01_--xupdate_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test01_1.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test01_2.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test01_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test02_--xupdate_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test02_1.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test02_2.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test02_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test03_--xupdate_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test03_1.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test03_2.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test03_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test04_--xupdate_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test04_1.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test04_2.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test04_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test05_--xupdate_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test05_1.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test05_2.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test05_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test06_--xupdate_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test06_1.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test06_2.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test06_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test07_--xupdate_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test07_1.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test07_2.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test07_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test08_--xupdate_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test08_1.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test08_2.xml
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/data/test08_result
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/regrtest.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/regrtest.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/runtests.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/runtests.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/unittest_difflib.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/unittest_difflib.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/unittest_options.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/unittest_options.pyc
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/unittest_parser.py
lib/python${MODPY_VERSION}/site-packages/xmldiff/test/unittest_parser.pyc
share/sgml/
share/sgml/stylesheet/
share/sgml/stylesheet/xmldiff/
share/sgml/stylesheet/xmldiff/docbook_rev.xsl
share/sgml/stylesheet/xmldiff/xmlrev.xslt