From 7db05c524eeb3aaae3a34544bfb7076ecb71b88d Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Fri, 13 Sep 2013 12:34:27 -0400 Subject: python-pycrypto: override do_install python-pycrypto must inherit autotools to have the proper parameters passed to its configuration phase. But this same package doesn't have a "make install" target, so the autotools added install rule errors when run against the package. To fix this, we pick and chose what we execute by implementing our own do_install and calling the class routines explicitly. Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta-openstack/recipes-devtools/python') diff --git a/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb b/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb index b75f35d..9994fc9 100644 --- a/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb +++ b/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb @@ -23,3 +23,10 @@ export BUILD_SYS export HOST_SYS inherit autotools distutils + +# We explicitly call distutils_do_install, since we want it to run, but +# *don't* want the autotools install to run, since this package doesn't +# provide a "make install" target. +do_install() { + distutils_do_install +} -- cgit v1.2.3-54-g00ecf