From cc1f89bdf3a412c210d83c7725c6bce695cea815 Mon Sep 17 00:00:00 2001 From: shadchin Date: Wed, 20 Jan 2016 05:14:32 +0000 Subject: [PATCH] Import py-snowballstemmer 1.2.1, ok sthen@ This is a pure Python stemming library. If PyStemmer is available, this module uses it to accelerate. --- textproc/py-snowballstemmer/Makefile | 27 +++++++++++++++++ textproc/py-snowballstemmer/distinfo | 2 ++ textproc/py-snowballstemmer/pkg/DESCR | 2 ++ textproc/py-snowballstemmer/pkg/PLIST | 42 +++++++++++++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 textproc/py-snowballstemmer/Makefile create mode 100644 textproc/py-snowballstemmer/distinfo create mode 100644 textproc/py-snowballstemmer/pkg/DESCR create mode 100644 textproc/py-snowballstemmer/pkg/PLIST diff --git a/textproc/py-snowballstemmer/Makefile b/textproc/py-snowballstemmer/Makefile new file mode 100644 index 00000000000..45ebd278f9e --- /dev/null +++ b/textproc/py-snowballstemmer/Makefile @@ -0,0 +1,27 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2016/01/20 05:14:32 shadchin Exp $ + +COMMENT = snowball stemming library collection for Python + +MODPY_EGG_VERSION = 1.2.1 +DISTNAME = snowballstemmer-${MODPY_EGG_VERSION} +PKGNAME = py-${DISTNAME} + +CATEGORIES = textproc + +MAINTAINER = Alexandr Shadchin + +# BSD +PERMIT_PACKAGE_CDROM = Yes + +MODULES = lang/python + +RUN_DEPENDS = textproc/py-stemmer${MODPY_FLAVOR} + +MODPY_PI = Yes + +FLAVORS = python3 +FLAVOR ?= + +NO_TEST = Yes + +.include diff --git a/textproc/py-snowballstemmer/distinfo b/textproc/py-snowballstemmer/distinfo new file mode 100644 index 00000000000..0dc610250df --- /dev/null +++ b/textproc/py-snowballstemmer/distinfo @@ -0,0 +1,2 @@ +SHA256 (snowballstemmer-1.2.1.tar.gz) = kZ8mpossF6djTamT2RM54oiWT5PCdPE0Pju74gluESg= +SIZE (snowballstemmer-1.2.1.tar.gz) = 49626 diff --git a/textproc/py-snowballstemmer/pkg/DESCR b/textproc/py-snowballstemmer/pkg/DESCR new file mode 100644 index 00000000000..28dc0374b80 --- /dev/null +++ b/textproc/py-snowballstemmer/pkg/DESCR @@ -0,0 +1,2 @@ +This is a pure Python stemming library. If PyStemmer is available, this +module uses it to accelerate. diff --git a/textproc/py-snowballstemmer/pkg/PLIST b/textproc/py-snowballstemmer/pkg/PLIST new file mode 100644 index 00000000000..647db70c929 --- /dev/null +++ b/textproc/py-snowballstemmer/pkg/PLIST @@ -0,0 +1,42 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2016/01/20 05:14:32 shadchin Exp $ +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/ +lib/python${MODPY_VERSION}/site-packages/snowballstemmer-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/__init__.py +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}/ +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}among.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}basestemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}danish_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}dutch_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}english_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}finnish_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}french_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}german_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}hungarian_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}italian_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}norwegian_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}porter_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}portuguese_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}romanian_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}russian_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}spanish_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}swedish_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/${MODPY_PYCACHE}turkish_stemmer.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/among.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/basestemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/danish_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/dutch_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/english_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/finnish_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/french_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/german_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/hungarian_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/italian_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/norwegian_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/porter_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/portuguese_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/romanian_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/russian_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/spanish_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/swedish_stemmer.py +lib/python${MODPY_VERSION}/site-packages/snowballstemmer/turkish_stemmer.py