aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordbaio <dbaio@FreeBSD.org>2018-01-27 20:54:08 +0800
committerdbaio <dbaio@FreeBSD.org>2018-01-27 20:54:08 +0800
commitd9f773845030100d81a9d0a7e73a2d24b8b08c4a (patch)
tree66c649ec5a2007ef3dc58b576df814dfd3db5c4c
parent77492c5147a18d918ccf524f0fcdd45bea366f66 (diff)
downloadfreebsd-ports-gnome-d9f773845030100d81a9d0a7e73a2d24b8b08c4a.tar.gz
freebsd-ports-gnome-d9f773845030100d81a9d0a7e73a2d24b8b08c4a.tar.zst
freebsd-ports-gnome-d9f773845030100d81a9d0a7e73a2d24b8b08c4a.zip
Add textproc/py-xml-default-dict: Python scripts to convert xml data into a defaultdict
Simple lib to convert xml file into a defaultdict from python collections lib, making more easy use the dict to accesses some tags of xml data. WWW: https://github.com/kanazux/xml-default-dict PR: 225382 Submitted by: Silvio Ap Silva <contato@kanazuchi.com>
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-xml-default-dict/Makefile20
-rw-r--r--textproc/py-xml-default-dict/distinfo3
-rw-r--r--textproc/py-xml-default-dict/pkg-descr4
4 files changed, 28 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 272f80c2741b..ca7f663e9b9a 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1394,6 +1394,7 @@
SUBDIR += py-xlutils
SUBDIR += py-xlwriter
SUBDIR += py-xlwt
+ SUBDIR += py-xml-default-dict
SUBDIR += py-yapf
SUBDIR += py-zope.app.i18n
SUBDIR += py-zope.app.locales
diff --git a/textproc/py-xml-default-dict/Makefile b/textproc/py-xml-default-dict/Makefile
new file mode 100644
index 000000000000..8649b3ed8cc8
--- /dev/null
+++ b/textproc/py-xml-default-dict/Makefile
@@ -0,0 +1,20 @@
+# Created by: Silvio Ap Silva aka kanazuchi <alvolivre@live.com>
+# $FreeBSD$
+
+PORTNAME= xml-default-dict
+PORTVERSION= 0.3
+CATEGORIES= textproc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= contato@kanazuchi.com
+COMMENT= Python scripts to convert xml data into a defaultdict
+
+LICENSE= BSD2CLAUSE
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-xml-default-dict/distinfo b/textproc/py-xml-default-dict/distinfo
new file mode 100644
index 000000000000..00035db09e73
--- /dev/null
+++ b/textproc/py-xml-default-dict/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1516638536
+SHA256 (xml-default-dict-0.3.tar.gz) = 5467497b193ac72384c37de584ec61d58211d0b539ba8dd31d7bac7343489d82
+SIZE (xml-default-dict-0.3.tar.gz) = 1927
diff --git a/textproc/py-xml-default-dict/pkg-descr b/textproc/py-xml-default-dict/pkg-descr
new file mode 100644
index 000000000000..82faed651710
--- /dev/null
+++ b/textproc/py-xml-default-dict/pkg-descr
@@ -0,0 +1,4 @@
+Simple lib to convert xml file into a defaultdict from python collections lib,
+making more easy use the dict to accesses some tags of xml data.
+
+WWW: https://github.com/kanazux/xml-default-dict