From: David Seifert Date: Sat, 19 Oct 2019 20:48:37 +0000 (+0200) Subject: media-fonts/cronyx-fonts: Port to EAPI 7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=34a3f166d92ff6476a5662e24d81076081289480;p=gentoo.git media-fonts/cronyx-fonts: Port to EAPI 7 Bug: https://bugs.gentoo.org/696312 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: David Seifert --- diff --git a/media-fonts/cronyx-fonts/cronyx-fonts-2.3.8.ebuild b/media-fonts/cronyx-fonts/cronyx-fonts-2.3.8.ebuild index 2efca6e3f0b0..c07950ee68d1 100644 --- a/media-fonts/cronyx-fonts/cronyx-fonts-2.3.8.ebuild +++ b/media-fonts/cronyx-fonts/cronyx-fonts-2.3.8.ebuild @@ -1,25 +1,27 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -FONT_PN="cronyx" -inherit eutils font font-ebdftopcf +EAPI=7 + +inherit font font-ebdftopcf MY_P="xfonts-cronyx_${PV}" + DESCRIPTION="Cronyx Cyrillic bitmap fonts for X" -HOMEPAGE="http://packages.debian.org/source/sid/xfonts-cronyx" -SRC_URI="mirror://debian/pool/main/x/xfonts-cronyx/${MY_P}.orig.tar.gz +HOMEPAGE="https://packages.debian.org/source/sid/xfonts-cronyx" +SRC_URI=" + mirror://debian/pool/main/x/xfonts-cronyx/${MY_P}.orig.tar.gz mirror://debian/pool/main/x/xfonts-cronyx/${MY_P}-6.diff.gz" LICENSE="freedist" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~ia64 ppc s390 ~sh sparc x86" -IUSE="" +KEYWORDS="alpha amd64 arm ia64 ppc s390 sh sparc x86" S="${WORKDIR}/${MY_P//_/-}.orig" -FONT_S="${S}/75dpi ${S}/100dpi ${S}/misc" -DOCS="Changelog.en xcyr.README.* xrus.README" -src_prepare() { - epatch "${WORKDIR}"/${MY_P}-6.diff -} +PATCHES=( "${WORKDIR}"/${MY_P}-6.diff ) + +DOCS="Changelog.en xcyr.README.* xrus.README" +FONT_PN="cronyx" +FONT_S="${S}/75dpi ${S}/100dpi ${S}/misc" +FONTDIR="/usr/share/fonts/cronyx"