Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 3/3] virtual/python-dnspython: Use -2/-3 operators to python_gen_usedep (example)
Date: Wed, 10 May 2017 18:55:40
Message-Id: 20170510185333.6423-3-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/3] python-utils-r1.eclass: Allow -2/-3 as impl-patterns for py2/py3 by "Michał Górny"
1 ---
2 virtual/python-dnspython/python-dnspython-1.ebuild | 4 ++--
3 1 file changed, 2 insertions(+), 2 deletions(-)
4
5 diff --git a/virtual/python-dnspython/python-dnspython-1.ebuild b/virtual/python-dnspython/python-dnspython-1.ebuild
6 index 063bbe7ce66f..885153f90caf 100644
7 --- a/virtual/python-dnspython/python-dnspython-1.ebuild
8 +++ b/virtual/python-dnspython/python-dnspython-1.ebuild
9 @@ -14,6 +14,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
10
11 RDEPEND="${PYTHON_DEPS}
12 !dev-python/dnspython:0
13 - $(python_gen_cond_dep 'dev-python/dnspython:py2[${PYTHON_USEDEP}]' python2*)
14 - $(python_gen_cond_dep 'dev-python/dnspython:py3[${PYTHON_USEDEP}]' python3*)"
15 + $(python_gen_cond_dep 'dev-python/dnspython:py2[${PYTHON_USEDEP}]' -2)
16 + $(python_gen_cond_dep 'dev-python/dnspython:py3[${PYTHON_USEDEP}]' -3)"
17 DEPEND="!dev-python/dnspython:0"
18 --
19 2.13.0