From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4E4D3139345 for ; Sun, 11 Jul 2021 00:29:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A60BE0CA7; Sun, 11 Jul 2021 00:29:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 01FC0E0CA6 for ; Sun, 11 Jul 2021 00:29:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97F6E342B5C for ; Sun, 11 Jul 2021 00:29:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF0847CB for ; Sun, 11 Jul 2021 00:29:04 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1625963343.68fb39a0c807e8b8e604ee7da9c767c4a1d4f585.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-fonts/3270font/, media-fonts/3270font/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-fonts/3270font/3270font-2.3.0.ebuild media-fonts/3270font/files/3270font-2.3.0-correctly-pass-options.patch X-VCS-Directories: media-fonts/3270font/ media-fonts/3270font/files/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: 68fb39a0c807e8b8e604ee7da9c767c4a1d4f585 X-VCS-Branch: dev Date: Sun, 11 Jul 2021 00:29:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5c0a3cb0-785e-48d4-82e6-fb4caf70f360 X-Archives-Hash: cc2faeb629f0e1dae49eaff5bacac192 commit: 68fb39a0c807e8b8e604ee7da9c767c4a1d4f585 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Jul 11 00:23:29 2021 +0000 Commit: Alessandro Barbieri gmail com> CommitDate: Sun Jul 11 00:29:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68fb39a0 media-fonts/3270font: add fontbakery tests Signed-off-by: Alessandro Barbieri gmail.com> media-fonts/3270font/3270font-2.3.0.ebuild | 15 ++++++++++----- .../files/3270font-2.3.0-correctly-pass-options.patch | 10 ++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/media-fonts/3270font/3270font-2.3.0.ebuild b/media-fonts/3270font/3270font-2.3.0.ebuild index c1ccd1dac..16356a8d7 100644 --- a/media-fonts/3270font/3270font-2.3.0.ebuild +++ b/media-fonts/3270font/3270font-2.3.0.ebuild @@ -14,15 +14,17 @@ SRC_URI="https://github.com/rbanffy/3270font/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="BSD CC-BY-SA-3.0 GPL-3 OFL" SLOT="0" KEYWORDS="~amd64" - IUSE="test" -RESTRICT="!test? ( test )" +RESTRICT="test" +PROPERTIES="test_network" DOCS=( CHANGELOG.md README.md ) HTML_DOCS=( "DESCRIPTION.en_us.html" ) -PATCHES=( "${FILESDIR}/remove-useless-tests.patch" ) +PATCHES=( + "${FILESDIR}/remove-useless-tests.patch" + "${FILESDIR}/${P}-correctly-pass-options.patch" +) -RDEPEND="" DEPEND=" ${PYTHON_DEPS} media-gfx/fontforge @@ -31,6 +33,7 @@ DEPEND=" dev-python/ipdb[${PYTHON_USEDEP}] dev-python/pillow[${PYTHON_USEDEP}] dev-util/gftools[${PYTHON_SINGLE_USEDEP}] + media-gfx/fontbakery[${PYTHON_USEDEP}] ') ) " @@ -40,7 +43,8 @@ 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-python/pillow[${PYTHON_USEDEP}]" && \ + has_version -d "dev-util/gftools[${PYTHON_SINGLE_USEDEP}]" } pkg_setup() { @@ -53,4 +57,5 @@ src_compile() { src_test() { emake test + emake fbchecks } diff --git a/media-fonts/3270font/files/3270font-2.3.0-correctly-pass-options.patch b/media-fonts/3270font/files/3270font-2.3.0-correctly-pass-options.patch new file mode 100644 index 000000000..7d8dc6224 --- /dev/null +++ b/media-fonts/3270font/files/3270font-2.3.0-correctly-pass-options.patch @@ -0,0 +1,10 @@ +--- a/fontbakery_checks.sh ++++ b/fontbakery_checks.sh +@@ -36,6 +36,6 @@ + for fontdir in "$OUTPUT_DIR"/* + do + if [ -d "$fontdir" ]; then +- fontbakery check-googlefonts "$OPTIONS" "$fontdir"/*.ttf ++ fontbakery check-googlefonts $OPTIONS "$fontdir"/*.ttf + fi + done