summaryrefslogtreecommitdiff
path: root/pywordnet
diff options
context:
space:
mode:
authorJames Mills <prologic@daisy.(none)>2006-11-14 09:01:22 +1000
committerJames Mills <prologic@daisy.(none)>2006-11-14 09:01:22 +1000
commit70006e31d25693aa65fc985124ce9babbd3347fc (patch)
treef5d0078562a07b6fe3a22a630ea5310561d9b538 /pywordnet
parent797dcbebf82a5cee45294314ddd587d3a847932f (diff)
downloadcontrib-70006e31d25693aa65fc985124ce9babbd3347fc.tar.gz
contrib-70006e31d25693aa65fc985124ce9babbd3347fc.tar.xz
Imported from old-control
Diffstat (limited to 'pywordnet')
-rw-r--r--pywordnet/.footprint10
-rw-r--r--pywordnet/.md5sum2
-rw-r--r--pywordnet/Pkgfile19
-rw-r--r--pywordnet/wordnet.py-patch11
4 files changed, 42 insertions, 0 deletions
diff --git a/pywordnet/.footprint b/pywordnet/.footprint
new file mode 100644
index 000000000..2f84562a3
--- /dev/null
+++ b/pywordnet/.footprint
@@ -0,0 +1,10 @@
+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/
+-rw-r--r-- root/root usr/lib/python2.4/site-packages/concordance.py
+-rw-r--r-- root/root usr/lib/python2.4/site-packages/concordance.pyc
+-rw-r--r-- root/root usr/lib/python2.4/site-packages/wntools.py
+-rw-r--r-- root/root usr/lib/python2.4/site-packages/wntools.pyc
+-rw-r--r-- root/root usr/lib/python2.4/site-packages/wordnet.py
+-rw-r--r-- root/root usr/lib/python2.4/site-packages/wordnet.pyc
diff --git a/pywordnet/.md5sum b/pywordnet/.md5sum
new file mode 100644
index 000000000..9f37c221a
--- /dev/null
+++ b/pywordnet/.md5sum
@@ -0,0 +1,2 @@
+0e6a86f03715a534ed36279d8f797ca5 pywordnet-2.0.1.tar.gz
+e30818567634e6648ccada3ac0f4bd95 wordnet.py-patch
diff --git a/pywordnet/Pkgfile b/pywordnet/Pkgfile
new file mode 100644
index 000000000..16a1e4d37
--- /dev/null
+++ b/pywordnet/Pkgfile
@@ -0,0 +1,19 @@
+# $Id: Pkgfile 1330 2006-11-13 20:54:04Z prologic $
+# Description: Python interface to WordNet.
+# URL: http://osteele.com/projects/pywordnet/
+# Maintainer: James Mills prologic at shortcircuit dot net dot au
+# Packager: James Mills prologic at shortcircuit dot net dot au
+# Depends on: python, wordnet
+
+name=pywordnet
+version=2.0.1
+release=2
+source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
+ wordnet.py-patch)
+
+build() {
+ cd $name-$version
+ patch -p1 wordnet.py < $SRC/wordnet.py-patch
+ python setup.py install --root=$PKG
+ chown -R root:root $PKG
+}
diff --git a/pywordnet/wordnet.py-patch b/pywordnet/wordnet.py-patch
new file mode 100644
index 000000000..2f2e3f85f
--- /dev/null
+++ b/pywordnet/wordnet.py-patch
@@ -0,0 +1,11 @@
+--- wordnet.py.old 2006-07-07 02:02:34.000000000 +1000
++++ wordnet.py 2006-07-07 02:02:46.000000000 +1000
+@@ -53,7 +53,7 @@
+ 'mac': ":",
+ 'dos': "C:\\wn16",
+ 'nt': "C:\\Program Files\\WordNet\\2.0"}
+- .get(os.name, "/usr/local/wordnet2.0"))
++ .get(os.name, "/usr/share/wordnet"))
+
+ WNSEARCHDIR = environ.get('WNSEARCHDIR', os.path.join(WNHOME, {'mac': "Database"}.get(os.name, "dict")))
+

Generated by cgit