summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-10-08 20:42:10 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-10-08 20:42:37 +0300
commitf00bff5eff70b00a06d2546ea2c625691d27b1a9 (patch)
treea3433027c8613689014bd710c9d25912957a2c2d /media-fonts/noto-emoji
parentgnustep-base/gnustep-make: fix MissingSlotDep deux (diff)
downloadgentoo-f00bff5eff70b00a06d2546ea2c625691d27b1a9.tar.gz
gentoo-f00bff5eff70b00a06d2546ea2c625691d27b1a9.tar.bz2
gentoo-f00bff5eff70b00a06d2546ea2c625691d27b1a9.zip
media-fonts/noto-emoji: fix python_check_deps
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'media-fonts/noto-emoji')
-rw-r--r--media-fonts/noto-emoji/noto-emoji-20211101.ebuild5
-rw-r--r--media-fonts/noto-emoji/noto-emoji-20220912.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/media-fonts/noto-emoji/noto-emoji-20211101.ebuild b/media-fonts/noto-emoji/noto-emoji-20211101.ebuild
index 6d60d2e3c1ae..8732b923dc31 100644
--- a/media-fonts/noto-emoji/noto-emoji-20211101.ebuild
+++ b/media-fonts/noto-emoji/noto-emoji-20211101.ebuild
@@ -36,12 +36,13 @@ RESTRICT="binchecks strip"
S="${WORKDIR}/${PN}-${COMMIT}"
python_check_deps() {
- has_version -b "dev-python/fonttools[${PYTHON_USEDEP}]" &&
- has_version -b "dev-python/nototools[${PYTHON_USEDEP}]"
+ python_has_version ">=dev-python/fonttools-4.7.0[${PYTHON_USEDEP}]" \
+ ">=dev-python/nototools-0.2.13[${PYTHON_USEDEP}]"
}
pkg_setup() {
font_pkg_setup
+ python-any-r1_pkg_setup
}
src_prepare() {
diff --git a/media-fonts/noto-emoji/noto-emoji-20220912.ebuild b/media-fonts/noto-emoji/noto-emoji-20220912.ebuild
index 81ade31b2d25..bdfa462ac38e 100644
--- a/media-fonts/noto-emoji/noto-emoji-20220912.ebuild
+++ b/media-fonts/noto-emoji/noto-emoji-20220912.ebuild
@@ -36,12 +36,13 @@ RESTRICT="binchecks strip"
S="${WORKDIR}/${PN}-${COMMIT}"
python_check_deps() {
- python_has_version -b ">=dev-python/fonttools-4.7.0[${PYTHON_USEDEP}]" &&
- python_has_version -b ">=dev-python/nototools-0.2.13[${PYTHON_USEDEP}]"
+ python_has_version ">=dev-python/fonttools-4.7.0[${PYTHON_USEDEP}]" \
+ ">=dev-python/nototools-0.2.13[${PYTHON_USEDEP}]"
}
pkg_setup() {
font_pkg_setup
+ python-any-r1_pkg_setup
}
src_prepare() {