Skip to contentSkip to conversation

python-automat: fix build dependencies to avoid download during do_compile

PATCH New Derek Straka 1 participant 1 message Dec 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 .../recipes-devtools/python/python-automat.inc     |  8 ++++
 ...001-setup.py-remove-the-dependency-on-m2r.patch | 52 ++++++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-automat/0001-setup.py-remove-the-dependency-on-m2r.patch
meta-python/recipes-devtools/python/python-automat.inc +8 -0
index 1ac5d3b..43b9ce9 100644
@@ -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 \
meta-python/recipes-devtools/python/python-automat/0001-setup.py-remove-the-dependency-on-m2r.patch new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
2.7.4