summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb42
1 files changed, 40 insertions, 2 deletions
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
index 5d8af303c7..3ae4f91e38 100644
--- a/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
+++ b/meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb
@@ -1,2 +1,40 @@
1inherit pypi setuptools3 1SUMMARY = "Fast, pure-Python full text indexing, search, and spell checking library."
2require python-whoosh.inc 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[md5sum] = "893433e9c0525ac043df33e6e04caab2"
11SRC_URI[sha256sum] = "e0857375f63e9041e03fedd5b7541f97cf78917ac1b6b06c1fcc9b45375dda69"
12
13PYPI_PACKAGE = "Whoosh"
14PYPI_PACKAGE_EXT = "zip"
15
16inherit ptest pypi setuptools3
17
18RDEPENDS_${PN} += " \
19 ${PYTHON_PN}-email \
20 ${PYTHON_PN}-multiprocessing \
21 ${PYTHON_PN}-netclient \
22 ${PYTHON_PN}-numbers \
23 ${PYTHON_PN}-pickle \
24 ${PYTHON_PN}-shell \
25 ${PYTHON_PN}-stringold \
26"
27
28SRC_URI += " \
29 file://run-ptest \
30"
31
32RDEPENDS_${PN}-ptest += " \
33 ${PYTHON_PN}-pytest \
34 ${PYTHON_PN}-fcntl \
35"
36
37do_install_ptest() {
38 install -d ${D}${PTEST_PATH}/tests
39 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
40}