From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-fonts/noto-emoji/
Date: Fri, 24 Apr 2020 19:12:29 +0000 (UTC) [thread overview]
Message-ID: <1587755543.1ac4db79a15f5dbf186cac519da403ee14445ea6.floppym@gentoo> (raw)
commit: 1ac4db79a15f5dbf186cac519da403ee14445ea6
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 24 18:49:30 2020 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Apr 24 19:12:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ac4db79
media-fonts/noto-emoji: fix python support
Closes: https://bugs.gentoo.org/719264
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
media-fonts/noto-emoji/noto-emoji-20200311.ebuild | 16 ++++++++++++----
media-fonts/noto-emoji/noto-emoji-20200317-r1.ebuild | 15 ++++++++++-----
media-fonts/noto-emoji/noto-emoji-20200317.ebuild | 16 ++++++++++++----
3 files changed, 34 insertions(+), 13 deletions(-)
diff --git a/media-fonts/noto-emoji/noto-emoji-20200311.ebuild b/media-fonts/noto-emoji/noto-emoji-20200311.ebuild
index 8c9d46ac17e..96e7679fa64 100644
--- a/media-fonts/noto-emoji/noto-emoji-20200311.ebuild
+++ b/media-fonts/noto-emoji/noto-emoji-20200311.ebuild
@@ -17,7 +17,7 @@ SLOT="0"
KEYWORDS="amd64"
IUSE=""
-DEPEND="${PYTHON_DEPS}
+BDEPEND="${PYTHON_DEPS}
app-arch/zopfli
$(python_gen_any_dep '
dev-python/fonttools[${PYTHON_USEDEP}]
@@ -27,7 +27,6 @@ DEPEND="${PYTHON_DEPS}
x11-libs/cairo
|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] )
"
-RDEPEND=""
RESTRICT="binchecks strip"
@@ -37,8 +36,12 @@ FONT_S="${S}"
FONT_SUFFIX="ttf"
python_check_deps() {
- has_version "dev-python/fonttools[${PYTHON_USEDEP}]" && \
- has_version "dev-python/nototools[${PYTHON_USEDEP}]"
+ has_version -b "dev-python/fonttools[${PYTHON_USEDEP}]" &&
+ has_version -b "dev-python/nototools[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ font_pkg_setup
}
PATCHES=(
@@ -58,6 +61,11 @@ src_prepare() {
fi
}
+src_compile() {
+ python_setup
+ default
+}
+
src_install() {
font_src_install
diff --git a/media-fonts/noto-emoji/noto-emoji-20200317-r1.ebuild b/media-fonts/noto-emoji/noto-emoji-20200317-r1.ebuild
index e34508200bf..c676a419e55 100644
--- a/media-fonts/noto-emoji/noto-emoji-20200317-r1.ebuild
+++ b/media-fonts/noto-emoji/noto-emoji-20200317-r1.ebuild
@@ -17,7 +17,8 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="buildfont"
-DEPEND="buildfont? (
+BDEPEND="
+ buildfont? (
${PYTHON_DEPS}
app-arch/zopfli
$(python_gen_any_dep '
@@ -29,15 +30,18 @@ DEPEND="buildfont? (
|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] )
)
"
-RDEPEND=""
RESTRICT="binchecks strip"
S="${WORKDIR}/${PN}-${COMMIT}"
python_check_deps() {
- has_version "dev-python/fonttools[${PYTHON_USEDEP}]" && \
- has_version "dev-python/nototools[${PYTHON_USEDEP}]"
+ has_version -b "dev-python/fonttools[${PYTHON_USEDEP}]" &&
+ has_version -b "dev-python/nototools[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ font_pkg_setup
}
src_prepare() {
@@ -55,7 +59,7 @@ src_prepare() {
eapply "${FILESDIR}"/${PN}-zopflipng-verbose.patch
# Based on Fedora patch to allow graphicsmagick usage
- if has_version media-gfx/graphicsmagick; then
+ if has_version -b media-gfx/graphicsmagick; then
eapply "${FILESDIR}/${PN}-20190328-use-gm.patch"
fi
fi
@@ -68,6 +72,7 @@ src_compile() {
einfo "To build fonts based on latest images enable 'buildfont'"
einfo "USE (that will require more time and resources too)."
else
+ python_setup
einfo "Building fonts..."
default
fi
diff --git a/media-fonts/noto-emoji/noto-emoji-20200317.ebuild b/media-fonts/noto-emoji/noto-emoji-20200317.ebuild
index 73217e5becc..b4230796aef 100644
--- a/media-fonts/noto-emoji/noto-emoji-20200317.ebuild
+++ b/media-fonts/noto-emoji/noto-emoji-20200317.ebuild
@@ -17,7 +17,7 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE=""
-DEPEND="${PYTHON_DEPS}
+BDEPEND="${PYTHON_DEPS}
app-arch/zopfli
$(python_gen_any_dep '
dev-python/fonttools[${PYTHON_USEDEP}]
@@ -27,7 +27,6 @@ DEPEND="${PYTHON_DEPS}
x11-libs/cairo
|| ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[png] )
"
-RDEPEND=""
RESTRICT="binchecks strip"
@@ -37,8 +36,12 @@ FONT_S="${S}"
FONT_SUFFIX="ttf"
python_check_deps() {
- has_version "dev-python/fonttools[${PYTHON_USEDEP}]" && \
- has_version "dev-python/nototools[${PYTHON_USEDEP}]"
+ has_version -b "dev-python/fonttools[${PYTHON_USEDEP}]" &&
+ has_version -b "dev-python/nototools[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+ font_pkg_setup
}
PATCHES=(
@@ -58,6 +61,11 @@ src_prepare() {
fi
}
+src_compile() {
+ python_setup
+ default
+}
+
src_install() {
font_src_install
next reply other threads:[~2020-04-24 19:12 UTC|newest]
Thread overview: 82+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-24 19:12 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-12 20:11 [gentoo-commits] repo/gentoo:master commit in: media-fonts/noto-emoji/ Arthur Zamarin
2025-10-12 15:54 Sam James
2025-10-12 15:54 Sam James
2025-09-28 15:52 Arthur Zamarin
2025-09-28 15:52 Arthur Zamarin
2025-09-28 15:52 Arthur Zamarin
2025-09-28 15:52 Arthur Zamarin
2025-09-27 18:07 Pacho Ramos
2025-06-25 12:42 Pacho Ramos
2025-06-20 15:22 Pacho Ramos
2025-06-20 15:22 Pacho Ramos
2025-06-05 0:31 Sam James
2025-06-04 19:14 Sam James
2025-06-04 12:05 Sam James
2025-06-04 12:03 Sam James
2024-11-17 11:45 Pacho Ramos
2024-11-17 11:45 Pacho Ramos
2024-04-13 6:36 Arthur Zamarin
2024-04-13 6:36 Arthur Zamarin
2024-04-12 15:30 Sam James
2024-04-12 15:30 Sam James
2024-03-25 18:13 Pacho Ramos
2024-03-25 18:13 Pacho Ramos
2024-03-02 14:13 Arthur Zamarin
2024-02-22 0:59 Sam James
2024-02-22 0:59 Sam James
2024-01-03 18:39 Arthur Zamarin
2023-12-16 9:46 Pacho Ramos
2023-11-24 12:55 Pacho Ramos
2023-11-24 12:55 Pacho Ramos
2023-08-28 23:49 Andreas K. Hüttel
2023-03-19 16:56 Pacho Ramos
2023-03-16 22:02 Sam James
2023-03-16 22:02 Sam James
2023-03-16 22:02 Sam James
2023-02-24 15:11 Pacho Ramos
2022-12-04 14:50 Pacho Ramos
2022-12-01 22:28 Jakov Smolić
2022-12-01 22:24 Jakov Smolić
2022-12-01 22:22 Jakov Smolić
2022-10-09 8:37 Arthur Zamarin
2022-10-08 17:42 Arthur Zamarin
2022-09-18 11:09 Pacho Ramos
2022-09-18 11:09 Pacho Ramos
2022-09-18 11:09 Pacho Ramos
2022-09-18 11:09 Pacho Ramos
2022-05-10 1:07 WANG Xuerui
2021-12-14 20:47 Arthur Zamarin
2021-12-14 15:45 Jakov Smolić
2021-12-14 15:45 Jakov Smolić
2021-11-06 9:13 Pacho Ramos
2021-11-06 9:13 Pacho Ramos
2021-09-17 8:57 Marek Szuba
2021-08-26 3:00 Sam James
2021-08-22 3:42 Sam James
2021-08-18 12:46 Agostino Sarubbo
2021-07-16 8:17 Pacho Ramos
2021-03-07 19:40 Pacho Ramos
2021-02-15 10:47 Sam James
2021-02-14 19:52 Sam James
2021-01-19 19:21 Pacho Ramos
2020-12-09 18:27 Pacho Ramos
2020-12-09 18:27 Pacho Ramos
2020-10-06 5:08 Sam James
2020-07-23 1:28 Sam James
2020-06-04 17:14 Mart Raudsepp
2020-06-04 14:06 Michał Górny
2020-05-29 16:18 Michał Górny
2020-05-22 19:05 Georgy Yakovlev
2020-04-19 2:35 Craig Andrews
2020-04-04 9:34 Pacho Ramos
2020-04-01 23:29 Pacho Ramos
2020-03-20 15:11 Pacho Ramos
2020-03-14 14:49 Pacho Ramos
2020-03-11 19:47 Pacho Ramos
2019-08-05 18:54 Pacho Ramos
2019-06-02 9:50 Pacho Ramos
2019-02-18 21:24 Pacho Ramos
2018-11-18 10:53 Pacho Ramos
2018-11-10 13:24 Pacho Ramos
2018-10-14 19:44 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1587755543.1ac4db79a15f5dbf186cac519da403ee14445ea6.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox