aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2016-12-10 04:08:09 +0800
committerthierry <thierry@FreeBSD.org>2016-12-10 04:08:09 +0800
commitb3a33828db11b1a767748d25bbed31f08b347933 (patch)
treebcbd243ef0dcae34415a5699ddcbffc56cf46eb4
parentdbb7a169e0d550a3aa83c4bd243bbff349a137c2 (diff)
downloadfreebsd-ports-gnome-b3a33828db11b1a767748d25bbed31f08b347933.tar.gz
freebsd-ports-gnome-b3a33828db11b1a767748d25bbed31f08b347933.tar.zst
freebsd-ports-gnome-b3a33828db11b1a767748d25bbed31f08b347933.zip
- Adopt (approved by nivit);
- Upgrade to 1.6.8; - Define the license; - Add a plist.
-rw-r--r--textproc/py-enchant/Makefile10
-rw-r--r--textproc/py-enchant/distinfo5
-rw-r--r--textproc/py-enchant/files/patch-setup.py13
-rw-r--r--textproc/py-enchant/pkg-descr2
-rw-r--r--textproc/py-enchant/pkg-plist47
5 files changed, 57 insertions, 20 deletions
diff --git a/textproc/py-enchant/Makefile b/textproc/py-enchant/Makefile
index f63c3373a7a4..003da642af21 100644
--- a/textproc/py-enchant/Makefile
+++ b/textproc/py-enchant/Makefile
@@ -2,20 +2,22 @@
# $FreeBSD$
PORTNAME= enchant
-PORTVERSION= 1.6.5
-PORTREVISION= 6
+PORTVERSION= 1.6.8
CATEGORIES= textproc devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
-MAINTAINER= nivit@FreeBSD.org
+MAINTAINER= thierry@FreeBSD.org
COMMENT= Spellchecking library for Python based on the Enchant library
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
LIB_DEPENDS= libenchant.so:textproc/enchant
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= distutils
USE_WX= 3.0+
WX_COMPS= python:run
diff --git a/textproc/py-enchant/distinfo b/textproc/py-enchant/distinfo
index 0b7bf7d785b3..9e1086ec117b 100644
--- a/textproc/py-enchant/distinfo
+++ b/textproc/py-enchant/distinfo
@@ -1,2 +1,3 @@
-SHA256 (pyenchant-1.6.5.tar.gz) = 623f332a9fbb70ae6c9c2d0d4e7f7bae5922d36ba0fe34be8e32df32ebbb4f84
-SIZE (pyenchant-1.6.5.tar.gz) = 62294
+TIMESTAMP = 1481232521
+SHA256 (pyenchant-1.6.8.tar.gz) = 7ead2ee74f1a4fc2a7199b3d6012eaaaceea03fbcadcb5df67d2f9d0d51f050a
+SIZE (pyenchant-1.6.8.tar.gz) = 63693
diff --git a/textproc/py-enchant/files/patch-setup.py b/textproc/py-enchant/files/patch-setup.py
deleted file mode 100644
index f92b30378260..000000000000
--- a/textproc/py-enchant/files/patch-setup.py
+++ /dev/null
@@ -1,13 +0,0 @@
---- setup.py 2010-02-23 01:51:41.000000000 +0100
-+++ setup.py.port 2010-05-06 17:28:46.000000000 +0200
-@@ -6,8 +6,8 @@
- #
-
-
--import distribute_setup
--distribute_setup.use_setuptools()
-+#import distribute_setup
-+#distribute_setup.use_setuptools()
- from setuptools import setup, find_packages, Extension
-
- import sys
diff --git a/textproc/py-enchant/pkg-descr b/textproc/py-enchant/pkg-descr
index e07f299dc43e..b5354688fca0 100644
--- a/textproc/py-enchant/pkg-descr
+++ b/textproc/py-enchant/pkg-descr
@@ -5,4 +5,4 @@ of Enchant with the flexibility of Python and a nice 'Pythonic'
object-oriented interface. It also aims to provide some higher-level
functionality than is available in the C API.
-WWW: http://pyenchant.sourceforge.net/
+WWW: https://pypi.python.org/pypi/pyenchant
diff --git a/textproc/py-enchant/pkg-plist b/textproc/py-enchant/pkg-plist
new file mode 100644
index 000000000000..0a38c4a396b6
--- /dev/null
+++ b/textproc/py-enchant/pkg-plist
@@ -0,0 +1,47 @@
+%%PYTHON_SITELIBDIR%%/enchant/__init__.py
+%%PYTHON_SITELIBDIR%%/enchant/__init__.pyc
+%%PYTHON_SITELIBDIR%%/enchant/__init__.pyo
+%%PYTHON_SITELIBDIR%%/enchant/_enchant.py
+%%PYTHON_SITELIBDIR%%/enchant/_enchant.pyc
+%%PYTHON_SITELIBDIR%%/enchant/_enchant.pyo
+%%PYTHON_SITELIBDIR%%/enchant/checker/CmdLineChecker.py
+%%PYTHON_SITELIBDIR%%/enchant/checker/CmdLineChecker.pyc
+%%PYTHON_SITELIBDIR%%/enchant/checker/CmdLineChecker.pyo
+%%PYTHON_SITELIBDIR%%/enchant/checker/GtkSpellCheckerDialog.py
+%%PYTHON_SITELIBDIR%%/enchant/checker/GtkSpellCheckerDialog.pyc
+%%PYTHON_SITELIBDIR%%/enchant/checker/GtkSpellCheckerDialog.pyo
+%%PYTHON_SITELIBDIR%%/enchant/checker/__init__.py
+%%PYTHON_SITELIBDIR%%/enchant/checker/__init__.pyc
+%%PYTHON_SITELIBDIR%%/enchant/checker/__init__.pyo
+%%PYTHON_SITELIBDIR%%/enchant/checker/tests.py
+%%PYTHON_SITELIBDIR%%/enchant/checker/tests.pyc
+%%PYTHON_SITELIBDIR%%/enchant/checker/tests.pyo
+%%PYTHON_SITELIBDIR%%/enchant/checker/wxSpellCheckerDialog.py
+%%PYTHON_SITELIBDIR%%/enchant/checker/wxSpellCheckerDialog.pyc
+%%PYTHON_SITELIBDIR%%/enchant/checker/wxSpellCheckerDialog.pyo
+%%PYTHON_SITELIBDIR%%/enchant/errors.py
+%%PYTHON_SITELIBDIR%%/enchant/errors.pyc
+%%PYTHON_SITELIBDIR%%/enchant/errors.pyo
+%%PYTHON_SITELIBDIR%%/enchant/pypwl.py
+%%PYTHON_SITELIBDIR%%/enchant/pypwl.pyc
+%%PYTHON_SITELIBDIR%%/enchant/pypwl.pyo
+%%PYTHON_SITELIBDIR%%/enchant/tests.py
+%%PYTHON_SITELIBDIR%%/enchant/tests.pyc
+%%PYTHON_SITELIBDIR%%/enchant/tests.pyo
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/__init__.py
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/__init__.pyc
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/__init__.pyo
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/en.py
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/en.pyc
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/en.pyo
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/tests.py
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/tests.pyc
+%%PYTHON_SITELIBDIR%%/enchant/tokenize/tests.pyo
+%%PYTHON_SITELIBDIR%%/enchant/utils.py
+%%PYTHON_SITELIBDIR%%/enchant/utils.pyc
+%%PYTHON_SITELIBDIR%%/enchant/utils.pyo
+%%PYTHON_SITELIBDIR%%/pyenchant-1.6.8-py%%PYTHON_VER%%.egg-info/PKG-INFO
+%%PYTHON_SITELIBDIR%%/pyenchant-1.6.8-py%%PYTHON_VER%%.egg-info/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/pyenchant-1.6.8-py%%PYTHON_VER%%.egg-info/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/pyenchant-1.6.8-py%%PYTHON_VER%%.egg-info/eager_resources.txt
+%%PYTHON_SITELIBDIR%%/pyenchant-1.6.8-py%%PYTHON_VER%%.egg-info/top_level.txt