summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-05 17:40:09 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-05 18:03:50 +0200
commit1b8dad1b123115dbb1ccc65281cfadd7af9fb7ff (patch)
treef9ff789b206f63ba6138d51e6019c89d4f6f1a3f /dev-python/cycler
parentapp-portage/grs: bump to python 3.7 and 3.8 (diff)
downloadgentoo-1b8dad1b123115dbb1ccc65281cfadd7af9fb7ff.tar.gz
gentoo-1b8dad1b123115dbb1ccc65281cfadd7af9fb7ff.tar.bz2
gentoo-1b8dad1b123115dbb1ccc65281cfadd7af9fb7ff.zip
dev-python/cycler: Enable tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/cycler')
-rw-r--r--dev-python/cycler/Manifest1
-rw-r--r--dev-python/cycler/cycler-0.10.0-r1.ebuild19
2 files changed, 6 insertions, 14 deletions
diff --git a/dev-python/cycler/Manifest b/dev-python/cycler/Manifest
index 6c0eefe3d551..ea2bd396dbbb 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 e58d24b2b91b..7ab3756b3d68 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