pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-lunr textproc/py-lunr: import py-lunr-0.6.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/522a6752d2d5
branches:  trunk
changeset: 385202:522a6752d2d5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Sep 11 17:46:07 2022 +0000

description:
textproc/py-lunr: import py-lunr-0.6.2

This Python version of Lunr.js aims to bring the simple and powerful
full text search capabilities into Python guaranteeing results as
close as the original implementation as possible.

diffstat:

 textproc/py-lunr/DESCR    |   3 +
 textproc/py-lunr/Makefile |  27 ++++++++++++++++
 textproc/py-lunr/PLIST    |  79 +++++++++++++++++++++++++++++++++++++++++++++++
 textproc/py-lunr/distinfo |   5 ++
 4 files changed, 114 insertions(+), 0 deletions(-)

diffs (130 lines):

diff -r 321217ed3ae6 -r 522a6752d2d5 textproc/py-lunr/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-lunr/DESCR    Sun Sep 11 17:46:07 2022 +0000
@@ -0,0 +1,3 @@
+This Python version of Lunr.js aims to bring the simple and powerful
+full text search capabilities into Python guaranteeing results as
+close as the original implementation as possible.
diff -r 321217ed3ae6 -r 522a6752d2d5 textproc/py-lunr/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-lunr/Makefile Sun Sep 11 17:46:07 2022 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2022/09/11 17:46:07 wiz Exp $
+
+DISTNAME=      lunr-0.6.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=l/lunr/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/yeraydiazdiaz/lunr.py
+COMMENT=       Python implementation of Lunr.js
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-nltk>=0:../../textproc/py-nltk
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=0:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+# as of 0.6.2
+# 1 failed, 297 passed, 1 warning
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 321217ed3ae6 -r 522a6752d2d5 textproc/py-lunr/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-lunr/PLIST    Sun Sep 11 17:46:07 2022 +0000
@@ -0,0 +1,79 @@
+@comment $NetBSD: PLIST,v 1.1 2022/09/11 17:46:07 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/lunr/__init__.py
+${PYSITELIB}/lunr/__init__.pyc
+${PYSITELIB}/lunr/__init__.pyo
+${PYSITELIB}/lunr/__main__.py
+${PYSITELIB}/lunr/__main__.pyc
+${PYSITELIB}/lunr/__main__.pyo
+${PYSITELIB}/lunr/builder.py
+${PYSITELIB}/lunr/builder.pyc
+${PYSITELIB}/lunr/builder.pyo
+${PYSITELIB}/lunr/exceptions.py
+${PYSITELIB}/lunr/exceptions.pyc
+${PYSITELIB}/lunr/exceptions.pyo
+${PYSITELIB}/lunr/field_ref.py
+${PYSITELIB}/lunr/field_ref.pyc
+${PYSITELIB}/lunr/field_ref.pyo
+${PYSITELIB}/lunr/idf.py
+${PYSITELIB}/lunr/idf.pyc
+${PYSITELIB}/lunr/idf.pyo
+${PYSITELIB}/lunr/index.py
+${PYSITELIB}/lunr/index.pyc
+${PYSITELIB}/lunr/index.pyo
+${PYSITELIB}/lunr/languages/__init__.py
+${PYSITELIB}/lunr/languages/__init__.pyc
+${PYSITELIB}/lunr/languages/__init__.pyo
+${PYSITELIB}/lunr/languages/stemmer.py
+${PYSITELIB}/lunr/languages/stemmer.pyc
+${PYSITELIB}/lunr/languages/stemmer.pyo
+${PYSITELIB}/lunr/languages/trimmer.py
+${PYSITELIB}/lunr/languages/trimmer.pyc
+${PYSITELIB}/lunr/languages/trimmer.pyo
+${PYSITELIB}/lunr/match_data.py
+${PYSITELIB}/lunr/match_data.pyc
+${PYSITELIB}/lunr/match_data.pyo
+${PYSITELIB}/lunr/pipeline.py
+${PYSITELIB}/lunr/pipeline.pyc
+${PYSITELIB}/lunr/pipeline.pyo
+${PYSITELIB}/lunr/query.py
+${PYSITELIB}/lunr/query.pyc
+${PYSITELIB}/lunr/query.pyo
+${PYSITELIB}/lunr/query_lexer.py
+${PYSITELIB}/lunr/query_lexer.pyc
+${PYSITELIB}/lunr/query_lexer.pyo
+${PYSITELIB}/lunr/query_parser.py
+${PYSITELIB}/lunr/query_parser.pyc
+${PYSITELIB}/lunr/query_parser.pyo
+${PYSITELIB}/lunr/stemmer.py
+${PYSITELIB}/lunr/stemmer.pyc
+${PYSITELIB}/lunr/stemmer.pyo
+${PYSITELIB}/lunr/stop_word_filter.py
+${PYSITELIB}/lunr/stop_word_filter.pyc
+${PYSITELIB}/lunr/stop_word_filter.pyo
+${PYSITELIB}/lunr/token.py
+${PYSITELIB}/lunr/token.pyc
+${PYSITELIB}/lunr/token.pyo
+${PYSITELIB}/lunr/token_set.py
+${PYSITELIB}/lunr/token_set.pyc
+${PYSITELIB}/lunr/token_set.pyo
+${PYSITELIB}/lunr/token_set_builder.py
+${PYSITELIB}/lunr/token_set_builder.pyc
+${PYSITELIB}/lunr/token_set_builder.pyo
+${PYSITELIB}/lunr/tokenizer.py
+${PYSITELIB}/lunr/tokenizer.pyc
+${PYSITELIB}/lunr/tokenizer.pyo
+${PYSITELIB}/lunr/trimmer.py
+${PYSITELIB}/lunr/trimmer.pyc
+${PYSITELIB}/lunr/trimmer.pyo
+${PYSITELIB}/lunr/utils.py
+${PYSITELIB}/lunr/utils.pyc
+${PYSITELIB}/lunr/utils.pyo
+${PYSITELIB}/lunr/vector.py
+${PYSITELIB}/lunr/vector.pyc
+${PYSITELIB}/lunr/vector.pyo
diff -r 321217ed3ae6 -r 522a6752d2d5 textproc/py-lunr/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-lunr/distinfo Sun Sep 11 17:46:07 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/09/11 17:46:07 wiz Exp $
+
+BLAKE2s (lunr-0.6.2.tar.gz) = ea708c703c882fe84bef15c047bce3f61a7aa608445e953165c7a2419596bb53
+SHA512 (lunr-0.6.2.tar.gz) = 6b7c29d30a8a64b71246ff884e473cceeef5e00e382ad54474e7855dcafcf3817dcc14c29c1bb2eb3371f1cb5ab1485a7840dbe41d345a4503294052aa9cd644
+Size (lunr-0.6.2.tar.gz) = 45968 bytes



Home | Main Index | Thread Index | Old Index