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
-rw-r--r--dev-python/discid/metadata.xml9
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/discid/Manifest b/dev-python/discid/Manifest
new file mode 100644
index 000000000000..83dde3060e86
--- /dev/null
+++ b/dev-python/discid/Manifest
@@ -0,0 +1,2 @@
+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
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..a6faf0a96369
--- /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_{13..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}"
+}
diff --git a/dev-python/discid/metadata.xml b/dev-python/discid/metadata.xml
new file mode 100644
index 000000000000..acfe7097587e
--- /dev/null
+++ b/dev-python/discid/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>