aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-09-13 12:34:27 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-10-03 01:15:42 -0400
commit7db05c524eeb3aaae3a34544bfb7076ecb71b88d (patch)
treede295dd959b5bd13aa598b3bd1c92ceb95010821
parente232fe5f634d57e5786043c52cec802bec4e90e3 (diff)
downloadmeta-cloud-services-7db05c524eeb3aaae3a34544bfb7076ecb71b88d.tar.gz
meta-cloud-services-7db05c524eeb3aaae3a34544bfb7076ecb71b88d.tar.bz2
meta-cloud-services-7db05c524eeb3aaae3a34544bfb7076ecb71b88d.zip
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 <bruce.ashfield@windriver.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb7
1 files changed, 7 insertions, 0 deletions
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
+}