]> code.ossystems Code Review - openembedded-core.git/commitdiff
pypi: set SRC_URI with _prepend, not with +=
authorAlexander Kanavin <alex.kanavin@gmail.com>
Wed, 23 Jun 2021 08:34:03 +0000 (10:34 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Jun 2021 10:23:11 +0000 (11:23 +0100)
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>
meta/classes/pypi.bbclass

index 87b4c85fc09b4f589fc2359a9f247a9a3aaaf648..384a209874cee6f3599a9f00e2e5a50a35d0a996 100644 (file)
@@ -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}/"