From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-fonts/3270font/
Date: Tue, 27 Dec 2022 08:05:51 +0000 (UTC) [thread overview]
Message-ID: <1671934762.16f24f0dbd38fa6fe4e2e4f63a62de7ba8256bdf.ceamac@gentoo> (raw)
commit: 16f24f0dbd38fa6fe4e2e4f63a62de7ba8256bdf
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Dec 24 01:18:46 2022 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Dec 25 02:19:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=16f24f0d
media-fonts/3270font: update EAPI 7 -> 8
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
media-fonts/3270font/3270font-2.3.1.ebuild | 33 +++++++++++++++---------------
1 file changed, 16 insertions(+), 17 deletions(-)
diff --git a/media-fonts/3270font/3270font-2.3.1.ebuild b/media-fonts/3270font/3270font-2.3.1.ebuild
index ef8fcf268..b933d5488 100644
--- a/media-fonts/3270font/3270font-2.3.1.ebuild
+++ b/media-fonts/3270font/3270font-2.3.1.ebuild
@@ -1,15 +1,14 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
+EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
-
inherit font python-any-r1
DESCRIPTION="A IBM 3270 Terminal font in a modern format"
HOMEPAGE="https://github.com/rbanffy/3270font"
-SRC_URI="https://github.com/rbanffy/3270font/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/rbanffy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD CC-BY-SA-3.0 GPL-3 OFL"
SLOT="0"
@@ -18,14 +17,8 @@ IUSE="test"
RESTRICT="test"
PROPERTIES="test_network"
-DOCS=( CHANGELOG.md README.md )
-HTML_DOCS=( "DESCRIPTION.en_us.html" )
-PATCHES=(
- "${FILESDIR}/remove-useless-tests.patch"
- "${FILESDIR}/${PN}-2.3.0-correctly-pass-options.patch"
-)
-DEPEND="
+BDEPEND="
${PYTHON_DEPS}
media-gfx/fontforge
test? (
@@ -38,17 +31,23 @@ DEPEND="
)
"
+DOCS=( CHANGELOG.md README.md )
+HTML_DOCS=( "DESCRIPTION.en_us.html" )
+
+PATCHES=(
+ "${FILESDIR}/remove-useless-tests.patch"
+ "${FILESDIR}/${PN}-2.3.0-correctly-pass-options.patch"
+)
+
FONT_S="${S}/build"
FONT_SUFFIX="otf ttf pfm woff"
python_check_deps() {
- has_version -d "dev-python/ipdb[${PYTHON_USEDEP}]" && \
- has_version -d "dev-python/pillow[${PYTHON_USEDEP}]" && \
- has_version -d "dev-util/gftools[${PYTHON_SINGLE_USEDEP}]"
-}
-
-pkg_setup() {
- use test && python-any-r1_pkg_setup
+ use test || return 0
+ python_has_version -b "dev-python/ipdb[${PYTHON_USEDEP}]" &&
+ python_has_version -b "dev-python/pillow[${PYTHON_USEDEP}]" &&
+ python_has_version -b "dev-util/gftools[${PYTHON_SINGLE_USEDEP}]" &&
+ python_has_version -b "media-gfx/fontbakery[${PYTHON_USEDEP}]"
}
src_compile() {
next reply other threads:[~2022-12-27 8:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-27 8:05 Viorel Munteanu [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-12-27 8:05 [gentoo-commits] repo/proj/guru:master commit in: media-fonts/3270font/ Viorel Munteanu
2021-04-19 8:04 Andrew Ammerlaan
2021-04-18 16:01 Andrew Ammerlaan
2021-04-18 15:59 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-04-18 16:01 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-18 9:10 Andrew Ammerlaan
2021-04-17 20:00 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-04-17 20:00 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
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=1671934762.16f24f0dbd38fa6fe4e2e4f63a62de7ba8256bdf.ceamac@gentoo \
--to=ceamac@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