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
- id: diff
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
build:
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,11 +8,7 @@ versions:
dependencies:
python.org: '>=3.7'
build:
dependencies:
pip.pypa.io: '*'
script:
python-venv.sh {{prefix}}/bin/pytest
provides:

View file

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

View file

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

View file

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