summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-10-28 10:03:16 -0700
committerKhem Raj <raj.khem@gmail.com>2024-10-28 17:53:20 -0700
commita06cb562830b68fa11022090086531222c2b18f7 (patch)
tree687269405f0f59af602c37cffcff8c7298cffc37
parent497cb3d70ee585b33e89ea78a34b5a7a3b0b730e (diff)
downloadmeta-openembedded-a06cb562830b68fa11022090086531222c2b18f7.tar.gz
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>
-rw-r--r--meta-python/conf/include/ptest-packagelists-meta-python.inc1
-rw-r--r--meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb2
-rw-r--r--meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch29
-rw-r--r--meta-python/recipes-devtools/python/python3-whoosh/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb42
5 files changed, 0 insertions, 77 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index 9e828fa5cd..ee8f957cca 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -116,5 +116,4 @@ PTESTS_PROBLEMS_META_PYTHON ="\
116 python3-dnspython \ 116 python3-dnspython \
117 python3-fastjsonschema \ 117 python3-fastjsonschema \
118 python3-pyzmq \ 118 python3-pyzmq \
119 python3-whoosh \
120" 119"
diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
index 8850f8eb9a..81f45fb78d 100644
--- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
+++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb
@@ -452,7 +452,6 @@ RDEPENDS:packagegroup-meta-python3 = "\
452 python3-websocket-client \ 452 python3-websocket-client \
453 python3-werkzeug \ 453 python3-werkzeug \
454 python3-werkzeug \ 454 python3-werkzeug \
455 python3-whoosh \
456 python3-wrapt \ 455 python3-wrapt \
457 python3-wtforms \ 456 python3-wtforms \
458 python3-xlrd \ 457 python3-xlrd \
@@ -524,7 +523,6 @@ RDEPENDS:packagegroup-meta-python3-ptest = "\
524 python3-unidiff-ptest \ 523 python3-unidiff-ptest \
525 python3-uritemplate-ptest \ 524 python3-uritemplate-ptest \
526 python3-webcolors-ptest \ 525 python3-webcolors-ptest \
527 python3-whoosh-ptest \
528 python3-wpa-supplicant \ 526 python3-wpa-supplicant \
529 python3-xlrd-ptest \ 527 python3-xlrd-ptest \
530 python3-xmltodict-ptest \ 528 python3-xmltodict-ptest \
diff --git a/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch b/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch
deleted file mode 100644
index 91fea24524..0000000000
--- a/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From ede95a4f4487b4fc3cad8452ae388376966fca0e Mon Sep 17 00:00:00 2001
2From: Chris Lamb <lamby@debian.org>
3Date: Fri, 5 Apr 2019 15:48:23 +0200
4Subject: [PATCH] Mark non-determinstic test_minimize_dfa test as XFAIL
5
6Sourced from Debian [1]
7[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/
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 tests/test_automata.py | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/tests/test_automata.py b/tests/test_automata.py
16index daab96c..7031dc3 100644
17--- a/tests/test_automata.py
18+++ b/tests/test_automata.py
19@@ -327,6 +327,7 @@ def test_regular():
20 assert not ex.accept("bc")
21
22
23+@pytest.mark.xfail(strict=False)
24 def test_minimize_dfa():
25 # Example from www.cs.odu.edu/~toida/nerzic/390teched/regular/fa/min-fa.html
26
27--
282.44.0
29
diff --git a/meta-python/recipes-devtools/python/python3-whoosh/run-ptest b/meta-python/recipes-devtools/python/python3-whoosh/run-ptest
deleted file mode 100644
index 8d2017d39c..0000000000
--- a/meta-python/recipes-devtools/python/python3-whoosh/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb b/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
deleted file mode 100644
index cd5f67a62a..0000000000
--- a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
+++ /dev/null
@@ -1,42 +0,0 @@
1SUMMARY = "Fast, pure-Python full text indexing, search, and spell checking library."
2DESCRIPTION = "\
3Whoosh is a fast, featureful full-text indexing and searching library \
4implemented in pure Python. Programmers can use it to easily add search \
5functionality to their applications and websites. Every part of how \
6Whoosh works can be extended or replaced to meet your needs exactly."
7LICENSE = "BSD-2-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05303186defc6141143629961c7c8a60"
9
10SRC_URI += "file://0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch"
11
12SRC_URI[sha256sum] = "e0857375f63e9041e03fedd5b7541f97cf78917ac1b6b06c1fcc9b45375dda69"
13
14PYPI_PACKAGE = "Whoosh"
15PYPI_PACKAGE_EXT = "zip"
16
17inherit ptest pypi setuptools3
18
19RDEPENDS:${PN} += " \
20 python3-email \
21 python3-multiprocessing \
22 python3-netclient \
23 python3-numbers \
24 python3-pickle \
25 python3-shell \
26 python3-stringold \
27"
28
29SRC_URI += " \
30 file://run-ptest \
31"
32
33RDEPENDS:${PN}-ptest += " \
34 python3-fcntl \
35 python3-pytest \
36 python3-unittest-automake-output \
37"
38
39do_install_ptest() {
40 install -d ${D}${PTEST_PATH}/tests
41 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
42}