summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/opencc/opencc-1.0.5.ebuild')
-rw-r--r--app-i18n/opencc/opencc-1.0.5.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/app-i18n/opencc/opencc-1.0.5.ebuild b/app-i18n/opencc/opencc-1.0.5.ebuild
index fea4bcd352c5..6e3c86035fde 100644
--- a/app-i18n/opencc/opencc-1.0.5.ebuild
+++ b/app-i18n/opencc/opencc-1.0.5.ebuild
@@ -2,8 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
+PYTHON_COMPAT=(python{3_7,3_8,3_9})
-inherit cmake
+inherit cmake python-any-r1
if [[ "${PV}" == "9999" ]]; then
inherit git-r3
@@ -25,7 +26,8 @@ KEYWORDS="amd64 arm64 hppa ppc ppc64 sparc x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
-BDEPEND="doc? ( app-doc/doxygen )"
+BDEPEND="${PYTHON_DEPS}
+ doc? ( app-doc/doxygen )"
DEPEND=""
RDEPEND=""