summaryrefslogtreecommitdiff
path: root/dev-python/discid
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/discid')
-rw-r--r--dev-python/discid/Manifest2
-rw-r--r--dev-python/discid/discid-1.4.0.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/discid/Manifest b/dev-python/discid/Manifest
index d2998d460e85..eff979f9b0d8 100644
--- a/dev-python/discid/Manifest
+++ b/dev-python/discid/Manifest
@@ -1 +1,3 @@
+DIST discid-1.4.0.tar.gz 36594 BLAKE2B 3b15f6c5f1ccf275a3fe6532d464340b013e64b49042ca0da50afb1c3f34e0908f376a9d6e43c3ec7b60680c7f1df298ec066c846d4ef27498af0f1a5c51a425 SHA512 1b43e298ddd1a91bde46394a02df31b5ef64fa6cd8896e35e3df30c7ef2cf24c5123cda4e1248d85ba85f311c90d0b8295c3e4ce1e80ee6ef3f1efec99053d74
+DIST discid-1.4.0.tar.gz.provenance 9574 BLAKE2B 998f8056979fd56fa6d1c11adc46f11cea283ad2d4ae7fb7b303db3811356a1c55da8c45f6247df18e46ed3a2abad0d4ab273f35546576bcdfbb70b731aafa79 SHA512 8dd243bec966b3962e4cd2ef849bc80c189a2f4ed42a095903b1e2eda53cc0a33412ceddf221120ebad0cf1acfcf6147edd9a8fbd1b03eb09835ae75c09fab8f
DIST python-discid-1.3.0.gh.tar.gz 31864 BLAKE2B ca51b5c40babc4f13ac849e2570a104de55cfc30fbf83ebcc2693dae182ae61285d4579aa7a8417f0cabe8beba7dfa78c5bd4e3da2fdda7fae6152a5715a5350 SHA512 1556d3cb40a6397583702a41cc41e9506cee848edc4b05c0ced32dd9197464c0c68b2f6cd1770245a9737449a313f9985cbce30956d98f21691ce48b32929770
diff --git a/dev-python/discid/discid-1.4.0.ebuild b/dev-python/discid/discid-1.4.0.ebuild
new file mode 100644
index 000000000000..8aaf28ee334d
--- /dev/null
+++ b/dev-python/discid/discid-1.4.0.ebuild
@@ -0,0 +1,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_{10..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}"
+}