From b9dcbf17ee39781ae54415d84bd02751eba8e012 Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Sun, 3 Jan 2010 08:13:38 +0000 Subject: [PATCH] The dexml module takes the obvious mapping between XML tags and Python objects and lets you capture that as cleanly as possible. Loosely inspired by Django's ORM, you write simple class definitions to define the expected structure of your XML document. WWW: http://www.rfk.id.au/software/ --- devel/Makefile | 1 + devel/py-dexml/Makefile | 20 ++++++++++++++++++++ devel/py-dexml/distinfo | 3 +++ devel/py-dexml/pkg-descr | 6 ++++++ devel/py-dexml/pkg-plist | 17 +++++++++++++++++ 5 files changed, 47 insertions(+) create mode 100644 devel/py-dexml/Makefile create mode 100644 devel/py-dexml/distinfo create mode 100644 devel/py-dexml/pkg-descr create mode 100644 devel/py-dexml/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 9d4f7dc78873..9d72a1e0b9e5 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2463,6 +2463,7 @@ SUBDIR += py-decorator SUBDIR += py-decoratortools SUBDIR += py-demjson + SUBDIR += py-dexml SUBDIR += py-dialog SUBDIR += py-distorm SUBDIR += py-durus diff --git a/devel/py-dexml/Makefile b/devel/py-dexml/Makefile new file mode 100644 index 000000000000..fd98e348ec8c --- /dev/null +++ b/devel/py-dexml/Makefile @@ -0,0 +1,20 @@ +# Ports collection makefile for: py-dexml +# Date created: 3rd Jan, 2010 +# Whom: Wen Heping +# +# $FreeBSD$ +# + +PORTNAME= dexml +PORTVERSION= 0.3.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= A dead-simple Object-XML mapper for Python + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install + +.include diff --git a/devel/py-dexml/distinfo b/devel/py-dexml/distinfo new file mode 100644 index 000000000000..c0eed6e3d4c3 --- /dev/null +++ b/devel/py-dexml/distinfo @@ -0,0 +1,3 @@ +MD5 (dexml-0.3.0.tar.gz) = fd6227a6980efb93d5b5d393d41150ef +SHA256 (dexml-0.3.0.tar.gz) = bbe8b7b070f2d15f59e2905cc6d5558dc370d3b3dcde70a02847eb02ea025bd0 +SIZE (dexml-0.3.0.tar.gz) = 13206 diff --git a/devel/py-dexml/pkg-descr b/devel/py-dexml/pkg-descr new file mode 100644 index 000000000000..5c56b0dff20e --- /dev/null +++ b/devel/py-dexml/pkg-descr @@ -0,0 +1,6 @@ +The dexml module takes the obvious mapping between XML tags and +Python objects and lets you capture that as cleanly as possible. +Loosely inspired by Django's ORM, you write simple class definitions +to define the expected structure of your XML document. + +WWW: http://www.rfk.id.au/software/ diff --git a/devel/py-dexml/pkg-plist b/devel/py-dexml/pkg-plist new file mode 100644 index 000000000000..80a4f32bd3c5 --- /dev/null +++ b/devel/py-dexml/pkg-plist @@ -0,0 +1,17 @@ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dexml/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dexml/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dexml/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dexml/fields.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dexml/fields.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dexml/fields.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dexml/test.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dexml/test.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dexml/test.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/dexml +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%