blob: 92d26eaff0ed82e52fdb33b5fcdaead598ca6ffb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_VERIFY_REPO=https://github.com/metabrainz/python-discid
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Python bindings for libdiscid"
HOMEPAGE="
https://python-discid.readthedocs.io/en/latest/
https://github.com/metabrainz/python-discid/
https://pypi.org/project/discid/
"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
DEPEND="
>=media-libs/libdiscid-0.2.2
"
RDEPEND="
${DEPEND}
"
distutils_enable_sphinx doc \
dev-python/sphinx-autodoc-typehints \
dev-python/sphinx-rtd-theme
python_test() {
"${EPYTHON}" -m unittest -v test_discid.TestModule{Private,} ||
die "Tests failed with ${EPYTHON}"
}
|