From 1af2aa6c1fb6b150782793790d1dfdd0fa398c6d Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 27 Jul 2025 07:04:07 +0000 Subject: Adding metadata --- dev-python/discid/Manifest | 1 + dev-python/discid/discid-1.3.0.ebuild | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 dev-python/discid/discid-1.3.0.ebuild (limited to 'dev-python/discid') diff --git a/dev-python/discid/Manifest b/dev-python/discid/Manifest index 7bbf1b7d40f7..6b8fe43b6e99 100644 --- a/dev-python/discid/Manifest +++ b/dev-python/discid/Manifest @@ -1 +1,2 @@ DIST python-discid-1.2.0.gh.tar.gz 30756 BLAKE2B 616613de23b66adfc92227a9f36b710649f2a419ffd83443766ebcf1dbfaf528b7d933011bcbdcd19f5092726b81e40d905a62a64262a528dfad89e561210992 SHA512 239cb608508e94109aa9b8b582bc3de1fb9408b508d56698d7f17ec9ebb0d37c1fb76557d98b6d194c1532e3047efcde3adc5d6e9634bc87533d331423a7f19f +DIST python-discid-1.3.0.gh.tar.gz 31864 BLAKE2B ca51b5c40babc4f13ac849e2570a104de55cfc30fbf83ebcc2693dae182ae61285d4579aa7a8417f0cabe8beba7dfa78c5bd4e3da2fdda7fae6152a5715a5350 SHA512 1556d3cb40a6397583702a41cc41e9506cee848edc4b05c0ced32dd9197464c0c68b2f6cd1770245a9737449a313f9985cbce30956d98f21691ce48b32929770 diff --git a/dev-python/discid/discid-1.3.0.ebuild b/dev-python/discid/discid-1.3.0.ebuild new file mode 100644 index 000000000000..941100e7abfd --- /dev/null +++ b/dev-python/discid/discid-1.3.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 + +MY_P=python-discid-${PV} +DESCRIPTION="Python bindings for libdiscid" +HOMEPAGE=" + https://python-discid.readthedocs.io/en/latest/ + https://github.com/metabrainz/python-discid/ + https://pypi.org/project/discid/ +" +SRC_URI=" + https://github.com/metabrainz/python-discid/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~x86" + +DEPEND=" + >=media-libs/libdiscid-0.2.2 +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_sphinx doc + +python_test() { + "${EPYTHON}" -m unittest -v test_discid.TestModule{Private,} || + die "Tests failed with ${EPYTHON}" +} -- cgit v1.3