diff --git a/recipes/flask-mercure-sse/LICENSE b/recipes/flask-mercure-sse/LICENSE new file mode 100644 index 0000000000000..04be0b4933913 --- /dev/null +++ b/recipes/flask-mercure-sse/LICENSE @@ -0,0 +1,19 @@ +Copyright (C) 2024 Maxime Bouroumeau-Fuseau + +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. \ No newline at end of file diff --git a/recipes/flask-mercure-sse/recipe.yaml b/recipes/flask-mercure-sse/recipe.yaml new file mode 100644 index 0000000000000..ccf8b9a3c95e2 --- /dev/null +++ b/recipes/flask-mercure-sse/recipe.yaml @@ -0,0 +1,48 @@ +schema_version: 1 + +context: + name: flask-mercure-sse + version: 0.4.1 + +package: + name: ${{ name|lower }} + version: ${{ version }} + +source: + url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/flask_mercure_sse-${{ version }}.tar.gz + sha256: e5c0d89d38a13e03cac3c58dc80d832ce157a540ad97910ba45b5dd989ae3e55 + +build: + number: 0 + noarch: python + script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + +requirements: + host: + - python ${{ python_min }}.* + - uv-build >=0.8.11,<0.9.0 + - pip + run: + - python >=${{ python_min }} + - flask >=3.0.0,<4.0.0 + - requests >=2.31.0,<3.0.0 + - pyjwt >=2.8.0,<3.0.0 + - gevent >=25.9.1 + - python-dotenv >=1.1.1 + +tests: + - python: + imports: + - flask_mercure_sse + pip_check: true + python_version: ${{ python_min }}.* + +about: + homepage: https://github.com/hyperflask/flask-mercure-sse + summary: Server Sent Events (SSE) for Flask using the Mercure protocol + license: MIT + license_file: LICENSE + +extra: + recipe-maintainers: + - thewchan