python3-whoosh: Remove

This package is unmaintained upstream, and has no
new releases since 2016, now it does not build with python 3.13
since it needs cgi module which has been removed in 3.13+

if we still need this functionality
then something like whoosh-reloaded might be better

https://pypi.org/project/Whoosh-Reloaded/

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2024-10-28 10:03:16 -07:00
parent 497cb3d70e
commit a06cb56283
No known key found for this signature in database
GPG Key ID: BB053355919D3314
5 changed files with 0 additions and 77 deletions

View File

@ -116,5 +116,4 @@ PTESTS_PROBLEMS_META_PYTHON ="\
python3-dnspython \
python3-fastjsonschema \
python3-pyzmq \
python3-whoosh \
"

View File

@ -452,7 +452,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
python3-websocket-client \
python3-werkzeug \
python3-werkzeug \
python3-whoosh \
python3-wrapt \
python3-wtforms \
python3-xlrd \
@ -524,7 +523,6 @@ RDEPENDS:packagegroup-meta-python3-ptest = "\
python3-unidiff-ptest \
python3-uritemplate-ptest \
python3-webcolors-ptest \
python3-whoosh-ptest \
python3-wpa-supplicant \
python3-xlrd-ptest \
python3-xmltodict-ptest \

View File

@ -1,29 +0,0 @@
From ede95a4f4487b4fc3cad8452ae388376966fca0e Mon Sep 17 00:00:00 2001
From: Chris Lamb <lamby@debian.org>
Date: Fri, 5 Apr 2019 15:48:23 +0200
Subject: [PATCH] Mark non-determinstic test_minimize_dfa test as XFAIL
Sourced from Debian [1]
[1] https://sources.debian.org/src/python-whoosh/2.7.4%2Bgit6-g9134ad92-8/debian/patches/0003-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch/
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
tests/test_automata.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/test_automata.py b/tests/test_automata.py
index daab96c..7031dc3 100644
--- a/tests/test_automata.py
+++ b/tests/test_automata.py
@@ -327,6 +327,7 @@ def test_regular():
assert not ex.accept("bc")
+@pytest.mark.xfail(strict=False)
def test_minimize_dfa():
# Example from www.cs.odu.edu/~toida/nerzic/390teched/regular/fa/min-fa.html
--
2.44.0

View File

@ -1,3 +0,0 @@
#!/bin/sh
pytest --automake

View File

@ -1,42 +0,0 @@
SUMMARY = "Fast, pure-Python full text indexing, search, and spell checking library."
DESCRIPTION = "\
Whoosh is a fast, featureful full-text indexing and searching library \
implemented in pure Python. Programmers can use it to easily add search \
functionality to their applications and websites. Every part of how \
Whoosh works can be extended or replaced to meet your needs exactly."
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05303186defc6141143629961c7c8a60"
SRC_URI += "file://0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch"
SRC_URI[sha256sum] = "e0857375f63e9041e03fedd5b7541f97cf78917ac1b6b06c1fcc9b45375dda69"
PYPI_PACKAGE = "Whoosh"
PYPI_PACKAGE_EXT = "zip"
inherit ptest pypi setuptools3
RDEPENDS:${PN} += " \
python3-email \
python3-multiprocessing \
python3-netclient \
python3-numbers \
python3-pickle \
python3-shell \
python3-stringold \
"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-fcntl \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}