commit: 8cfa126075f915b07cefa3b7730c3e30503c8f67 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> AuthorDate: Thu Nov 19 06:00:00 2020 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sun Nov 22 19:31:54 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cfa1260
app-i18n/opencc: Add proper usage of python-any-r1.eclass. Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org> Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> app-i18n/opencc/opencc-1.0.5.ebuild | 6 ++++-- app-i18n/opencc/opencc-9999.ebuild | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app-i18n/opencc/opencc-1.0.5.ebuild b/app-i18n/opencc/opencc-1.0.5.ebuild index fea4bcd352c..6e3c86035fd 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="" diff --git a/app-i18n/opencc/opencc-9999.ebuild b/app-i18n/opencc/opencc-9999.ebuild index 9fb2129d45d..bcf43765ab1 100644 --- a/app-i18n/opencc/opencc-9999.ebuild +++ b/app-i18n/opencc/opencc-9999.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="" IUSE="doc test" RESTRICT="!test? ( test )" -BDEPEND="doc? ( app-doc/doxygen )" +BDEPEND="${PYTHON_DEPS} + doc? ( app-doc/doxygen )" DEPEND="" RDEPEND=""