diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
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 @@ | |||
| 1 | From ede95a4f4487b4fc3cad8452ae388376966fca0e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Chris Lamb <lamby@debian.org> | ||
| 3 | Date: Fri, 5 Apr 2019 15:48:23 +0200 | ||
| 4 | Subject: [PATCH] Mark non-determinstic test_minimize_dfa test as XFAIL | ||
| 5 | |||
| 6 | Sourced 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 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | tests/test_automata.py | 1 + | ||
| 13 | 1 file changed, 1 insertion(+) | ||
| 14 | |||
| 15 | diff --git a/tests/test_automata.py b/tests/test_automata.py | ||
| 16 | index 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 | -- | ||
| 28 | 2.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 | |||
| 3 | pytest --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 @@ | |||
| 1 | SUMMARY = "Fast, pure-Python full text indexing, search, and spell checking library." | ||
| 2 | DESCRIPTION = "\ | ||
| 3 | Whoosh is a fast, featureful full-text indexing and searching library \ | ||
| 4 | implemented in pure Python. Programmers can use it to easily add search \ | ||
| 5 | functionality to their applications and websites. Every part of how \ | ||
| 6 | Whoosh works can be extended or replaced to meet your needs exactly." | ||
| 7 | LICENSE = "BSD-2-Clause" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05303186defc6141143629961c7c8a60" | ||
| 9 | |||
| 10 | SRC_URI += "file://0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch" | ||
| 11 | |||
| 12 | SRC_URI[sha256sum] = "e0857375f63e9041e03fedd5b7541f97cf78917ac1b6b06c1fcc9b45375dda69" | ||
| 13 | |||
| 14 | PYPI_PACKAGE = "Whoosh" | ||
| 15 | PYPI_PACKAGE_EXT = "zip" | ||
| 16 | |||
| 17 | inherit ptest pypi setuptools3 | ||
| 18 | |||
| 19 | RDEPENDS:${PN} += " \ | ||
| 20 | python3-email \ | ||
| 21 | python3-multiprocessing \ | ||
| 22 | python3-netclient \ | ||
| 23 | python3-numbers \ | ||
| 24 | python3-pickle \ | ||
| 25 | python3-shell \ | ||
| 26 | python3-stringold \ | ||
| 27 | " | ||
| 28 | |||
| 29 | SRC_URI += " \ | ||
| 30 | file://run-ptest \ | ||
| 31 | " | ||
| 32 | |||
| 33 | RDEPENDS:${PN}-ptest += " \ | ||
| 34 | python3-fcntl \ | ||
| 35 | python3-pytest \ | ||
| 36 | python3-unittest-automake-output \ | ||
| 37 | " | ||
| 38 | |||
| 39 | do_install_ptest() { | ||
| 40 | install -d ${D}${PTEST_PATH}/tests | ||
| 41 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 42 | } | ||
