summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-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
3 files changed, 0 insertions, 74 deletions
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}