Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cycler/
Date: Fri, 05 Jun 2020 16:04:03
Message-Id: 1591373030.1b8dad1b123115dbb1ccc65281cfadd7af9fb7ff.mgorny@gentoo
1 commit: 1b8dad1b123115dbb1ccc65281cfadd7af9fb7ff
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 5 15:40:09 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 5 16:03:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b8dad1b
7
8 dev-python/cycler: Enable tests
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cycler/Manifest | 1 +
13 dev-python/cycler/cycler-0.10.0-r1.ebuild | 19 +++++--------------
14 2 files changed, 6 insertions(+), 14 deletions(-)
15
16 diff --git a/dev-python/cycler/Manifest b/dev-python/cycler/Manifest
17 index 6c0eefe3d55..ea2bd396dbb 100644
18 --- a/dev-python/cycler/Manifest
19 +++ b/dev-python/cycler/Manifest
20 @@ -1 +1,2 @@
21 +DIST cycler-0.10.0.gh.tar.gz 21672 BLAKE2B 68b48e8359210845e35e4fe2cd1f48b48ac2c1ce67196fd9fa1e3a83a3bf15d6889a727bf62a65097d0975e93e660550084ef66a0c3a3de98ba04d439d29965b SHA512 685231d455dfdde70eb71415dfe561e07c34579d7b31ef7197f4c1441301635b387fec903d610b35406b619264f4c0cc616562de8f02b8192414c29274b63c01
22 DIST cycler-0.10.0.tar.gz 16553 BLAKE2B b2f3263e18fab74eed8c92a888f1a5cd47a2c24499fad3d9b9737b2fd01c3b085d6008d65e7cc075d9336321193e779e9c1c7b4daf9bb33be219f54267cd40dc SHA512 b7d2ba19861ffaf4dea0444bfe68b5a6264a022d7b3f02c9ff5e5859e3901de12a90f8dc7469e995e09c418515b3df55dbf05a0cfe5368d40790a2c878a74819
23
24 diff --git a/dev-python/cycler/cycler-0.10.0-r1.ebuild b/dev-python/cycler/cycler-0.10.0-r1.ebuild
25 index e58d24b2b91..7ab3756b3d6 100644
26 --- a/dev-python/cycler/cycler-0.10.0-r1.ebuild
27 +++ b/dev-python/cycler/cycler-0.10.0-r1.ebuild
28 @@ -14,23 +14,14 @@ HOMEPAGE="
29 https://matplotlib.org/cycler/
30 https://pypi.org/project/Cycler/
31 https://github.com/matplotlib/cycler"
32 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${P}.tar.gz"
33 +SRC_URI="
34 + https://github.com/matplotlib/cycler/archive/v${PV}.tar.gz
35 + -> ${P}.gh.tar.gz"
36
37 SLOT="0"
38 LICENSE="BSD"
39 KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
40 -IUSE="test"
41
42 RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
43 -DEPEND="${RDEPEND}
44 - dev-python/setuptools[${PYTHON_USEDEP}]
45 - test? ( dev-python/nose[${PYTHON_USEDEP}] )
46 -"
47 -
48 -# Not shipped
49 -# https://github.com/matplotlib/cycler/issues/21
50 -RESTRICT=test
51 -
52 -python_test() {
53 - nosetests --verbosity=3 || die
54 -}
55 +
56 +distutils_enable_tests nose