svn commit: r429440 - in head/textproc: . py-hunspell py3-hunspell
Thierry Thomas
thierry at FreeBSD.org
Sun Dec 25 15:59:30 UTC 2016
Author: thierry
Date: Sun Dec 25 15:59:28 2016
New Revision: 429440
URL: https://svnweb.freebsd.org/changeset/ports/429440
Log:
Adding py-hunspell, a Python module for the Hunspell spellchecker engine.
Added:
head/textproc/py-hunspell/
head/textproc/py-hunspell/Makefile (contents, props changed)
head/textproc/py-hunspell/distinfo (contents, props changed)
head/textproc/py-hunspell/pkg-descr (contents, props changed)
head/textproc/py3-hunspell/
head/textproc/py3-hunspell/Makefile (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Sun Dec 25 15:15:38 2016 (r429439)
+++ head/textproc/Makefile Sun Dec 25 15:59:28 2016 (r429440)
@@ -1256,6 +1256,7 @@
SUBDIR += py-guess-language
SUBDIR += py-hexdump
SUBDIR += py-html2text
+ SUBDIR += py-hunspell
SUBDIR += py-hyperestraier-python
SUBDIR += py-hypua2jamo
SUBDIR += py-jaxml
@@ -1349,6 +1350,7 @@
SUBDIR += py3-MarkupSafe
SUBDIR += py3-asciinema
SUBDIR += py3-chardet
+ SUBDIR += py3-hunspell
SUBDIR += py3-libxml2
SUBDIR += py3-pager
SUBDIR += pychm
Added: head/textproc/py-hunspell/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-hunspell/Makefile Sun Dec 25 15:59:28 2016 (r429440)
@@ -0,0 +1,28 @@
+# Created by: Thierry Thomas <thierry at pompo.net>
+# $FreeBSD$
+
+PORTNAME= hunspell
+PORTVERSION= 0.4.1
+CATEGORIES= textproc devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= thierry at FreeBSD.org
+COMMENT= Python module for the Hunspell spellchecker engine
+
+LICENSE= LGPL3
+
+LIB_DEPENDS= libhunspell-${HSPLVER}.so:textproc/hunspell
+
+USES= localbase python
+USE_PYTHON= distutils
+
+HSPLVER= 1.5
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/hunspell.so
+
+pre-configure:
+ ${REINPLACE_CMD} -e "s|/usr/include|${LOCALBASE}/include|" \
+ -e "s|= \['hunspell|= ['hunspell-${HSPLVER}|" \
+ ${WRKSRC}/${PYSETUP}
+
+.include <bsd.port.mk>
Added: head/textproc/py-hunspell/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-hunspell/distinfo Sun Dec 25 15:59:28 2016 (r429440)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1482444080
+SHA256 (hunspell-0.4.1.tar.gz) = df8d2232488b0cb49afd64ac76bd2bb600b6dc85fca67b19db0baee602aa9691
+SIZE (hunspell-0.4.1.tar.gz) = 4428
Added: head/textproc/py-hunspell/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-hunspell/pkg-descr Sun Dec 25 15:59:28 2016 (r429440)
@@ -0,0 +1,6 @@
+pyhunspell is a set of Python bindings for the Hunspell spellchecker engine. It
+lets developers load Hunspell dictionaries, check words, get suggestions, add
+new words, etc. It also provides some basic morphological analysis related
+methods.
+
+WWW: https://pypi.python.org/pypi/hunspell
Added: head/textproc/py3-hunspell/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py3-hunspell/Makefile Sun Dec 25 15:59:28 2016 (r429440)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+MASTERDIR= ${.CURDIR}/../py-hunspell
+
+PYTHON_VERSION= python3.5
+
+.include "${MASTERDIR}/Makefile"
More information about the svn-ports-head
mailing list