commit: c373af08d88b6489310560f57cde99465b7fbb04
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jun 21 02:51:45 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jun 21 02:51:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c373af08
media-fonts/3270font: add 2.3.0, drop 2.2.1-r1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../{3270font-2.2.1-r1.ebuild => 3270font-2.3.0.ebuild} | 14 +++++++-------
media-fonts/3270font/Manifest | 2 +-
media-fonts/3270font/files/remove-useless-tests.patch | 4 ++--
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/media-fonts/3270font/3270font-2.2.1-r1.ebuild
b/media-fonts/3270font/3270font-2.3.0.ebuild
similarity index 86%
rename from media-fonts/3270font/3270font-2.2.1-r1.ebuild
rename to media-fonts/3270font/3270font-2.3.0.ebuild
index 1ed424368..c1ccd1dac 100644
--- a/media-fonts/3270font/3270font-2.2.1-r1.ebuild
+++ b/media-fonts/3270font/3270font-2.3.0.ebuild
@@ -3,7 +3,8 @@
EAPI="7"
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{8..9} )
+
inherit font python-any-r1
DESCRIPTION="A IBM 3270 Terminal font in a modern format"
@@ -19,18 +20,17 @@ RESTRICT="!test? ( test )"
DOCS=( CHANGELOG.md README.md )
HTML_DOCS=( "DESCRIPTION.en_us.html" )
-
PATCHES=( "${FILESDIR}/remove-useless-tests.patch" )
-RDEPEND="
- media-gfx/fontforge
-"
+
+RDEPEND=""
DEPEND="
${PYTHON_DEPS}
- ${RDEPEND}
+ media-gfx/fontforge
test? (
$(python_gen_any_dep '
dev-python/ipdb[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
+ dev-util/gftools[${PYTHON_SINGLE_USEDEP}]
')
)
"
@@ -39,7 +39,7 @@ 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/ipdb[${PYTHON_USEDEP}]" && \
has_version -d "dev-python/pillow[${PYTHON_USEDEP}]"
}
diff --git a/media-fonts/3270font/Manifest b/media-fonts/3270font/Manifest
index d18511b7b..28b5cd17c 100644
--- a/media-fonts/3270font/Manifest
+++ b/media-fonts/3270font/Manifest
@@ -1 +1 @@
-DIST 3270font-2.2.1.tar.gz 518982 BLAKE2B
43cb01f569ff51ac250609fe0788025ed9cdb8dcbc09b090ed0ea74c3d77f07e2c42c123f9f7c82b0beadd6f8c486901727dad668893450916d2adabb7769012
SHA512
055e126eecdd190c425d84e0656170057a900a40475d357a52287ea87759d842808085be6fec14fdee6a5fccdf446422cc115d60aa5b2892e8e787f6fcc83c92
+DIST 3270font-2.3.0.tar.gz 520106 BLAKE2B
e3ece6a0f476d20bf4135057739a73deee49050b6be9b4bd3731b228729f622d059c53a122a266332e02e71af08dc6b13f215358dc275edd91247e3119d249be
SHA512
26d1a32990b0ea8395959ed37d7acc76f1f1d160488ff6e96bb39fc8ca952339c09ed06cb0783a69b6ef6545be72ed63665af3584f79852fe0a813301f77ea7d
diff --git a/media-fonts/3270font/files/remove-useless-tests.patch
b/media-fonts/3270font/files/remove-useless-tests.patch
index 56fed49f7..c8a860d97 100644
--- a/media-fonts/3270font/files/remove-useless-tests.patch
+++ b/media-fonts/3270font/files/remove-useless-tests.patch
@@ -1,5 +1,5 @@
---- a/Makefile 2021-04-17 04:14:57.220030609 +0200
-+++ b/Makefile 2021-04-17 04:15:23.615508374 +0200
+--- a/Makefile
++++ b/Makefile
@@ -73,17 +73,11 @@
@./fontbakery_checks.sh