spack/var/spack/repos/builtin/packages/py-youtube-dl/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

23 lines
782 B
Python

# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyYoutubeDl(PythonPackage):
"""Command-line program to download videos from YouTube.com and other video
sites."""
homepage = "https://github.com/ytdl-org/youtube-dl"
pypi = "youtube_dl/youtube_dl-2020.3.24.tar.gz"
version(
"2021.12.17", sha256="bc59e86c5d15d887ac590454511f08ce2c47698d5a82c27bfe27b5d814bbaed2"
)
version("2020.3.24", sha256="4b03efe439f7cae26eba909821d1df00a9a4eb82741cb2e8b78fe29702bd4633")
depends_on("py-setuptools", type=("build", "run"))
depends_on("ffmpeg+openssl", type="run")