mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
meta-oe: use BPN in SRC_URI
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}
Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
621de68d62
commit
05de0ca43d
@@ -7,6 +7,6 @@ DEPENDS = "python-native"
|
||||
|
||||
inherit distutils
|
||||
|
||||
SRC_URI = "http://pypi.python.org/packages/source/p/${PN}/${P}.tar.gz"
|
||||
SRC_URI = "http://pypi.python.org/packages/source/p/${BPN}/${BP}.tar.gz"
|
||||
SRC_URI[md5sum] = "34423f39caf7df8a9db8e243be9cf1a0"
|
||||
SRC_URI[sha256sum] = "d9d46d096a38cb692b55f4ee9f364d54348298e9497b11c1ef057539b5de1567"
|
||||
|
||||
@@ -3,7 +3,7 @@ HOMEPAGE = "http://labix.org/python-dateutil"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "PSF"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=d82268718c68bda0b091006ec6e583c6"
|
||||
SRCNAME = "${PN}"
|
||||
SRCNAME = "${BPN}"
|
||||
|
||||
SRC_URI = "http://labix.org/download/python-dateutil/${SRCNAME}-${PV}.tar.gz"
|
||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
|
||||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=a41c82edffa04912007cae1d20cac555"
|
||||
HOMEPAGE = "http://www.python-ldap.org/"
|
||||
DEPENDS = "python openldap"
|
||||
|
||||
SRC_URI = "http://pypi.python.org/packages/source/p/${PN}/${PN}-${PV}.tar.gz \
|
||||
SRC_URI = "http://pypi.python.org/packages/source/p/${BPN}/${BP}.tar.gz \
|
||||
file://setup.cfg.patch"
|
||||
SRC_URI[md5sum] = "a9f9f16338288d118a1ae6266c993247"
|
||||
SRC_URI[sha256sum] = "62f75b21c5ee744408c9d8b59878328b3bdf47899d30e8abf0c09b3ffb893ed4"
|
||||
|
||||
Reference in New Issue
Block a user