# Template file for 'ytmdl'
pkgname=ytmdl
version=2023.02.28
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=c05c5306172a067b1e694f0b737699b4c92dd24238bc4dc59f8883194210fd81
# 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
}
