aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2012-09-25 19:02:08 +0800
committeraraujo <araujo@FreeBSD.org>2012-09-25 19:02:08 +0800
commitbb4b822b9448e4a273fddaf78b5d86a94aa4f756 (patch)
treeeea8786e02ab97f00e45966cb099fc918ad8530e
parente9060c37e0fb903423381b7d010443a23f58d3be (diff)
downloadfreebsd-ports-gnome-bb4b822b9448e4a273fddaf78b5d86a94aa4f756.tar.gz
freebsd-ports-gnome-bb4b822b9448e4a273fddaf78b5d86a94aa4f756.tar.zst
freebsd-ports-gnome-bb4b822b9448e4a273fddaf78b5d86a94aa4f756.zip
This module provides only 2 methods, XMLin and XMLout. XMLin convert xml to python object, and XMLout python object to xml.
This module is inspired by XML::Simple in CPAN, but some options of XML::Simple are not supported. WWW: http://pypi.python.org/pypi/pyxml2obj/
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-pyxml2obj/Makefile17
-rw-r--r--devel/py-pyxml2obj/distinfo2
-rw-r--r--devel/py-pyxml2obj/pkg-descr5
-rw-r--r--devel/py-pyxml2obj/pkg-plist1
5 files changed, 26 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b80694f6b5d7..2597a146f148 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3416,6 +3416,7 @@
SUBDIR += py-pythonbrew
SUBDIR += py-pytz
SUBDIR += py-pyutil
+ SUBDIR += py-pyxml2obj
SUBDIR += py-pyzmq
SUBDIR += py-qserve
SUBDIR += py-qt4
diff --git a/devel/py-pyxml2obj/Makefile b/devel/py-pyxml2obj/Makefile
new file mode 100644
index 000000000000..626f28c6e0c7
--- /dev/null
+++ b/devel/py-pyxml2obj/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME= pyxml2obj
+PORTVERSION= 0.1.2.9
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= araujo@FreeBSD.org
+COMMENT= A simple way to convert xml to python object and vice versa
+
+LICENSE= MIT
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= easy_install
+
+.include <bsd.port.mk>
diff --git a/devel/py-pyxml2obj/distinfo b/devel/py-pyxml2obj/distinfo
new file mode 100644
index 000000000000..f22acbbc1cf5
--- /dev/null
+++ b/devel/py-pyxml2obj/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pyxml2obj-0.1.2.9.tar.gz) = ccbcfe9664e0a9d63f577aa6ce2b190faee2e8d3ad3497389ad3e605440e2e88
+SIZE (pyxml2obj-0.1.2.9.tar.gz) = 11296
diff --git a/devel/py-pyxml2obj/pkg-descr b/devel/py-pyxml2obj/pkg-descr
new file mode 100644
index 000000000000..eeba8e53282e
--- /dev/null
+++ b/devel/py-pyxml2obj/pkg-descr
@@ -0,0 +1,5 @@
+This module provides only 2 methods, XMLin and XMLout. XMLin convert xml to python object, and XMLout python object to xml.
+
+This module is inspired by XML::Simple in CPAN, but some options of XML::Simple are not supported.
+
+WWW: http://pypi.python.org/pypi/pyxml2obj/
diff --git a/devel/py-pyxml2obj/pkg-plist b/devel/py-pyxml2obj/pkg-plist
new file mode 100644
index 000000000000..ddf68a1c022f
--- /dev/null
+++ b/devel/py-pyxml2obj/pkg-plist
@@ -0,0 +1 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%