aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2007-04-28 20:28:47 +0800
committernivit <nivit@FreeBSD.org>2007-04-28 20:28:47 +0800
commit93b7cdaabc3b14e493dd585e89a29399172b36c0 (patch)
tree63fab64bd43118006c24f425051911e4ff2f19ee /textproc
parent0f51ebc23d59438d9788a538082739ca233711d8 (diff)
downloadfreebsd-ports-gnome-93b7cdaabc3b14e493dd585e89a29399172b36c0.tar.gz
freebsd-ports-gnome-93b7cdaabc3b14e493dd585e89a29399172b36c0.tar.zst
freebsd-ports-gnome-93b7cdaabc3b14e493dd585e89a29399172b36c0.zip
- Update to 1.3.0
- Add files/pkg-deinstall.in PR: ports/112200 Submitted by: John Holland <jholland at kazoocmh.org> (maintainer)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-pyx12/Makefile8
-rw-r--r--textproc/py-pyx12/distinfo6
-rw-r--r--textproc/py-pyx12/files/pkg-deinstall.in17
-rw-r--r--textproc/py-pyx12/pkg-descr2
-rw-r--r--textproc/py-pyx12/pkg-plist172
5 files changed, 139 insertions, 66 deletions
diff --git a/textproc/py-pyx12/Makefile b/textproc/py-pyx12/Makefile
index e8ab10cc0b84..c48e96701e39 100644
--- a/textproc/py-pyx12/Makefile
+++ b/textproc/py-pyx12/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pyx12
-PORTVERSION= 1.2.0
+PORTVERSION= 1.3.0
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -24,7 +24,13 @@ USE_BZIP2= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
+MAN1= x12valid.1 x12norm.1 x12xml.1
+MAN5= pyx12.conf.xml.5
+SUB_FILES= pkg-deinstall
+
post-install:
${WRKSRC}/bin/x12_build_pkl.py ${PREFIX}/share/pyx12/map/
+ cd ${WRKSRC}/bin && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1
+ cd ${WRKSRC}/bin && ${INSTALL_MAN} ${MAN5} ${MAN1PREFIX}/man/man5
.include <bsd.port.mk>
diff --git a/textproc/py-pyx12/distinfo b/textproc/py-pyx12/distinfo
index f79bfc921c9c..ecc090b9aaf0 100644
--- a/textproc/py-pyx12/distinfo
+++ b/textproc/py-pyx12/distinfo
@@ -1,3 +1,3 @@
-MD5 (pyx12-1.2.0.tar.bz2) = b494e8cc6b8f42ac0d721f4cc0f471a4
-SHA256 (pyx12-1.2.0.tar.bz2) = 32a821dc8fcc696ebecafa0203a5e6bf378aee4afb694950ba3e8b1d24c82f73
-SIZE (pyx12-1.2.0.tar.bz2) = 259914
+MD5 (pyx12-1.3.0.tar.bz2) = 12e3910d5a3af8df4a661b57c2dcfedf
+SHA256 (pyx12-1.3.0.tar.bz2) = a306d521e8ad83e3ec111ecc171375f5d315ebe203c9e35214bc0dfe41c42915
+SIZE (pyx12-1.3.0.tar.bz2) = 247223
diff --git a/textproc/py-pyx12/files/pkg-deinstall.in b/textproc/py-pyx12/files/pkg-deinstall.in
new file mode 100644
index 000000000000..6f79ab6fb6dc
--- /dev/null
+++ b/textproc/py-pyx12/files/pkg-deinstall.in
@@ -0,0 +1,17 @@
+#!/bin/sh
+PKGNAME=$1
+#
+case $2 in
+ DEINSTALL)
+ rm -f %%DATADIR%%/test/*.pyc
+ rm -f %%DATADIR%%/test/*.pyo
+ ;;
+ POST-DEINSTALL)
+ exit 0
+ ;;
+ *)
+ echo "Unexpected Argument $2!!!"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/textproc/py-pyx12/pkg-descr b/textproc/py-pyx12/pkg-descr
index 206993813de0..9c24fc7e0578 100644
--- a/textproc/py-pyx12/pkg-descr
+++ b/textproc/py-pyx12/pkg-descr
@@ -2,4 +2,4 @@ pyx12 is a python based ANSI X.12 to XML EDI translator and validator. It is
designed to be a step in the conversion of a X12 transaction to back-end
database process. The initial target is X12N to support HIPAA transactions.
-WWW: http://sourceforge.net/projects/pyx12/
+WWW: http://pyx12.sourceforge.net/
diff --git a/textproc/py-pyx12/pkg-plist b/textproc/py-pyx12/pkg-plist
index 674d601a04f5..22249d6caeeb 100644
--- a/textproc/py-pyx12/pkg-plist
+++ b/textproc/py-pyx12/pkg-plist
@@ -8,10 +8,13 @@ bin/x12xml
bin/xmlx12
%%PYTHON_SITELIBDIR%%/pyx12/__init__.py
%%PYTHON_SITELIBDIR%%/pyx12/codes.py
+%%PYTHON_SITELIBDIR%%/pyx12/dataele.py
+%%PYTHON_SITELIBDIR%%/pyx12/errh_xml.py
%%PYTHON_SITELIBDIR%%/pyx12/error_997.py
%%PYTHON_SITELIBDIR%%/pyx12/error_debug.py
%%PYTHON_SITELIBDIR%%/pyx12/error_handler.py
%%PYTHON_SITELIBDIR%%/pyx12/error_html.py
+%%PYTHON_SITELIBDIR%%/pyx12/error_item.py
%%PYTHON_SITELIBDIR%%/pyx12/error_visitor.py
%%PYTHON_SITELIBDIR%%/pyx12/errors.py
%%PYTHON_SITELIBDIR%%/pyx12/map_if.py
@@ -29,12 +32,30 @@ bin/xmlx12
%%PYTHON_SITELIBDIR%%/pyx12/x12xml_simple.py
%%PYTHON_SITELIBDIR%%/pyx12/xmlwriter.py
%%PYTHON_SITELIBDIR%%/pyx12/xmlx12_simple.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/codes.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/dataele.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/dups.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/map_if.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/map_index.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/map_walker.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/params.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/path.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/segment.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/syntax.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/utils.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/x12file.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/x12xml_idtag.py
+%%PYTHON_SITELIBDIR%%/pyx12/tests/xmlwriter.py
%%PYTHON_SITELIBDIR%%/pyx12/__init__.pyc
%%PYTHON_SITELIBDIR%%/pyx12/codes.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/dataele.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/errh_xml.pyc
%%PYTHON_SITELIBDIR%%/pyx12/error_997.pyc
%%PYTHON_SITELIBDIR%%/pyx12/error_debug.pyc
%%PYTHON_SITELIBDIR%%/pyx12/error_handler.pyc
%%PYTHON_SITELIBDIR%%/pyx12/error_html.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/error_item.pyc
%%PYTHON_SITELIBDIR%%/pyx12/error_visitor.pyc
%%PYTHON_SITELIBDIR%%/pyx12/errors.pyc
%%PYTHON_SITELIBDIR%%/pyx12/map_if.pyc
@@ -52,12 +73,30 @@ bin/xmlx12
%%PYTHON_SITELIBDIR%%/pyx12/x12xml_simple.pyc
%%PYTHON_SITELIBDIR%%/pyx12/xmlwriter.pyc
%%PYTHON_SITELIBDIR%%/pyx12/xmlx12_simple.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/codes.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/dataele.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/dups.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/map_if.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/map_index.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/map_walker.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/params.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/path.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/segment.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/syntax.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/utils.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/x12file.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/x12xml_idtag.pyc
+%%PYTHON_SITELIBDIR%%/pyx12/tests/xmlwriter.pyc
%%PYTHON_SITELIBDIR%%/pyx12/__init__.pyo
%%PYTHON_SITELIBDIR%%/pyx12/codes.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/dataele.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/errh_xml.pyo
%%PYTHON_SITELIBDIR%%/pyx12/error_997.pyo
%%PYTHON_SITELIBDIR%%/pyx12/error_debug.pyo
%%PYTHON_SITELIBDIR%%/pyx12/error_handler.pyo
%%PYTHON_SITELIBDIR%%/pyx12/error_html.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/error_item.pyo
%%PYTHON_SITELIBDIR%%/pyx12/error_visitor.pyo
%%PYTHON_SITELIBDIR%%/pyx12/errors.pyo
%%PYTHON_SITELIBDIR%%/pyx12/map_if.pyo
@@ -75,67 +114,78 @@ bin/xmlx12
%%PYTHON_SITELIBDIR%%/pyx12/x12xml_simple.pyo
%%PYTHON_SITELIBDIR%%/pyx12/xmlwriter.pyo
%%PYTHON_SITELIBDIR%%/pyx12/xmlx12_simple.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/codes.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/dataele.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/dups.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/map_if.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/map_index.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/map_walker.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/params.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/path.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/segment.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/syntax.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/utils.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/x12file.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/x12xml_idtag.pyo
+%%PYTHON_SITELIBDIR%%/pyx12/tests/xmlwriter.pyo
etc/pyx12.conf.xml.sample
-%%EXAMPLESDIR%%/pyx12.conf.xml.sample
-%%EXAMPLESDIR%%/test/test.py
-%%EXAMPLESDIR%%/test/test_codes.py
-%%EXAMPLESDIR%%/test/test_functional.py
-%%EXAMPLESDIR%%/test/test_map_if.py
-%%EXAMPLESDIR%%/test/test_map_index.py
-%%EXAMPLESDIR%%/test/test_map_walker.py
-%%EXAMPLESDIR%%/test/test_params.py
-%%EXAMPLESDIR%%/test/test_path.py
-%%EXAMPLESDIR%%/test/test_segment.py
-%%EXAMPLESDIR%%/test/test_syntax.py
-%%EXAMPLESDIR%%/test/test_utils.py
-%%EXAMPLESDIR%%/test/test_x12file.py
-%%EXAMPLESDIR%%/test/test_x12xml_idtag.py
-%%EXAMPLESDIR%%/test/files/bad_2010AA_bug.997.base
-%%EXAMPLESDIR%%/test/files/bad_2010AA_bug.txt
-%%EXAMPLESDIR%%/test/files/bad_elements.997.base
-%%EXAMPLESDIR%%/test/files/bad_elements.txt
-%%EXAMPLESDIR%%/test/files/bad_header_looping.997.base
-%%EXAMPLESDIR%%/test/files/bad_header_looping.txt
-%%EXAMPLESDIR%%/test/files/blank1.997.base
-%%EXAMPLESDIR%%/test/files/blank1.txt
-%%EXAMPLESDIR%%/test/files/ele.997.base
-%%EXAMPLESDIR%%/test/files/ele.txt
-%%EXAMPLESDIR%%/test/files/explicit_missing.997.base
-%%EXAMPLESDIR%%/test/files/explicit_missing.txt
-%%EXAMPLESDIR%%/test/files/fail_no_IEA.997.base
-%%EXAMPLESDIR%%/test/files/fail_no_IEA.txt
-%%EXAMPLESDIR%%/test/files/gs_id.txt
-%%EXAMPLESDIR%%/test/files/loop_counting.997.base
-%%EXAMPLESDIR%%/test/files/loop_counting.txt
-%%EXAMPLESDIR%%/test/files/mult_trn.997.base
-%%EXAMPLESDIR%%/test/files/mult_trn.txt
-%%EXAMPLESDIR%%/test/files/ordinal.997.base
-%%EXAMPLESDIR%%/test/files/ordinal.txt
-%%EXAMPLESDIR%%/test/files/ordinal.xml.idtag
-%%EXAMPLESDIR%%/test/files/ordinal.xml.idtagqual
-%%EXAMPLESDIR%%/test/files/ordinal.xml.simple
-%%EXAMPLESDIR%%/test/files/per_repeat.997.base
-%%EXAMPLESDIR%%/test/files/per_repeat.txt
-%%EXAMPLESDIR%%/test/files/simple1.997.base
-%%EXAMPLESDIR%%/test/files/simple1.txt
-%%EXAMPLESDIR%%/test/files/trailer_errors.997.base
-%%EXAMPLESDIR%%/test/files/trailer_errors.txt
-%%EXAMPLESDIR%%/test/files/trailing_terms.997.base
-%%EXAMPLESDIR%%/test/files/trailing_terms.txt
+%%DATADIR%%/pyx12.conf.xml.sample
+%%DATADIR%%/test/test.py
+%%DATADIR%%/test/test_codes.py
+%%DATADIR%%/test/test_dataele.py
+%%DATADIR%%/test/test_functional.py
+%%DATADIR%%/test/test_map_if.py
+%%DATADIR%%/test/test_map_index.py
+%%DATADIR%%/test/test_map_walker.py
+%%DATADIR%%/test/test_params.py
+%%DATADIR%%/test/test_path.py
+%%DATADIR%%/test/test_segment.py
+%%DATADIR%%/test/test_syntax.py
+%%DATADIR%%/test/test_utils.py
+%%DATADIR%%/test/test_x12file.py
+%%DATADIR%%/test/test_x12xml_idtag.py
+%%DATADIR%%/test/test_xmlwriter.py
+%%DATADIR%%/test/files/834_lui_id.997.base
+%%DATADIR%%/test/files/834_lui_id.txt
+%%DATADIR%%/test/files/bad_2010AA_bug.997.base
+%%DATADIR%%/test/files/bad_2010AA_bug.txt
+%%DATADIR%%/test/files/bad_elements.997.base
+%%DATADIR%%/test/files/bad_elements.txt
+%%DATADIR%%/test/files/bad_header_looping.997.base
+%%DATADIR%%/test/files/bad_header_looping.txt
+%%DATADIR%%/test/files/blank1.997.base
+%%DATADIR%%/test/files/blank1.txt
+%%DATADIR%%/test/files/ele.997.base
+%%DATADIR%%/test/files/ele.txt
+%%DATADIR%%/test/files/explicit_missing.997.base
+%%DATADIR%%/test/files/explicit_missing.txt
+%%DATADIR%%/test/files/fail_no_IEA.997.base
+%%DATADIR%%/test/files/fail_no_IEA.txt
+%%DATADIR%%/test/files/gs_id.txt
+%%DATADIR%%/test/files/loop_counting.997.base
+%%DATADIR%%/test/files/loop_counting.txt
+%%DATADIR%%/test/files/mult_isa.997.base
+%%DATADIR%%/test/files/mult_isa.txt
+%%DATADIR%%/test/files/mult_trn.997.base
+%%DATADIR%%/test/files/mult_trn.txt
+%%DATADIR%%/test/files/ordinal.997.base
+%%DATADIR%%/test/files/ordinal.txt
+%%DATADIR%%/test/files/ordinal.xml.idtag
+%%DATADIR%%/test/files/ordinal.xml.idtagqual
+%%DATADIR%%/test/files/ordinal.xml.simple
+%%DATADIR%%/test/files/per_repeat.997.base
+%%DATADIR%%/test/files/per_repeat.txt
+%%DATADIR%%/test/files/simple1.997.base
+%%DATADIR%%/test/files/simple1.txt
+%%DATADIR%%/test/files/trailer_errors.997.base
+%%DATADIR%%/test/files/trailer_errors.txt
+%%DATADIR%%/test/files/trailing_terms.997.base
+%%DATADIR%%/test/files/trailing_terms.txt
%%DOCSDIR%%/CHANGELOG.txt
%%DOCSDIR%%/INSTALL.txt
%%DOCSDIR%%/LICENSE.txt
%%DOCSDIR%%/README.txt
-%%DOCSDIR%%/view/Makefile
-%%DOCSDIR%%/view/codes.xsl
-%%DOCSDIR%%/view/loop.xsl
-%%DOCSDIR%%/view/map_seg.xsl
-%%DOCSDIR%%/view/map_sum.xsl
-%%DOCSDIR%%/view/loop.css
-%%DOCSDIR%%/view/none.css
-%%DOCSDIR%%/view/plain.css
-%%DOCSDIR%%/view/seg.css
-%%DOCSDIR%%/view/sum.css
%%DATADIR%%/map/270.4010.X092.A1.xml
%%DATADIR%%/map/270.4010.X092.xml
%%DATADIR%%/map/271.4010.X092.A1.xml
@@ -165,6 +215,7 @@ etc/pyx12.conf.xml.sample
%%DATADIR%%/map/997.4010.xml
%%DATADIR%%/map/codes.xml
%%DATADIR%%/map/comp_test.xml
+%%DATADIR%%/map/dataele.xml
%%DATADIR%%/map/maps.xml
%%DATADIR%%/map/x12.control.00401.xml
%%DATADIR%%/map/270.4010.X092.A1.pkl
@@ -200,11 +251,10 @@ etc/pyx12.conf.xml.sample
%%DATADIR%%/map/codes.xsd
%%DATADIR%%/map/map.xsd
%%DATADIR%%/map/x12simple.dtd
-@dirrm %%DOCSDIR%%/view
-@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%/map
+@dirrm %%DATADIR%%/test/files
+@dirrm %%DATADIR%%/test
@dirrm %%DATADIR%%
-@dirrm %%EXAMPLESDIR%%/test/files
-@dirrm %%EXAMPLESDIR%%/test
-@dirrm %%EXAMPLESDIR%%
+@dirrm %%DOCSDIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/pyx12/tests
@dirrm %%PYTHON_SITELIBDIR%%/pyx12