summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-06-23 10:34:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-26 11:23:11 +0100
commit8f17b8bce85efb0e9a7e15d0b98a5cf7b6bd9750 (patch)
tree78d9f7c1ecae8b7b502f4a50088a43b686c9b161
parentdeea7b96a0a4232c8119549dc2e8ecbc0bf47f0f (diff)
downloadopenembedded-core-contrib-8f17b8bce85efb0e9a7e15d0b98a5cf7b6bd9750.tar.gz
pypi: set SRC_URI with _prepend, not with +=
This did not cause problems in builds, but broke some devtool workflows such as version upgrades or checking the latest version from upstream. Tarballs should come first, not the patches. (From OE-Core rev: 5cee50c25197102658e0689f635b2d567a375471) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--meta/classes/pypi.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/pypi.bbclass b/meta/classes/pypi.bbclass
index 87b4c85fc0..384a209874 100644
--- a/meta/classes/pypi.bbclass
+++ b/meta/classes/pypi.bbclass
@@ -19,7 +19,7 @@ PYPI_SRC_URI ?= "${@pypi_src_uri(d)}"
HOMEPAGE ?= "https://pypi.python.org/pypi/${PYPI_PACKAGE}/"
SECTION = "devel/python"
-SRC_URI += "${PYPI_SRC_URI}"
+SRC_URI_prepend = "${PYPI_SRC_URI} "
S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}"
UPSTREAM_CHECK_URI ?= "https://pypi.org/project/${PYPI_PACKAGE}/"