Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions recipes/flask-mercure-sse/LICENSE
Original file line number Diff line number Diff line change
@@ -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.
48 changes: 48 additions & 0 deletions recipes/flask-mercure-sse/recipe.yaml
Original file line number Diff line number Diff line change
@@ -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