commit:     63fc59969042a344be70d431fc68e3eadbe6a90b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  6 16:53:03 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar  6 17:45:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63fc5996

dev-python/fqdn: cached-property is needed for py<3.8 only

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/fqdn/{fqdn-1.5.0.ebuild => fqdn-1.5.0-r1.ebuild} | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-python/fqdn/fqdn-1.5.0.ebuild 
b/dev-python/fqdn/fqdn-1.5.0-r1.ebuild
similarity index 76%
rename from dev-python/fqdn/fqdn-1.5.0.ebuild
rename to dev-python/fqdn/fqdn-1.5.0-r1.ebuild
index 9e8e8158b78..deeea469ea8 100644
--- a/dev-python/fqdn/fqdn-1.5.0.ebuild
+++ b/dev-python/fqdn/fqdn-1.5.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018-2020 Gentoo Authors
+# Copyright 2018-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,10 @@ LICENSE="MPL-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
 
-RDEPEND="dev-python/cached-property[${PYTHON_USEDEP}]"
+RDEPEND="
+       $(python_gen_cond_dep '
+               dev-python/cached-property[${PYTHON_USEDEP}]
+       ' python3_7 pypy3)"
 
 distutils_enable_tests pytest
 distutils_enable_sphinx docs

Reply via email to