summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-01-27 10:09:23 +0100
committerMichał Górny <mgorny@gentoo.org>2022-01-27 10:21:18 +0100
commit9a707c8306fdb1755310a795c4c44af76f3bdfcf (patch)
treeda07779cf1b1a298671c3e0df91f414e66341952 /dev-python/mediafile
parentdev-libs/imath: cleanup old v3.1.1 (diff)
downloadgentoo-9a707c8306fdb1755310a795c4c44af76f3bdfcf.tar.gz
gentoo-9a707c8306fdb1755310a795c4c44af76f3bdfcf.tar.bz2
gentoo-9a707c8306fdb1755310a795c4c44af76f3bdfcf.zip
dev-python/mediafile: Switch to PEP 517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mediafile')
-rw-r--r--dev-python/mediafile/mediafile-0.9.0-r1.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/mediafile/mediafile-0.9.0-r1.ebuild b/dev-python/mediafile/mediafile-0.9.0-r1.ebuild
new file mode 100644
index 000000000000..83d355ede4fa
--- /dev/null
+++ b/dev-python/mediafile/mediafile-0.9.0-r1.ebuild
@@ -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