dev-python/mediafile: Switch to PEP 517 build

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-01-27 10:09:23 +01:00
parent 8fe19e9904
commit 9a707c8306

View File

@@ -0,0 +1,24 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Read and write audio files' tags in Python"
HOMEPAGE="https://github.com/beetbox/mediafile"
SRC_URI="https://github.com/beetbox/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.45.0[${PYTHON_USEDEP}]
"
distutils_enable_sphinx docs
distutils_enable_tests unittest