diff options
| author | Michał Górny <mgorny@gentoo.org> | 2019-12-03 10:55:03 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2019-12-04 18:13:30 +0100 |
| commit | 15b352d8c7ea3bd67b214eef558bf7e7c1ea686b (patch) | |
| tree | 27c1fb0dadcc9867645a4a62c2c827b77fb6d25d /dev-python | |
| parent | 00251649d35a06cb7287d3ed62ae1b36d9a2ea47 (diff) | |
| download | gentoo-15b352d8c7ea3bd67b214eef558bf7e7c1ea686b.tar.gz gentoo-15b352d8c7ea3bd67b214eef558bf7e7c1ea686b.tar.bz2 gentoo-15b352d8c7ea3bd67b214eef558bf7e7c1ea686b.zip | |
dev-python/netaddr: Restrict cli to py3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/netaddr/netaddr-0.7.19.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-python/netaddr/netaddr-0.7.19.ebuild b/dev-python/netaddr/netaddr-0.7.19.ebuild index 743a00abf0a0..33dd2ae10c0f 100644 --- a/dev-python/netaddr/netaddr-0.7.19.ebuild +++ b/dev-python/netaddr/netaddr-0.7.19.ebuild @@ -15,8 +15,14 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" IUSE="cli test" +REQUIRED_USE="cli? ( || ( $(python_gen_useflags -3) ) )" -RDEPEND="cli? ( >=dev-python/ipython-0.13.1-r1[${PYTHON_USEDEP}] )" +RDEPEND=" + cli? ( + $(python_gen_cond_dep ' + >=dev-python/ipython-0.13.1-r1[${PYTHON_USEDEP}] + ' -3) + )" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] test? ( dev-python/pytest[${PYTHON_USEDEP}] |
