pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-lunr



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Sep 11 17:46:08 UTC 2022

Added Files:
        pkgsrc/textproc/py-lunr: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-lunr/DESCR \
    pkgsrc/textproc/py-lunr/Makefile pkgsrc/textproc/py-lunr/PLIST \
    pkgsrc/textproc/py-lunr/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/py-lunr/DESCR
diff -u /dev/null pkgsrc/textproc/py-lunr/DESCR:1.1
--- /dev/null   Sun Sep 11 17:46:08 2022
+++ pkgsrc/textproc/py-lunr/DESCR       Sun Sep 11 17:46:07 2022
@@ -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.
Index: pkgsrc/textproc/py-lunr/Makefile
diff -u /dev/null pkgsrc/textproc/py-lunr/Makefile:1.1
--- /dev/null   Sun Sep 11 17:46:08 2022
+++ pkgsrc/textproc/py-lunr/Makefile    Sun Sep 11 17:46:07 2022
@@ -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"
Index: pkgsrc/textproc/py-lunr/PLIST
diff -u /dev/null pkgsrc/textproc/py-lunr/PLIST:1.1
--- /dev/null   Sun Sep 11 17:46:08 2022
+++ pkgsrc/textproc/py-lunr/PLIST       Sun Sep 11 17:46:07 2022
@@ -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
Index: pkgsrc/textproc/py-lunr/distinfo
diff -u /dev/null pkgsrc/textproc/py-lunr/distinfo:1.1
--- /dev/null   Sun Sep 11 17:46:08 2022
+++ pkgsrc/textproc/py-lunr/distinfo    Sun Sep 11 17:46:07 2022
@@ -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