summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-xlrd.inc30
-rw-r--r--meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb33
2 files changed, 31 insertions, 32 deletions
diff --git a/meta-python/recipes-devtools/python/python-xlrd.inc b/meta-python/recipes-devtools/python/python-xlrd.inc
deleted file mode 100644
index ee73e76b9..000000000
--- a/meta-python/recipes-devtools/python/python-xlrd.inc
+++ /dev/null
@@ -1,30 +0,0 @@
1SUMMARY = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files"
2DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\
3 versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). \
4Strong support for Excel dates. Unicode-aware."
5HOMEPAGE = "http://www.python-excel.org/"
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5f4244d51fcc1e7cc2d43e96891b2f80"
8
9SRC_URI[md5sum] = "e5d5b96924d791b22898b622eb3e918e"
10SRC_URI[sha256sum] = "546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2"
11
12RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell"
13
14BBCLASSEXTEND = "native nativesdk"
15
16SRC_URI += " \
17 file://run-ptest \
18"
19inherit ptest
20
21RDEPENDS_${PN}-ptest += " \
22 ${PYTHON_PN}-pytest \
23"
24
25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/tests
27 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
28 install -d ${D}${PTEST_PATH}/examples
29 cp -rf ${S}/examples/* ${D}${PTEST_PATH}/examples/
30}
diff --git a/meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb b/meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb
index b7bd969c7..571dba6fa 100644
--- a/meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb
@@ -1,2 +1,31 @@
1inherit pypi setuptools3 1SUMMARY = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files"
2require python-xlrd.inc 2DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\
3 versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). \
4Strong support for Excel dates. Unicode-aware."
5HOMEPAGE = "http://www.python-excel.org/"
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5f4244d51fcc1e7cc2d43e96891b2f80"
8
9SRC_URI[md5sum] = "e5d5b96924d791b22898b622eb3e918e"
10SRC_URI[sha256sum] = "546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2"
11
12SRC_URI += " \
13 file://run-ptest \
14"
15
16inherit ptest pypi setuptools3
17
18RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell"
19
20RDEPENDS_${PN}-ptest += " \
21 ${PYTHON_PN}-pytest \
22"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/tests
26 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
27 install -d ${D}${PTEST_PATH}/examples
28 cp -rf ${S}/examples/* ${D}${PTEST_PATH}/examples/
29}
30
31BBCLASSEXTEND = "native nativesdk"