diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-06 12:28:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-06 12:28:43 +0100 |
commit | 8bf02d8edf7e8947a205e2dca77bee4c4e31739b (patch) | |
tree | 3711c04de0185e8d4835ac527c634e0d4893ad7e /dev-python/httpbin | |
parent | 5d93bae2c1576ab817f482024a6d47592829407b (diff) |
gentoo auto-resync : 06:09:2024 - 12:28:42
Diffstat (limited to 'dev-python/httpbin')
-rw-r--r-- | dev-python/httpbin/Manifest | 4 | ||||
-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 |
3 files changed, 3 insertions, 5 deletions
diff --git a/dev-python/httpbin/Manifest b/dev-python/httpbin/Manifest index 9fd16b2d87f0..48183b7418b2 100644 --- a/dev-python/httpbin/Manifest +++ b/dev-python/httpbin/Manifest @@ -1,4 +1,4 @@ -AUX httpbin-0.10.1-optional-flasgger.patch 2246 BLAKE2B f96db03047b779625f5107aff167eba52f6819b99c4fcded932e1c4337e02e00be15901a3a3dacaf708933c04cdf9b687a78eedd7b03fb13aac868163ee0f632 SHA512 1e161b7ead872cccda833fa7a21e82229563dd996f9d5511550becf5e5623a61a7c85034e8ccb125d39eeaf9cbefb67616d692d08554f93b1fb0295ce5530ccc +AUX httpbin-0.10.1-optional-flasgger.patch 2165 BLAKE2B 9bd6c12382f4f0d6abdc905b626d4578332aa9dcc2ebd194c35df4ddf55aa10661e433d5f04ba4d5a1359d1e9e240a6fc83ebb6837c4b8fbcd1edf051e513178 SHA512 21690b7013cc23e6c2c356219282d098290f7b916500da160f653771771eeda17234b67cf6b480769a4b210a2a717de6f8b68ead615428a061655e018e7030f9 DIST httpbin-0.10.2.tar.gz 107327 BLAKE2B 39ab1e518c9f7e1ede9cd0aa2e3155f7e36267c83d1d2537a5b6cb5aa1c9e70efe96c5bf98a5b22cd05e70368d1495f8e5364032fcf2f476d62512b7e7322652 SHA512 731b842090be516d9eccb1d2bb8303128d2b2e24b1ebf0b2018a2f0b8629b164c7de686e1775841cd57417ec89941d98fc81f878a284c7242bfef4db481a781b -EBUILD httpbin-0.10.2.ebuild 1249 BLAKE2B 16b8095195a0228d804d055c560ab823b577e5b4e68bafaca7c8cf19386fceb088f31a164294b0a023388cd3415fcbe05acf317d42caaa4a6e12bbef1bd686b5 SHA512 fb4cbf4d0757e16f7c7893e5f5913b5b522ecb491e8e8f8c354cb86b10b773cb653b3246a7c4aa8602118122ddc0df1616201d3d01e965e353f9510784ad6c29 +EBUILD httpbin-0.10.2-r1.ebuild 1249 BLAKE2B 16b8095195a0228d804d055c560ab823b577e5b4e68bafaca7c8cf19386fceb088f31a164294b0a023388cd3415fcbe05acf317d42caaa4a6e12bbef1bd686b5 SHA512 fb4cbf4d0757e16f7c7893e5f5913b5b522ecb491e8e8f8c354cb86b10b773cb653b3246a7c4aa8602118122ddc0df1616201d3d01e965e353f9510784ad6c29 MISC metadata.xml 445 BLAKE2B c577334830bc0d51f9df221e224c231c254b3db9129e4028d53cbd96a4481728e3b721b44f569c243deeecfb38e8dc81a7566a0b7ccd665d51b1a69a3687eb18 SHA512 fcdbd0c24e12d91df89af24befa6c9600f28083c3fe38e88ebec9856f4fb5c4c137c3b85f2271422c513bbd7c31a457f8290ebc2dd755d9117d57aa42883eec8 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 cf036cbb5bba..cf036cbb5bba 100644 --- a/dev-python/httpbin/httpbin-0.10.2.ebuild +++ b/dev-python/httpbin/httpbin-0.10.2-r1.ebuild |