This commit is contained in:
Max Howell 2022-12-31 09:50:18 -05:00
parent 00c76bb75b
commit e74ac09899
6 changed files with 24 additions and 9 deletions

View file

@ -14,7 +14,10 @@ jobs:
PATTERNS: projects/**/package.yml PATTERNS: projects/**/package.yml
- id: diff - id: diff
run: | run: |
RESULT=$(echo ${{ steps.get-diff.outputs.diff }} | sed 's#projects/\(.*\)/.*#\1#') for x in ${{ steps.get-diff.outputs.diff }}; do
y=$(echo $x | sed 's#projects/\(.*\)/package.yml#\1#')
RESULT="$RESULT $y"
done
echo "diff=$RESULT" >> $GITHUB_OUTPUT echo "diff=$RESULT" >> $GITHUB_OUTPUT
build: build:
strategy: strategy:

View file

@ -0,0 +1,19 @@
distributable:
url: https://github.com/pypa/pipx/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: pypa/pipx
dependencies:
python.org: 3
pip.pypa.io: '*'
build:
python-venv.sh "{{prefix}}"/bin/pipx
test:
pipx run pycowsay moooo!
provides:
- bin/pipx

View file

@ -8,12 +8,8 @@ versions:
dependencies: dependencies:
python.org: '>=3.7' python.org: '>=3.7'
build: build:
dependencies: python-venv.sh {{prefix}}/bin/pytest
pip.pypa.io: '*'
script:
python-venv.sh {{prefix}}/bin/pytest
provides: provides:
- bin/pytest - bin/pytest

View file

@ -7,7 +7,6 @@ versions:
dependencies: dependencies:
python.org: 3 python.org: 3
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
build: build:
dependencies: dependencies:

View file

@ -11,7 +11,6 @@ versions:
dependencies: dependencies:
python.org: 3 python.org: 3
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
build: build:
python-venv.sh {{prefix}}/bin/youtube-dl python-venv.sh {{prefix}}/bin/youtube-dl

View file

@ -9,7 +9,6 @@ versions:
dependencies: dependencies:
tea.xyz/gx/cc: c99 # to build brotli pymod tea.xyz/gx/cc: c99 # to build brotli pymod
python.org: 3 python.org: 3
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
build: build:
python-venv.sh {{prefix}}/bin/yt-dlp python-venv.sh {{prefix}}/bin/yt-dlp