mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
+pipx
This commit is contained in:
parent
00c76bb75b
commit
e74ac09899
6 changed files with 24 additions and 9 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||||
|
|
19
projects/pypa.github.io/pipx/package.yml
Normal file
19
projects/pypa.github.io/pipx/package.yml
Normal 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
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue