diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-09-06 18:28:09 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-09-06 18:28:09 +0000 |
| commit | 4109b7f60c0112104faa812117111779e7be9284 (patch) | |
| tree | 766d849b5c76c0a652257557cb70f2775ca7db02 /dev-python/httpbin | |
| parent | 8ffdab7f0ad52e75e31309e792c185a297dd71c4 (diff) | |
| download | baldeagleos-repo-4109b7f60c0112104faa812117111779e7be9284.tar.gz baldeagleos-repo-4109b7f60c0112104faa812117111779e7be9284.tar.xz baldeagleos-repo-4109b7f60c0112104faa812117111779e7be9284.zip | |
Adding metadata
Diffstat (limited to 'dev-python/httpbin')
| -rw-r--r-- | dev-python/httpbin/files/httpbin-0.10.1-optional-flasgger.patch | 4 | ||||
| -rw-r--r-- | dev-python/httpbin/httpbin-0.10.2-r1.ebuild (renamed from dev-python/httpbin/httpbin-0.10.2.ebuild) | 0 |
2 files changed, 1 insertions, 3 deletions
diff --git a/dev-python/httpbin/files/httpbin-0.10.1-optional-flasgger.patch b/dev-python/httpbin/files/httpbin-0.10.1-optional-flasgger.patch index d4695173dad5..b9f5cc6f8469 100644 --- a/dev-python/httpbin/files/httpbin-0.10.1-optional-flasgger.patch +++ b/dev-python/httpbin/files/httpbin-0.10.1-optional-flasgger.patch @@ -34,15 +34,13 @@ index a82c1b8..77576a4 100644 from . import filters from .helpers import ( -@@ -165,7 +168,10 @@ swagger_config = { +@@ -165,7 +168,8 @@ swagger_config = { "specs_route": "/", } -swagger = Swagger(app, sanitizer=NO_SANITIZER, template=template, config=swagger_config) +if Swagger is not None: + swagger = Swagger(app, sanitizer=NO_SANITIZER, template=template, config=swagger_config) -+else: -+ app.logger.warning("Swagger not found, legacy index will be used.") # Set up Bugsnag exception tracking, if desired. To use Bugsnag, install the # Bugsnag Python client with the command "pip install bugsnag", and set the diff --git a/dev-python/httpbin/httpbin-0.10.2.ebuild b/dev-python/httpbin/httpbin-0.10.2-r1.ebuild index 50393d363207..50393d363207 100644 --- a/dev-python/httpbin/httpbin-0.10.2.ebuild +++ b/dev-python/httpbin/httpbin-0.10.2-r1.ebuild |
