From 8e2a024866693650b07dbc2f43e4be74952feb05 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sun, 5 Nov 2023 17:56:40 +0000 Subject: Adding metadata --- dev-python/python-discid/Manifest | 2 +- .../python-discid/python-discid-1.2.0-r1.ebuild | 25 +++++++++++++++++----- 2 files changed, 21 insertions(+), 6 deletions(-) (limited to 'dev-python/python-discid') diff --git a/dev-python/python-discid/Manifest b/dev-python/python-discid/Manifest index e455554b623c..7bbf1b7d40f7 100644 --- a/dev-python/python-discid/Manifest +++ b/dev-python/python-discid/Manifest @@ -1 +1 @@ -DIST python-discid-1.2.0.tar.gz 30756 BLAKE2B 616613de23b66adfc92227a9f36b710649f2a419ffd83443766ebcf1dbfaf528b7d933011bcbdcd19f5092726b81e40d905a62a64262a528dfad89e561210992 SHA512 239cb608508e94109aa9b8b582bc3de1fb9408b508d56698d7f17ec9ebb0d37c1fb76557d98b6d194c1532e3047efcde3adc5d6e9634bc87533d331423a7f19f +DIST python-discid-1.2.0.gh.tar.gz 30756 BLAKE2B 616613de23b66adfc92227a9f36b710649f2a419ffd83443766ebcf1dbfaf528b7d933011bcbdcd19f5092726b81e40d905a62a64262a528dfad89e561210992 SHA512 239cb608508e94109aa9b8b582bc3de1fb9408b508d56698d7f17ec9ebb0d37c1fb76557d98b6d194c1532e3047efcde3adc5d6e9634bc87533d331423a7f19f diff --git a/dev-python/python-discid/python-discid-1.2.0-r1.ebuild b/dev-python/python-discid/python-discid-1.2.0-r1.ebuild index c160be2487f9..d9bfef66369a 100644 --- a/dev-python/python-discid/python-discid-1.2.0-r1.ebuild +++ b/dev-python/python-discid/python-discid-1.2.0-r1.ebuild @@ -9,15 +9,30 @@ PYTHON_COMPAT=( python3_{8,9,10,11,12} ) inherit distutils-r1 DESCRIPTION="Python bindings for libdiscid" -HOMEPAGE="https://github.com/JonnyJD/python-discid" -SRC_URI="https://github.com/JonnyJD/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://python-discid.readthedocs.io/en/latest/ + https://github.com/JonnyJD/python-discid/ + https://pypi.org/project/discid/ +" +SRC_URI=" + https://github.com/JonnyJD/python-discid/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="LGPL-3+" SLOT="0" KEYWORDS="amd64 ~arm64 ~ppc x86" -RDEPEND=">=media-libs/libdiscid-0.2.2" -DEPEND="${RDEPEND}" +DEPEND=" + >=media-libs/libdiscid-0.2.2 +" +RDEPEND=" + ${DEPEND} +" distutils_enable_sphinx doc -distutils_enable_tests setup.py + +python_test() { + "${EPYTHON}" -m unittest -v test_discid.TestModule{Private,} || + die "Tests failed with ${EPYTHON}" +} -- cgit v1.3.1