mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
python-xlrd: consolidate inc and bb files into a single bb file
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,30 +0,0 @@
|
|||||||
SUMMARY = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files"
|
|
||||||
DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\
|
|
||||||
versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). \
|
|
||||||
Strong support for Excel dates. Unicode-aware."
|
|
||||||
HOMEPAGE = "http://www.python-excel.org/"
|
|
||||||
LICENSE = "BSD-3-Clause"
|
|
||||||
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5f4244d51fcc1e7cc2d43e96891b2f80"
|
|
||||||
|
|
||||||
SRC_URI[md5sum] = "e5d5b96924d791b22898b622eb3e918e"
|
|
||||||
SRC_URI[sha256sum] = "546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2"
|
|
||||||
|
|
||||||
RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell"
|
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
|
||||||
|
|
||||||
SRC_URI += " \
|
|
||||||
file://run-ptest \
|
|
||||||
"
|
|
||||||
inherit ptest
|
|
||||||
|
|
||||||
RDEPENDS_${PN}-ptest += " \
|
|
||||||
${PYTHON_PN}-pytest \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_install_ptest() {
|
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
|
||||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
||||||
install -d ${D}${PTEST_PATH}/examples
|
|
||||||
cp -rf ${S}/examples/* ${D}${PTEST_PATH}/examples/
|
|
||||||
}
|
|
||||||
@@ -1,2 +1,31 @@
|
|||||||
inherit pypi setuptools3
|
SUMMARY = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files"
|
||||||
require python-xlrd.inc
|
DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\
|
||||||
|
versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). \
|
||||||
|
Strong support for Excel dates. Unicode-aware."
|
||||||
|
HOMEPAGE = "http://www.python-excel.org/"
|
||||||
|
LICENSE = "BSD-3-Clause"
|
||||||
|
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5f4244d51fcc1e7cc2d43e96891b2f80"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "e5d5b96924d791b22898b622eb3e918e"
|
||||||
|
SRC_URI[sha256sum] = "546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2"
|
||||||
|
|
||||||
|
SRC_URI += " \
|
||||||
|
file://run-ptest \
|
||||||
|
"
|
||||||
|
|
||||||
|
inherit ptest pypi setuptools3
|
||||||
|
|
||||||
|
RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-ptest += " \
|
||||||
|
${PYTHON_PN}-pytest \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install_ptest() {
|
||||||
|
install -d ${D}${PTEST_PATH}/tests
|
||||||
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||||
|
install -d ${D}${PTEST_PATH}/examples
|
||||||
|
cp -rf ${S}/examples/* ${D}${PTEST_PATH}/examples/
|
||||||
|
}
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user