зеркало из https://github.com/mozilla/hubs-ops.git
Use mozilla fork of youtube-dl-api-server
This commit is contained in:
Родитель
124df46882
Коммит
40c8430e95
|
@ -1,39 +1,28 @@
|
|||
pkg_name=youtube-dl-api-server
|
||||
pkg_version=0.3
|
||||
pkg_version=0.4
|
||||
pkg_origin=mozillareality
|
||||
pkg_maintainer="Mozilla Mixed Reality <mixreality@mozilla.com>"
|
||||
pkg_license=('unlicense')
|
||||
pkg_description="A youtube-dl REST API server"
|
||||
pkg_upstream_url="https://github.com/jaimeMF/youtube-dl-api-server"
|
||||
pkg_source="https://github.com/jaimeMF/youtube-dl-api-server/archive/${pkg_version}.tar.gz"
|
||||
pkg_shasum="5041e02aad851ce9f72419c4e442d730f6de2ad895057002720d2b1e8464b275"
|
||||
pkg_upstream_url="https://github.com/mozillareality/youtube-dl-api-server"
|
||||
pkg_source="https://github.com/mozillareality/youtube-dl-api-server/archive/${pkg_version}.tar.gz"
|
||||
pkg_shasum="6107513539ac18ef14377a0ecea55e54248e0113d7bef479da98a3dc19dad8d1"
|
||||
pkg_deps=(core/envdir core/lzop core/pv core/python)
|
||||
pkg_bin_dirs=(bin)
|
||||
|
||||
do_download() {
|
||||
return 0
|
||||
}
|
||||
|
||||
do_verify() {
|
||||
return 0
|
||||
}
|
||||
|
||||
do_unpack() {
|
||||
return 0
|
||||
}
|
||||
|
||||
do_prepare() {
|
||||
pyvenv "$pkg_prefix"
|
||||
source "$pkg_prefix/bin/activate"
|
||||
}
|
||||
|
||||
do_build() {
|
||||
return 0
|
||||
python setup.py sdist
|
||||
}
|
||||
|
||||
do_install() {
|
||||
pip install --pre "youtube_dl_server==$pkg_version"
|
||||
pip install "dist/youtube_dl_server-${pkg_version}.tar.gz"
|
||||
pip install gunicorn
|
||||
rm -rf dist build
|
||||
|
||||
# Write out versions of all pip packages to package
|
||||
pip freeze > "$pkg_prefix/requirements.txt"
|
||||
|
|
Загрузка…
Ссылка в новой задаче