[oe-commits] [meta-openembedded] 21/36: python3-ldap: Fix build dependencies to use python3

git at git.openembedded.org git at git.openembedded.org
Wed Jan 22 17:57:32 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit e2b0b89b8010b5e2f51cda5d93121b8c63c7b9a2
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Jan 21 16:53:28 2020 -0800

    python3-ldap: Fix build dependencies to use python3
    
    Address files via ${S}
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-networking/recipes-devtools/python/python3-ldap_3.2.0.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-networking/recipes-devtools/python/python3-ldap_3.2.0.bb b/meta-networking/recipes-devtools/python/python3-ldap_3.2.0.bb
index 2ad70ac..f46ddbf 100644
--- a/meta-networking/recipes-devtools/python/python3-ldap_3.2.0.bb
+++ b/meta-networking/recipes-devtools/python/python3-ldap_3.2.0.bb
@@ -9,7 +9,7 @@ OpenLDAP 2.x libraries. Errors will appear as exceptions."
 
 LICENSE = "PSF"
 HOMEPAGE = "http://www.python-ldap.org/"
-DEPENDS = "python openldap cyrus-sasl"
+DEPENDS = "python3 openldap cyrus-sasl"
 
 PYPI_PACKAGE = "python-ldap"
 inherit pypi setuptools3
@@ -19,8 +19,8 @@ SRC_URI[md5sum] = "fe22522208dc9b06d16eb70f8553eaab"
 SRC_URI[sha256sum] = "7d1c4b15375a533564aad3d3deade789221e450052b21ebb9720fb822eccdb8e"
 
 do_configure_prepend() {
-    sed -i -e 's:^library_dirs =.*::' setup.cfg
-    sed -i -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' setup.cfg
+    sed -i -e 's:^library_dirs =.*::' ${S}/setup.cfg
+    sed -i -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' ${S}/setup.cfg
 }
 
 RDEPENDS_${PN} = " \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list