mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-21 11:58:24 +00:00
python3-ldap: Fix build dependencies to use python3
Address files via ${S}
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ OpenLDAP 2.x libraries. Errors will appear as exceptions."
|
|||||||
|
|
||||||
LICENSE = "PSF"
|
LICENSE = "PSF"
|
||||||
HOMEPAGE = "http://www.python-ldap.org/"
|
HOMEPAGE = "http://www.python-ldap.org/"
|
||||||
DEPENDS = "python openldap cyrus-sasl"
|
DEPENDS = "python3 openldap cyrus-sasl"
|
||||||
|
|
||||||
PYPI_PACKAGE = "python-ldap"
|
PYPI_PACKAGE = "python-ldap"
|
||||||
inherit pypi setuptools3
|
inherit pypi setuptools3
|
||||||
@@ -19,8 +19,8 @@ SRC_URI[md5sum] = "fe22522208dc9b06d16eb70f8553eaab"
|
|||||||
SRC_URI[sha256sum] = "7d1c4b15375a533564aad3d3deade789221e450052b21ebb9720fb822eccdb8e"
|
SRC_URI[sha256sum] = "7d1c4b15375a533564aad3d3deade789221e450052b21ebb9720fb822eccdb8e"
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
sed -i -e 's:^library_dirs =.*::' setup.cfg
|
sed -i -e 's:^library_dirs =.*::' ${S}/setup.cfg
|
||||||
sed -i -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' setup.cfg
|
sed -i -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' ${S}/setup.cfg
|
||||||
}
|
}
|
||||||
|
|
||||||
RDEPENDS_${PN} = " \
|
RDEPENDS_${PN} = " \
|
||||||
|
|||||||
Reference in New Issue
Block a user