public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-fonts/3270font/
Date: Sun, 18 Apr 2021 00:07:54 +0000 (UTC)	[thread overview]
Message-ID: <1618704465.b15c2f379321d89e3b19760344008f9831ffcd5b.Alessandro-Barbieri@gentoo> (raw)

commit:     b15c2f379321d89e3b19760344008f9831ffcd5b
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr 18 00:07:45 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Apr 18 00:07:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b15c2f37

media-fonts/3270font: move to python-single-r1

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 media-fonts/3270font/3270font-2.2.1-r1.ebuild | 10 +++++--
 media-fonts/3270font/3270font-2.2.1.ebuild    | 43 ---------------------------
 2 files changed, 7 insertions(+), 46 deletions(-)

diff --git a/media-fonts/3270font/3270font-2.2.1-r1.ebuild b/media-fonts/3270font/3270font-2.2.1-r1.ebuild
index 540fd1c48..da7ce9a46 100644
--- a/media-fonts/3270font/3270font-2.2.1-r1.ebuild
+++ b/media-fonts/3270font/3270font-2.2.1-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI="7"
 
 PYTHON_COMPAT=( python3_{7,8} )
-inherit font python-any-r1
+inherit font python-single-r1
 
 DESCRIPTION="A IBM 3270 Terminal font in a modern format"
 HOMEPAGE="https://github.com/rbanffy/3270font"
@@ -22,16 +22,20 @@ HTML_DOCS=( "DESCRIPTION.en_us.html" )
 
 PATCHES=( "${FILESDIR}/remove-useless-tests.patch" )
 RDEPEND="
+	${PYTHON_DEPS}
 	media-gfx/fontforge
 "
 DEPEND="
 	${PYTHON_DEPS}
 	${RDEPEND}
 	test? (
-		dev-python/ipdb
-		dev-python/pillow
+		$(python_gen_cond_dep '
+			dev-python/ipdb[${PYTHON_USEDEP}]
+			dev-python/pillow[${PYTHON_USEDEP}]
+		')
 	)
 "
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 FONT_S="${S}/build"
 FONT_SUFFIX="otf ttf pfm woff"

diff --git a/media-fonts/3270font/3270font-2.2.1.ebuild b/media-fonts/3270font/3270font-2.2.1.ebuild
deleted file mode 100644
index eaa42e814..000000000
--- a/media-fonts/3270font/3270font-2.2.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{7,8} )
-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"
-
-LICENSE="BSD CC-BY-SA-3.0 GPL-3 OFL"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-DOCS=( CHANGELOG.md README.md  )
-HTML_DOCS=( "DESCRIPTION.en_us.html" )
-#test need network
-RESTRICT="test"
-RDEPEND="
-	media-gfx/fontforge
-"
-DEPEND="
-	${PYTHON_DEPS}
-	${RDEPEND}
-	test? (
-		dev-python/black
-		dev-python/ipdb
-		dev-python/pillow
-	)
-"
-
-FONT_S="${S}/build"
-FONT_SUFFIX="otf ttf pfm woff"
-
-src_compile() {
-	emake font
-}
-
-src_test() {
-	emake test
-}


             reply	other threads:[~2021-04-18  0:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-18  0:07 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-13  3:14 [gentoo-commits] repo/proj/guru:dev commit in: media-fonts/3270font/ Julien Roy
2022-12-25  2:19 Anna Vyalkova
2022-12-25  2:19 Anna Vyalkova
2022-03-31 23:36 Alessandro Barbieri
2021-04-18 23:31 Alessandro Barbieri
2021-04-18 15:59 Andrew Ammerlaan
2021-04-18 13:39 Alessandro Barbieri
2021-04-17 20:00 Andrew Ammerlaan
2021-04-17  0:27 Alessandro Barbieri

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=1618704465.b15c2f379321d89e3b19760344008f9831ffcd5b.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --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