# Template file for 'ytmdl'
pkgname=ytmdl
version=2024.08.15.1
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="ffmpeg yt-dlp python3-mutagen python3-requests python3-colorama
 python3-itunespy python3-BeautifulSoup4 python3-downloader-cli
 python3-ffmpeg-python python3-xdg python3-lxml python3-pysocks
 python3-Unidecode python3-urllib3 python3-youtube-search
 python3-pyDes python3-simber python3-rich python3-musicbrainzngs
 python3-typing_extensions python3-ytmusicapi python3-youtubesearch
 python3-spotipy python3-itunespy"
short_desc="Get songs from youtube in mp3 format with all tags from itunes"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="MIT"
homepage="https://github.com/deepjyoti30/ytmdl"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=d6c95cb2e13e483dbbb2b670d6e3d92f7e881be574c86dbc24fe2373d8c29ebd
# There is no test to run
make_check=no

pre_configure() {
	vsed -e '/install_requires/d' -e '/setup_requires/d' -i setup.py
}

post_install() {
	vlicense LICENSE
}
