-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreflex-0.4.8-r0.yaml
48 lines (47 loc) · 1.26 KB
/
reflex-0.4.8-r0.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package:
name: reflex-0.4.8-r0
version: 0.4.8
epoch: 0
description: "Web apps in pure Python"
copyright:
- license: Apache-2.0
dependencies:
runtime:
# Reflex shells out to these these tools during init
- bash
- curl
- python-3.12
- wget
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- poetry
- py3.12-pip
- py3.12-setuptools
- python-3.12
- python-3.12-dev
- wolfi-base
- wolfi-baselayout
pipeline:
- uses: git-checkout
with:
repository: https://github.com/reflex-dev/reflex
tag: v${{package.version}}
expected-commit: 64805d3524fad0c468f32b9ca3f5a836b294fd26
- runs: |
#Fix gunicorn CVE
poetry add "gunicorn==22.0.0"
poetry run pip freeze | grep -v reflex > requirements.txt
poetry build
pip install -I -r requirements.txt --no-compile
pip install --root ${{targets.destdir}} dist/reflex-*.whl
find ${{targets.destdir}}/usr/lib/python*/site-packages/ \( -type d -a -name test -o -name tests \) -o \( -type f -a -name '*.pyc' -o -name '*.pyo' \) -exec rm -rf '{}' \+
- uses: strip
update:
enabled: true
github:
identifier: reflex-dev/reflex
strip-prefix: v