mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
apply updated simpler python-venv.sh usage
This commit is contained in:
parent
0029e3f4bf
commit
454fc591cf
|
@ -2,9 +2,6 @@ distributable:
|
|||
url: https://github.com/yt-dlp/yt-dlp/releases/download/{{version}}/yt-dlp.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
#NOTE copy-pasta from mesonbuild.com
|
||||
#TODO make a brewkit/ script to do this automatically
|
||||
|
||||
versions:
|
||||
github: yt-dlp/yt-dlp
|
||||
strip: /^yt-dlp /
|
||||
|
@ -14,13 +11,7 @@ dependencies:
|
|||
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
|
||||
|
||||
build:
|
||||
script: |
|
||||
export VERSION={{version}}
|
||||
export PREFIX={{prefix}}
|
||||
export PYTHON_VERSION={{deps.python.org.version}}
|
||||
export PYTHON_VERSION_MAJ={{deps.python.org.version.major}}
|
||||
export PYTHON_VERSION_MIN={{deps.python.org.version.minor}}
|
||||
python-venv.sh yt-dlp yt-dlp.org
|
||||
python-venv.sh {{prefix}}/bin/yt-dlp
|
||||
|
||||
test: |
|
||||
yt-dlp --simulate https://youtu.be/pOtd1cbOP7k
|
||||
|
|
Loading…
Reference in a new issue