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/python-discid-1.2.0-r1.ebuild | |
| 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/python-discid-1.2.0-r1.ebuild')
| -rw-r--r-- | dev-python/python-discid/python-discid-1.2.0-r1.ebuild | 25 |
1 files changed, 20 insertions, 5 deletions
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}" +} |
