diff options
author | Derek Straka <derek@asterius.io> | 2017-12-22 09:16:06 -0500 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-12-27 07:25:02 -0800 |
commit | 9160c1cd1df9b7a6b779424fc0e7c732946044c1 (patch) | |
tree | d1f43a6aff557499a55c359fe2b2f1568346d07e /recipes-devtools/python/python-automat.inc | |
parent | 371cfbeed6e5741a6284de65dd32a09bc5a7950b (diff) | |
download | meta-python2-9160c1cd1df9b7a6b779424fc0e7c732946044c1.tar.gz |
python-automat: fix build dependencies to avoid download during do_compile
Add the correct version of python{3}-setuptools-scm-native
Remove the dependency on m2r
(From meta-openembedded commit: cd7cc6e9dd9f700f07b8a09e6533fa205db28479)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-automat.inc')
-rw-r--r-- | recipes-devtools/python/python-automat.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-automat.inc b/recipes-devtools/python/python-automat.inc index 1ac5d3b..43b9ce9 100644 --- a/recipes-devtools/python/python-automat.inc +++ b/recipes-devtools/python/python-automat.inc @@ -3,6 +3,8 @@ HOMEPAGE = "https://github.com/glyph/Automat" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477" +FILESEXTRAPATHS_prepend := "${THISDIR}/python-automat:" + SRC_URI[md5sum] = "ad7bba58d262d8956d732330cb5ef53d" SRC_URI[sha256sum] = "3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8" @@ -10,6 +12,12 @@ PYPI_PACKAGE = "Automat" inherit pypi +SRC_URI_append = " \ + file://0001-setup.py-remove-the-dependency-on-m2r.patch \ +" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native" + RDEPENDS_${PN} += "\ ${PYTHON_PN}-attrs \ ${PYTHON_PN}-six \ |