diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-09-13 12:34:27 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-10-03 01:15:42 -0400 |
| commit | 7db05c524eeb3aaae3a34544bfb7076ecb71b88d (patch) | |
| tree | de295dd959b5bd13aa598b3bd1c92ceb95010821 /meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb | |
| parent | e232fe5f634d57e5786043c52cec802bec4e90e3 (diff) | |
| download | meta-cloud-services-7db05c524eeb3aaae3a34544bfb7076ecb71b88d.tar.gz | |
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>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb | 7 |
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 | |||
| 23 | export HOST_SYS | 23 | export HOST_SYS |
| 24 | 24 | ||
| 25 | inherit autotools distutils | 25 | inherit autotools distutils |
| 26 | |||
| 27 | # We explicitly call distutils_do_install, since we want it to run, but | ||
| 28 | # *don't* want the autotools install to run, since this package doesn't | ||
| 29 | # provide a "make install" target. | ||
| 30 | do_install() { | ||
| 31 | distutils_do_install | ||
| 32 | } | ||
