diff options
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb (renamed from meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb) | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb index 36512cba9a..8ad6acc875 100644 --- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb +++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb | |||
| @@ -3,8 +3,7 @@ HOMEPAGE = "https://pypi.org/project/simpleeval/" | |||
| 3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7" | 4 | LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7" |
| 5 | 5 | ||
| 6 | SRC_URI[md5sum] = "f175fc12d408487ca26fa3905e0a6691" | 6 | SRC_URI[sha256sum] = "3e0be507486d4e21cf9d08847c7e57dd61a1603950399985f7c5a0be7fd33e36" |
| 7 | SRC_URI[sha256sum] = "692055488c2864637f6c2edb5fa48175978a2a07318009e7cf03c9790ca17bea" | ||
| 8 | 7 | ||
| 9 | inherit pypi setuptools3 ptest | 8 | inherit pypi setuptools3 ptest |
| 10 | 9 | ||
| @@ -14,12 +13,18 @@ SRC_URI += " \ | |||
| 14 | file://run-ptest \ | 13 | file://run-ptest \ |
| 15 | " | 14 | " |
| 16 | 15 | ||
| 16 | RDEPENDS:${PN} += " \ | ||
| 17 | ${PYTHON_PN}-math \ | ||
| 18 | " | ||
| 19 | |||
| 17 | RDEPENDS:${PN}-ptest += " \ | 20 | RDEPENDS:${PN}-ptest += " \ |
| 18 | ${PYTHON_PN}-pytest \ | 21 | ${PYTHON_PN}-pytest \ |
| 19 | " | 22 | " |
| 23 | |||
| 20 | do_configure:prepend() { | 24 | do_configure:prepend() { |
| 21 | sed -i -e "/use_2to3=True,/d" ${S}/setup.py | 25 | sed -i -e "/use_2to3=True,/d" ${S}/setup.py |
| 22 | } | 26 | } |
| 27 | |||
| 23 | do_install_ptest() { | 28 | do_install_ptest() { |
| 24 | cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ | 29 | cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ |
| 25 | } | 30 | } |
