diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-11-05 17:56:40 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-11-05 17:56:40 +0000 |
| commit | 8e2a024866693650b07dbc2f43e4be74952feb05 (patch) | |
| tree | 8add0aed8397d3bb7b1ea141fecaf043ce74aadd /dev-python/python-discid | |
| parent | 1e1ad59bb4d445add435d8a12ae5338f96ad605e (diff) | |
| download | baldeagleos-repo-8e2a024866693650b07dbc2f43e4be74952feb05.tar.gz baldeagleos-repo-8e2a024866693650b07dbc2f43e4be74952feb05.tar.xz baldeagleos-repo-8e2a024866693650b07dbc2f43e4be74952feb05.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-discid')
| -rw-r--r-- | dev-python/python-discid/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/python-discid/python-discid-1.2.0-r1.ebuild | 25 |
2 files changed, 21 insertions, 6 deletions
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}" +} |
