aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2005-03-03 00:20:25 +0800
committerbarner <barner@FreeBSD.org>2005-03-03 00:20:25 +0800
commitc591e06487d055a30d8d44aca37a31a8d72a5875 (patch)
tree0b32429d304a059dccb83539d40cbbc714f1c054 /devel
parent66d714dee9fc7941d037f5134feaeb646b3e0293 (diff)
downloadfreebsd-ports-gnome-c591e06487d055a30d8d44aca37a31a8d72a5875.tar.gz
freebsd-ports-gnome-c591e06487d055a30d8d44aca37a31a8d72a5875.tar.zst
freebsd-ports-gnome-c591e06487d055a30d8d44aca37a31a8d72a5875.zip
Add py-elementtree 1.2, a container for hierarchical data
structures written in Python PR: ports/77640 Approved by: arved (mentor)
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-elementtree/Makefile32
-rw-r--r--devel/py-elementtree/distinfo2
-rw-r--r--devel/py-elementtree/pkg-descr19
-rw-r--r--devel/py-elementtree/pkg-plist50
5 files changed, 104 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index cc7ef8c91524..78eab35c2ec3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1240,6 +1240,7 @@
SUBDIR += py-cxx
SUBDIR += py-dbus
SUBDIR += py-dialog
+ SUBDIR += py-elementtree
SUBDIR += py-fam
SUBDIR += py-fileutils
SUBDIR += py-fortran
diff --git a/devel/py-elementtree/Makefile b/devel/py-elementtree/Makefile
new file mode 100644
index 000000000000..1c24844766a7
--- /dev/null
+++ b/devel/py-elementtree/Makefile
@@ -0,0 +1,32 @@
+# Ports collection makefile for: py-elementtree
+# Date created: Feb 28, 2005
+# Whom: barner
+#
+# $FreeBSD$
+#
+
+PORTNAME= elementtree
+PORTVERSION= 1.2
+CATEGORIES= devel python
+MASTER_SITES= http://effbot.org/downloads/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-20040618
+
+MAINTAINER= barner@FreeBSD.org
+COMMENT= Container for hierarchical data structures written in Python
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/samples/ ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/py-elementtree/distinfo b/devel/py-elementtree/distinfo
new file mode 100644
index 000000000000..b93dc9a8545b
--- /dev/null
+++ b/devel/py-elementtree/distinfo
@@ -0,0 +1,2 @@
+MD5 (elementtree-1.2-20040618.tar.gz) = 5248475384dbbda2cfa976481c719e25
+SIZE (elementtree-1.2-20040618.tar.gz) = 37321
diff --git a/devel/py-elementtree/pkg-descr b/devel/py-elementtree/pkg-descr
new file mode 100644
index 000000000000..fce712f92fb7
--- /dev/null
+++ b/devel/py-elementtree/pkg-descr
@@ -0,0 +1,19 @@
+Adopted from the documentation:
+
+The Element type is a flexible container object, designed to store hierarchical
+data structures in memory. The type can be described as a cross between a list
+and a dictionary.
+
+Each element has a number of properties associated with it:
+
+ * a tag. This is a string identifying what kind of data this element
+ represents (the element type, in other words).
+ * a number of attributes, stored in a Python dictionary.
+ * a text string.
+ * an optional tail string.
+ * a number of child elements, stored in a Python sequence
+
+The ElementTree class can be used to wrap an element structure, and convert it
+from and to XML.
+
+WWW: http://effbot.org/zone/element-index.htm
diff --git a/devel/py-elementtree/pkg-plist b/devel/py-elementtree/pkg-plist
new file mode 100644
index 000000000000..5a90d0f17463
--- /dev/null
+++ b/devel/py-elementtree/pkg-plist
@@ -0,0 +1,50 @@
+%%PYTHON_SITELIBDIR%%/elementtree/ElementInclude.py
+%%PYTHON_SITELIBDIR%%/elementtree/ElementInclude.pyc
+%%PYTHON_SITELIBDIR%%/elementtree/ElementInclude.pyo
+%%PYTHON_SITELIBDIR%%/elementtree/ElementPath.py
+%%PYTHON_SITELIBDIR%%/elementtree/ElementPath.pyc
+%%PYTHON_SITELIBDIR%%/elementtree/ElementPath.pyo
+%%PYTHON_SITELIBDIR%%/elementtree/ElementTree.py
+%%PYTHON_SITELIBDIR%%/elementtree/ElementTree.pyc
+%%PYTHON_SITELIBDIR%%/elementtree/ElementTree.pyo
+%%PYTHON_SITELIBDIR%%/elementtree/HTMLTreeBuilder.py
+%%PYTHON_SITELIBDIR%%/elementtree/HTMLTreeBuilder.pyc
+%%PYTHON_SITELIBDIR%%/elementtree/HTMLTreeBuilder.pyo
+%%PYTHON_SITELIBDIR%%/elementtree/SgmlopXMLTreeBuilder.py
+%%PYTHON_SITELIBDIR%%/elementtree/SgmlopXMLTreeBuilder.pyc
+%%PYTHON_SITELIBDIR%%/elementtree/SgmlopXMLTreeBuilder.pyo
+%%PYTHON_SITELIBDIR%%/elementtree/SimpleXMLTreeBuilder.py
+%%PYTHON_SITELIBDIR%%/elementtree/SimpleXMLTreeBuilder.pyc
+%%PYTHON_SITELIBDIR%%/elementtree/SimpleXMLTreeBuilder.pyo
+%%PYTHON_SITELIBDIR%%/elementtree/SimpleXMLWriter.py
+%%PYTHON_SITELIBDIR%%/elementtree/SimpleXMLWriter.pyc
+%%PYTHON_SITELIBDIR%%/elementtree/SimpleXMLWriter.pyo
+%%PYTHON_SITELIBDIR%%/elementtree/TidyHTMLTreeBuilder.py
+%%PYTHON_SITELIBDIR%%/elementtree/TidyHTMLTreeBuilder.pyc
+%%PYTHON_SITELIBDIR%%/elementtree/TidyHTMLTreeBuilder.pyo
+%%PYTHON_SITELIBDIR%%/elementtree/TidyTools.py
+%%PYTHON_SITELIBDIR%%/elementtree/TidyTools.pyc
+%%PYTHON_SITELIBDIR%%/elementtree/TidyTools.pyo
+%%PYTHON_SITELIBDIR%%/elementtree/XMLTreeBuilder.py
+%%PYTHON_SITELIBDIR%%/elementtree/XMLTreeBuilder.pyc
+%%PYTHON_SITELIBDIR%%/elementtree/XMLTreeBuilder.pyo
+%%PYTHON_SITELIBDIR%%/elementtree/__init__.py
+%%PYTHON_SITELIBDIR%%/elementtree/__init__.pyc
+%%PYTHON_SITELIBDIR%%/elementtree/__init__.pyo
+%%PORTDOCS%%%%DOCSDIR%%/effbot.css
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/pythondoc-elementtree.ElementInclude.html
+%%PORTDOCS%%%%DOCSDIR%%/pythondoc-elementtree.ElementPath.html
+%%PORTDOCS%%%%DOCSDIR%%/pythondoc-elementtree.ElementTree.html
+%%PORTDOCS%%%%DOCSDIR%%/pythondoc-elementtree.HTMLTreeBuilder.html
+%%PORTDOCS%%%%DOCSDIR%%/pythondoc-elementtree.SgmlopXMLTreeBuilder.html
+%%PORTDOCS%%%%DOCSDIR%%/pythondoc-elementtree.SimpleXMLTreeBuilder.html
+%%PORTDOCS%%%%DOCSDIR%%/pythondoc-elementtree.SimpleXMLWriter.html
+%%PORTDOCS%%%%DOCSDIR%%/pythondoc-elementtree.TidyHTMLTreeBuilder.html
+%%PORTDOCS%%%%DOCSDIR%%/pythondoc-elementtree.TidyTools.html
+%%PORTDOCS%%%%DOCSDIR%%/pythondoc-elementtree.XMLTreeBuilder.html
+%%PORTDOCS%%%%EXAMPLESDIR%%/simple-ns.xml
+%%PORTDOCS%%%%EXAMPLESDIR%%/simple.xml
+@dirrm %%PYTHON_SITELIBDIR%%/elementtree
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%