bottle: pull in vanilla python email modules
Bottle depends on a utility module in the email package included with
the Python distro to parse rfc1123 and rfc850 timestamps.
A flash footprint optimized package: python-email-utils was introduced
in 5baa96f51, and Bottle made to depend on that.
OpenBMC doesn't currently support a minimal distro flavor, so reverting
the original optimization seems to bring some benefits:
1 - reduced comprehensional complexity
2 - reduced maintenance burden
3 - possibility for bottle recipe upstreaming to meta-oe
Until OpenBMC offers a low footprint distro feature, flash constrained machines
should make these types of optimizations elsewhere.
The size increase for the witherspoon target was as follows (~268k):
18661376 obmc-phosphor-image-witherspoon-20180607204542.rootfs.squashfs-xz
18935808 obmc-phosphor-image-witherspoon-20180607205204.rootfs.squashfs-xz
Tested: Built witherspoon image and verified REST API functional
Change-Id: Ib417df2c71feea6d46d783605d690e0362176992
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/common/recipes-devtools/python/python-bottle.inc b/meta-phosphor/common/recipes-devtools/python/python-bottle.inc
index 129c059..159ded6 100644
--- a/meta-phosphor/common/recipes-devtools/python/python-bottle.inc
+++ b/meta-phosphor/common/recipes-devtools/python/python-bottle.inc
@@ -14,7 +14,7 @@
inherit pypi
RDEPENDS_${PN} += " \
- python-email-utils \
+ python-email \
python-json \
python-netserver \
"