aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/py-enchant/Makefile4
-rw-r--r--textproc/py-enchant/distinfo6
-rw-r--r--textproc/py-enchant/files/patch-enchant-checker-wxSpellCheckerDialog.py11
-rw-r--r--textproc/py-enchant/pkg-plist4
4 files changed, 20 insertions, 5 deletions
diff --git a/textproc/py-enchant/Makefile b/textproc/py-enchant/Makefile
index f609a3526fe2..7b0209f2e80c 100644
--- a/textproc/py-enchant/Makefile
+++ b/textproc/py-enchant/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= enchant
-PORTVERSION= 1.1.5
+PORTVERSION= 1.2.0
CATEGORIES= textproc devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= py${PORTNAME}
@@ -21,6 +21,8 @@ BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_WX= 2.6
+WX_COMPS= python_run
PYDISTUTILS_INSTALL_TARGET= install_lib
PYDISTUTILS_INSTALLARGS=
diff --git a/textproc/py-enchant/distinfo b/textproc/py-enchant/distinfo
index 1a277b9700cf..1eb4f89bc44f 100644
--- a/textproc/py-enchant/distinfo
+++ b/textproc/py-enchant/distinfo
@@ -1,3 +1,3 @@
-MD5 (pyenchant-1.1.5.tar.gz) = d9a07392f1f0910635a221273ac9654d
-SHA256 (pyenchant-1.1.5.tar.gz) = ff4b0ac64e93bd567626f99f72671cd244e9564a2f02c108e2e61ce9d0734849
-SIZE (pyenchant-1.1.5.tar.gz) = 63221
+MD5 (pyenchant-1.2.0.tar.gz) = 2fefef0868b110b1da7de89c08344dd2
+SHA256 (pyenchant-1.2.0.tar.gz) = 249b59ebe7beb6e5649d4f607e6cf1d15175b90760737a72ac1f1e69348c6379
+SIZE (pyenchant-1.2.0.tar.gz) = 65574
diff --git a/textproc/py-enchant/files/patch-enchant-checker-wxSpellCheckerDialog.py b/textproc/py-enchant/files/patch-enchant-checker-wxSpellCheckerDialog.py
new file mode 100644
index 000000000000..b719a6cfc367
--- /dev/null
+++ b/textproc/py-enchant/files/patch-enchant-checker-wxSpellCheckerDialog.py
@@ -0,0 +1,11 @@
+--- enchant/checker/wxSpellCheckerDialog.py Thu Aug 10 09:33:29 2006
++++ enchant/checker/wxSpellCheckerDialog.py.port Sun Nov 12 22:50:39 2006
+@@ -49,6 +49,8 @@
+
+ """
+
++import wxversion
++wxversion.select('2.6')
+ import wx
+
+ class wxSpellCheckerDialog(wx.Dialog):
diff --git a/textproc/py-enchant/pkg-plist b/textproc/py-enchant/pkg-plist
index a69c8a7498a2..382aaef0f86a 100644
--- a/textproc/py-enchant/pkg-plist
+++ b/textproc/py-enchant/pkg-plist
@@ -1,4 +1,4 @@
-@comment $FreeBSD: /tmp/pcvs/ports/textproc/py-enchant/pkg-plist,v 1.1 2006-04-06 15:05:08 garga Exp $
+@comment $FreeBSD: /tmp/pcvs/ports/textproc/py-enchant/pkg-plist,v 1.2 2006-11-17 10:42:57 miwi Exp $
%%PYTHON_SITELIBDIR%%/enchant/__init__.py
%%PYTHON_SITELIBDIR%%/enchant/__init__.pyc
%%PYTHON_SITELIBDIR%%/enchant/_enchant.so
@@ -6,6 +6,8 @@
%%PYTHON_SITELIBDIR%%/enchant/checker/CmdLineChecker.pyc
%%PYTHON_SITELIBDIR%%/enchant/checker/__init__.py
%%PYTHON_SITELIBDIR%%/enchant/checker/__init__.pyc
+%%PYTHON_SITELIBDIR%%/enchant/checker/GtkSpellCheckerDialog.py
+%%PYTHON_SITELIBDIR%%/enchant/checker/GtkSpellCheckerDialog.pyc
%%PYTHON_SITELIBDIR%%/enchant/checker/wxSpellCheckerDialog.py
%%PYTHON_SITELIBDIR%%/enchant/checker/wxSpellCheckerDialog.pyc
%%PYTHON_SITELIBDIR%%/enchant/tokenize/__init__.py