1
0
forked from ports/opt

add python-elementtree, python-celementtree, python-xlib

This commit is contained in:
Johannes Winkelmann 2005-11-09 22:32:49 +00:00
parent c25cdfca5c
commit 5975825779
11 changed files with 219 additions and 0 deletions

View File

@ -0,0 +1,5 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python2.4/
drwxr-xr-x root/root usr/lib/python2.4/site-packages/
-rwxr-xr-x root/root usr/lib/python2.4/site-packages/cElementTree.so

View File

@ -0,0 +1 @@
70372441ffa9e45233876b024bf66bbe cElementTree-1.0.2-20050302.tar.gz

View File

@ -0,0 +1,16 @@
# $Id: Pkgfile,v 1.1 2005/10/29 12:14:47 jw Exp $
# Packager: Johannes Winkelmann, jw at tks6 dot net
# Maintainer: Johannes Winkelmann, jw at tks6 dot net
# Description: a C implementation of the ElementTree API
# URL: http://effbot.org/zone/celementtree.htm
# Depends on: python-elementtree
name=python-celementtree
version=1.0.2-20050302
release=1
source=(http://effbot.org/downloads/cElementTree-${version}.tar.gz)
build() {
cd cElementTree-$version
python setup.py install --root=$PKG
}

View File

@ -0,0 +1,27 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python2.4/
drwxr-xr-x root/root usr/lib/python2.4/site-packages/
drwxr-xr-x root/root usr/lib/python2.4/site-packages/elementtree/
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/ElementInclude.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/ElementInclude.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/ElementPath.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/ElementPath.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/ElementTree.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/ElementTree.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/HTMLTreeBuilder.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/HTMLTreeBuilder.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/SgmlopXMLTreeBuilder.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/SgmlopXMLTreeBuilder.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/SimpleXMLTreeBuilder.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/SimpleXMLTreeBuilder.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/SimpleXMLWriter.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/SimpleXMLWriter.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/TidyHTMLTreeBuilder.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/TidyHTMLTreeBuilder.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/TidyTools.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/TidyTools.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/XMLTreeBuilder.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/XMLTreeBuilder.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/__init__.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/elementtree/__init__.pyc

View File

@ -0,0 +1 @@
e1b21716be8bfff8bf192fc3880ad008 elementtree-1.2.6-20050316.tar.gz

View File

@ -0,0 +1,17 @@
# $Id: Pkgfile,v 1.1 2005/10/29 12:12:43 jw Exp $
# Packager: Johannes Winkelmann, jw at tks6 dot net
# Maintainer: Johannes Winkelmann, jw at tks6 dot net
# Description: flexible container object, designed to store hierarchical data
# URL: http://effbot.org/zone/element-index.htm
# Depends on: python
name=python-elementtree
version=1.2.6-20050316
release=1
source=(http://effbot.org/downloads/elementtree-${version}.tar.gz)
build() {
cd elementtree-$version
python setup.py install --root=$PKG
}

110
python-xlib/.footprint Normal file
View File

@ -0,0 +1,110 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python2.4/
drwxr-xr-x root/root usr/lib/python2.4/site-packages/
drwxr-xr-x root/root usr/lib/python2.4/site-packages/Xlib/
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/X.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/X.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/XK.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/XK.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/Xatom.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/Xatom.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/Xcursorfont.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/Xcursorfont.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/Xutil.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/Xutil.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/__init__.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/__init__.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/display.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/display.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/error.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/error.pyc
drwxr-xr-x root/root usr/lib/python2.4/site-packages/Xlib/ext/
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/ext/__init__.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/ext/__init__.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/ext/shape.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/ext/shape.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/ext/xtest.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/ext/xtest.pyc
drwxr-xr-x root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/__init__.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/__init__.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/apl.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/apl.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/arabic.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/arabic.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/cyrillic.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/cyrillic.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/greek.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/greek.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/hebrew.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/hebrew.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/katakana.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/katakana.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/korean.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/korean.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/latin1.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/latin1.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/latin2.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/latin2.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/latin3.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/latin3.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/latin4.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/latin4.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/miscellany.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/miscellany.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/publishing.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/publishing.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/special.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/special.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/technical.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/technical.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/thai.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/thai.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/xk3270.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/xk3270.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/xkb.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/keysymdef/xkb.pyc
drwxr-xr-x root/root usr/lib/python2.4/site-packages/Xlib/protocol/
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/__init__.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/__init__.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/display.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/display.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/event.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/event.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/request.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/request.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/rq.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/rq.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/structs.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/protocol/structs.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/rdb.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/rdb.pyc
drwxr-xr-x root/root usr/lib/python2.4/site-packages/Xlib/support/
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/support/__init__.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/support/__init__.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/support/connect.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/support/connect.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/support/lock.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/support/lock.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/support/unix_connect.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/support/unix_connect.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/support/vms_connect.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/support/vms_connect.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/threaded.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/threaded.pyc
drwxr-xr-x root/root usr/lib/python2.4/site-packages/Xlib/xobject/
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/__init__.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/__init__.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/colormap.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/colormap.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/cursor.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/cursor.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/drawable.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/drawable.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/fontable.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/fontable.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/icccm.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/icccm.pyc
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/resource.py
-rw-r--r-- root/root usr/lib/python2.4/site-packages/Xlib/xobject/resource.pyc

3
python-xlib/.md5sum Normal file
View File

@ -0,0 +1,3 @@
c192421d6c88c72e1b3736971956988e display.py-encoding.diff
4dfbefa2a135ba60ef31eb726a967ba3 python-xlib-0.12-attr-err.diff
83b294f34876c06b1a7697227249cb83 python-xlib-0.12.tar.gz

18
python-xlib/Pkgfile Normal file
View File

@ -0,0 +1,18 @@
# $Id: Pkgfile,v 1.2 2005/09/08 13:35:06 jw Exp $
# Description: python interface to xlib
# URL: http://python-xlib.sourceforge.net
# Packager: Johannes Winkelmann, jw at tks6 dot net
# Depends on: python x11
name=python-xlib
version=0.12
release=2
source=(http://dl.sourceforge.net/sourceforge/python-xlib/$name-$version.tar.gz\
display.py-encoding.diff python-xlib-0.12-attr-err.diff)
build() {
cd $name-$version
patch Xlib/protocol/display.py $SRC/display.py-encoding.diff
patch -p1 < $SRC/python-xlib-0.12-attr-err.diff
python setup.py install --root=$PKG --prefix=/usr
}

View File

@ -0,0 +1,10 @@
# must. add. comment. to. fool. stupid. cvs
--- display.py.orig 2005-05-20 17:12:24.211812496 +0200
+++ display.py 2005-05-20 17:13:07.607215392 +0200
@@ -1,4 +1,5 @@
# $Id: display.py,v 1.17 2002/02/25 11:09:23 petli Exp $
+# -*- coding: utf-8 -*-
#
# Xlib.protocol.display -- core display communication
#

View File

@ -0,0 +1,11 @@
--- python-xlib-0.12/Xlib/protocol/display.py.orig 2005-06-24 16:55:40.762074352 +0200
+++ python-xlib-0.12/Xlib/protocol/display.py 2005-06-24 16:55:48.512896048 +0200
@@ -527,7 +527,7 @@
# We're the recieving thread, parse the data
if recieving:
try:
- recv = self.socket.recv(2048)
+ recv = self.socket.recv(4096)
except socket.error, err:
self.close_internal('server: %s' % err[1])
raise self.socket_error