diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-03-22 23:04:29 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-03-29 15:00:24 +0300 |
commit | 5b94bc058835be06b26ce1e6ee8667b1f0839f70 (patch) | |
tree | d42ed882f4ea56e8ee311b90722bb288bd012bf5 /meta-phosphor/recipes-devtools/python/python-bottle | |
parent | 37f1da47b8771e3119b1cd2c2ac3a27911395af4 (diff) | |
download | openbmc-5b94bc058835be06b26ce1e6ee8667b1f0839f70.tar.xz |
meta-phosphor: Drop recipe for phosphor-rest
This application doesn't have any in-tree users. As such, drop the
recipe and its dependencies.
(From meta-phosphor rev: 296cc521f5a1c8c87c63a5b475b23c876241bf22)
Change-Id: Ie0ce809f84a133c023f96b4727550690583cb9df
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/recipes-devtools/python/python-bottle')
-rw-r--r-- | meta-phosphor/recipes-devtools/python/python-bottle/LICENSE | 19 | ||||
-rw-r--r-- | meta-phosphor/recipes-devtools/python/python-bottle/json-format.patch | 31 |
2 files changed, 0 insertions, 50 deletions
diff --git a/meta-phosphor/recipes-devtools/python/python-bottle/LICENSE b/meta-phosphor/recipes-devtools/python/python-bottle/LICENSE deleted file mode 100644 index 5f3e8de3a..000000000 --- a/meta-phosphor/recipes-devtools/python/python-bottle/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2014, Marcel Hellkamp. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/meta-phosphor/recipes-devtools/python/python-bottle/json-format.patch b/meta-phosphor/recipes-devtools/python/python-bottle/json-format.patch deleted file mode 100644 index 9e754a996..000000000 --- a/meta-phosphor/recipes-devtools/python/python-bottle/json-format.patch +++ /dev/null @@ -1,31 +0,0 @@ -Index: bottle-0.12.9/bottle.py -=================================================================== ---- bottle-0.12.9.orig/bottle.py -+++ bottle-0.12.9/bottle.py -@@ -1721,8 +1721,10 @@ class JSONPlugin(object): - name = 'json' - api = 2 - -- def __init__(self, json_dumps=json_dumps): -+ def __init__(self, json_dumps=json_dumps, **kw): - self.json_dumps = json_dumps -+ self.json_kw = { x:y for x,y in kw.iteritems() \ -+ if x in ['indent','sort_keys'] } - - def apply(self, callback, route): - dumps = self.json_dumps -@@ -1735,12 +1737,12 @@ class JSONPlugin(object): - - if isinstance(rv, dict): - #Attempt to serialize, raises exception on failure -- json_response = dumps(rv) -+ json_response = dumps(rv, **self.json_kw) - #Set content type only if serialization succesful - response.content_type = 'application/json' - return json_response - elif isinstance(rv, HTTPResponse) and isinstance(rv.body, dict): -- rv.body = dumps(rv.body) -+ rv.body = dumps(rv.body, **self.json_kw) - rv.content_type = 'application/json' - return rv - |