# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..12} )

inherit distutils-r1 xdg-utils git-r3

DESCRIPTION="Audio tag editor"
HOMEPAGE="http://docs.puddletag.net/"
EGIT_REPO_URI="https://github.com/puddletag/puddletag.git"

LICENSE="GPL-2 GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="acoustid quodlibet"

RDEPEND="
	>=dev-python/configobj-5.0.8[${PYTHON_USEDEP}]
	>=dev-python/pyparsing-3.0.9[${PYTHON_USEDEP}]
	>=dev-python/PyQt5-5.15.9[${PYTHON_USEDEP},svg]
	>=media-libs/mutagen-1.46.0[${PYTHON_USEDEP}]
	acoustid? ( 
		>=dev-python/pyacoustid-1.2.2[${PYTHON_USEDEP}]
		>=media-libs/chromaprint-0.5[tools] )
	quodlibet? ( >=media-sound/quodlibet-4.4.0[${PYTHON_USEDEP}] )
	>=dev-python/PyQt5-sip-12.11.0[${PYTHON_USEDEP}]
	>=dev-python/lxml-4.9.2[${PYTHON_USEDEP}]
	>=dev-python/Levenshtein-0.20.9[${PYTHON_USEDEP}]
"

DOCS=(changelog NEWS THANKS TODO)