commit: 1b8dad1b123115dbb1ccc65281cfadd7af9fb7ff Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jun 5 15:40:09 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Jun 5 16:03:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b8dad1b
dev-python/cycler: Enable tests Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/cycler/Manifest | 1 + dev-python/cycler/cycler-0.10.0-r1.ebuild | 19 +++++-------------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/dev-python/cycler/Manifest b/dev-python/cycler/Manifest index 6c0eefe3d55..ea2bd396dbb 100644 --- a/dev-python/cycler/Manifest +++ b/dev-python/cycler/Manifest @@ -1 +1,2 @@ +DIST cycler-0.10.0.gh.tar.gz 21672 BLAKE2B 68b48e8359210845e35e4fe2cd1f48b48ac2c1ce67196fd9fa1e3a83a3bf15d6889a727bf62a65097d0975e93e660550084ef66a0c3a3de98ba04d439d29965b SHA512 685231d455dfdde70eb71415dfe561e07c34579d7b31ef7197f4c1441301635b387fec903d610b35406b619264f4c0cc616562de8f02b8192414c29274b63c01 DIST cycler-0.10.0.tar.gz 16553 BLAKE2B b2f3263e18fab74eed8c92a888f1a5cd47a2c24499fad3d9b9737b2fd01c3b085d6008d65e7cc075d9336321193e779e9c1c7b4daf9bb33be219f54267cd40dc SHA512 b7d2ba19861ffaf4dea0444bfe68b5a6264a022d7b3f02c9ff5e5859e3901de12a90f8dc7469e995e09c418515b3df55dbf05a0cfe5368d40790a2c878a74819 diff --git a/dev-python/cycler/cycler-0.10.0-r1.ebuild b/dev-python/cycler/cycler-0.10.0-r1.ebuild index e58d24b2b91..7ab3756b3d6 100644 --- a/dev-python/cycler/cycler-0.10.0-r1.ebuild +++ b/dev-python/cycler/cycler-0.10.0-r1.ebuild @@ -14,23 +14,14 @@ HOMEPAGE=" https://matplotlib.org/cycler/ https://pypi.org/project/Cycler/ https://github.com/matplotlib/cycler"; -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${P}.tar.gz" +SRC_URI=" + https://github.com/matplotlib/cycler/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" SLOT="0" LICENSE="BSD" KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="test" RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/nose[${PYTHON_USEDEP}] ) -" - -# Not shipped -# https://github.com/matplotlib/cycler/issues/21 -RESTRICT=test - -python_test() { - nosetests --verbosity=3 || die -} + +distutils_enable_tests nose