diff options
| author | Derek Straka <derek@asterius.io> | 2020-04-03 17:21:19 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-04-03 14:45:54 -0700 |
| commit | dda6ccce1785865a3d3b91502e53a1678c998eda (patch) | |
| tree | 39fbf5e3d27114158fc1c2347e189b3e18b24293 /meta-python | |
| parent | 8effb46af046e1aab381d2461480d76e4c7fe811 (diff) | |
| download | meta-openembedded-dda6ccce1785865a3d3b91502e53a1678c998eda.tar.gz | |
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>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-xlrd.inc | 30 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-xlrd_1.2.0.bb | 33 |
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 ee73e76b91..0000000000 --- a/meta-python/recipes-devtools/python/python-xlrd.inc +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | SUMMARY = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files" | ||
| 2 | DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\ | ||
| 3 | versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). \ | ||
| 4 | Strong support for Excel dates. Unicode-aware." | ||
| 5 | HOMEPAGE = "http://www.python-excel.org/" | ||
| 6 | LICENSE = "BSD-3-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5f4244d51fcc1e7cc2d43e96891b2f80" | ||
| 8 | |||
| 9 | SRC_URI[md5sum] = "e5d5b96924d791b22898b622eb3e918e" | ||
| 10 | SRC_URI[sha256sum] = "546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2" | ||
| 11 | |||
| 12 | RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell" | ||
| 13 | |||
| 14 | BBCLASSEXTEND = "native nativesdk" | ||
| 15 | |||
| 16 | SRC_URI += " \ | ||
| 17 | file://run-ptest \ | ||
| 18 | " | ||
| 19 | inherit ptest | ||
| 20 | |||
| 21 | RDEPENDS_${PN}-ptest += " \ | ||
| 22 | ${PYTHON_PN}-pytest \ | ||
| 23 | " | ||
| 24 | |||
| 25 | do_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 b7bd969c71..571dba6fa8 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 @@ | |||
| 1 | inherit pypi setuptools3 | 1 | SUMMARY = "Library for developers to extract data from Microsoft Excel (tm) spreadsheet files" |
| 2 | require python-xlrd.inc | 2 | DESCRIPTION = "Extract data from Excel spreadsheets (.xls and .xlsx,\ |
| 3 | versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). \ | ||
| 4 | Strong support for Excel dates. Unicode-aware." | ||
| 5 | HOMEPAGE = "http://www.python-excel.org/" | ||
| 6 | LICENSE = "BSD-3-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://PKG-INFO;md5=5f4244d51fcc1e7cc2d43e96891b2f80" | ||
| 8 | |||
| 9 | SRC_URI[md5sum] = "e5d5b96924d791b22898b622eb3e918e" | ||
| 10 | SRC_URI[sha256sum] = "546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2" | ||
| 11 | |||
| 12 | SRC_URI += " \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | |||
| 16 | inherit ptest pypi setuptools3 | ||
| 17 | |||
| 18 | RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell" | ||
| 19 | |||
| 20 | RDEPENDS_${PN}-ptest += " \ | ||
| 21 | ${PYTHON_PN}-pytest \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_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 | |||
| 31 | BBCLASSEXTEND = "native nativesdk" | ||
