mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +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
|
||||
- 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:
|
||||
|
|
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:
|
||||
python.org: '>=3.7'
|
||||
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
pip.pypa.io: '*'
|
||||
script:
|
||||
python-venv.sh {{prefix}}/bin/pytest
|
||||
python-venv.sh {{prefix}}/bin/pytest
|
||||
|
||||
provides:
|
||||
- bin/pytest
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue