diff --git a/textproc/py-enchant/Makefile b/textproc/py-enchant/Makefile new file mode 100644 index 00000000000..2ea0b3737b8 --- /dev/null +++ b/textproc/py-enchant/Makefile @@ -0,0 +1,27 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/07/20 16:48:19 ajacoutot Exp $ + +COMMENT= spellchecking library for Python + +MODPY_EGG_VERSION= 1.6.5 +DISTNAME= pyenchant-${MODPY_EGG_VERSION} +PKGNAME= py-enchant-${MODPY_EGG_VERSION} + +CATEGORIES= textproc + +HOMEPAGE= http://packages.python.org/pyenchant/ + +# LGPLv2.1 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyenchant/} + +MODULES= lang/python + +MODPY_SETUPTOOLS= Yes + +PKG_ARCH= * + +.include diff --git a/textproc/py-enchant/distinfo b/textproc/py-enchant/distinfo new file mode 100644 index 00000000000..24bf1125546 --- /dev/null +++ b/textproc/py-enchant/distinfo @@ -0,0 +1,5 @@ +MD5 (pyenchant-1.6.5.tar.gz) = VlAUoUpS+wGV0VLdSS6pSA== +RMD160 (pyenchant-1.6.5.tar.gz) = TpS7JhNPbWCxFM9AsxcNv1/LboU= +SHA1 (pyenchant-1.6.5.tar.gz) = bwG4ZXtk6XChGUXCqbTW2AI5l7w= +SHA256 (pyenchant-1.6.5.tar.gz) = Yj8zKp+7cK5snC0NTn97rlki02ug/jS+jjLfMuu7T4Q= +SIZE (pyenchant-1.6.5.tar.gz) = 62294 diff --git a/textproc/py-enchant/patches/patch-setup_py b/textproc/py-enchant/patches/patch-setup_py new file mode 100644 index 00000000000..36c656630fe --- /dev/null +++ b/textproc/py-enchant/patches/patch-setup_py @@ -0,0 +1,15 @@ +$OpenBSD: patch-setup_py,v 1.1.1.1 2011/07/20 16:48:19 ajacoutot Exp $ + +Prevent from downloading the tarball. + +--- setup.py.orig Wed Jul 20 08:18:38 2011 ++++ setup.py Wed Jul 20 08:18:48 2011 +@@ -6,8 +6,6 @@ + # + + +-import distribute_setup +-distribute_setup.use_setuptools() + from setuptools import setup, find_packages, Extension + from distutils.archive_util import make_archive + diff --git a/textproc/py-enchant/pkg/DESCR b/textproc/py-enchant/pkg/DESCR new file mode 100644 index 00000000000..1df744e61d4 --- /dev/null +++ b/textproc/py-enchant/pkg/DESCR @@ -0,0 +1,2 @@ +This package provides a set of Python language bindings for the Enchant +spellchecking library. diff --git a/textproc/py-enchant/pkg/PLIST b/textproc/py-enchant/pkg/PLIST new file mode 100644 index 00000000000..83d6391f637 --- /dev/null +++ b/textproc/py-enchant/pkg/PLIST @@ -0,0 +1,48 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2011/07/20 16:48:19 ajacoutot Exp $ +lib/python${MODPY_VERSION}/site-packages/enchant/ +lib/python${MODPY_VERSION}/site-packages/enchant/__init__.py +lib/python${MODPY_VERSION}/site-packages/enchant/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/_enchant.py +lib/python${MODPY_VERSION}/site-packages/enchant/_enchant.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/checker/ +lib/python${MODPY_VERSION}/site-packages/enchant/checker/CmdLineChecker.py +lib/python${MODPY_VERSION}/site-packages/enchant/checker/CmdLineChecker.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/checker/GtkSpellCheckerDialog.py +lib/python${MODPY_VERSION}/site-packages/enchant/checker/GtkSpellCheckerDialog.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/checker/__init__.py +lib/python${MODPY_VERSION}/site-packages/enchant/checker/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/checker/tests.py +lib/python${MODPY_VERSION}/site-packages/enchant/checker/tests.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/checker/wxSpellCheckerDialog.py +lib/python${MODPY_VERSION}/site-packages/enchant/checker/wxSpellCheckerDialog.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/errors.py +lib/python${MODPY_VERSION}/site-packages/enchant/errors.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/lib/ +lib/python${MODPY_VERSION}/site-packages/enchant/lib/enchant/ +lib/python${MODPY_VERSION}/site-packages/enchant/lib/enchant/README.txt +lib/python${MODPY_VERSION}/site-packages/enchant/pypwl.py +lib/python${MODPY_VERSION}/site-packages/enchant/pypwl.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/share/ +lib/python${MODPY_VERSION}/site-packages/enchant/share/enchant/ +lib/python${MODPY_VERSION}/site-packages/enchant/share/enchant/README.txt +lib/python${MODPY_VERSION}/site-packages/enchant/share/enchant/ispell/ +lib/python${MODPY_VERSION}/site-packages/enchant/share/enchant/ispell/README.txt +lib/python${MODPY_VERSION}/site-packages/enchant/share/enchant/myspell/ +lib/python${MODPY_VERSION}/site-packages/enchant/share/enchant/myspell/README.txt +lib/python${MODPY_VERSION}/site-packages/enchant/tests.py +lib/python${MODPY_VERSION}/site-packages/enchant/tests.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/tokenize/ +lib/python${MODPY_VERSION}/site-packages/enchant/tokenize/__init__.py +lib/python${MODPY_VERSION}/site-packages/enchant/tokenize/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/tokenize/en.py +lib/python${MODPY_VERSION}/site-packages/enchant/tokenize/en.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/tokenize/tests.py +lib/python${MODPY_VERSION}/site-packages/enchant/tokenize/tests.pyc +lib/python${MODPY_VERSION}/site-packages/enchant/utils.py +lib/python${MODPY_VERSION}/site-packages/enchant/utils.pyc +lib/python${MODPY_VERSION}/site-packages/pyenchant-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ +lib/python${MODPY_VERSION}/site-packages/pyenchant-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO +lib/python${MODPY_VERSION}/site-packages/pyenchant-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt +lib/python${MODPY_VERSION}/site-packages/pyenchant-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/pyenchant-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/eager_resources.txt +lib/python${MODPY_VERSION}/site-packages/pyenchant-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt