media-fonts/bitstream-cyberbit: fix QA issues

Add alternative download location
Closes: https://bugs.gentoo.org/show_bug.cgi?id=655454

Add ebuild with EAPI=7
Bug: https://bugs.gentoo.org/show_bug.cgi?id=655466

No longer rely on WORKDIR fallback (PMS 9.1.1) for EAPI=7 ebuild
Closes: https://bugs.gentoo.org/show_bug.cgi?id=467128
Package-Manager: Portage-2.3.36, Repoman-2.3.9
This commit is contained in:
Chí-Thanh Christopher Nguyễn
2018-05-11 23:33:56 +02:00
parent c1ba5292f5
commit b76cd7cdfd
2 changed files with 24 additions and 2 deletions
@@ -0,0 +1,22 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit font
DESCRIPTION="Cyberbit Unicode (including CJK) font"
HOMEPAGE="http://www.bitstream.com/"
SRC_URI="http://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP -> ${P}.zip ftp://ftp.netscape.com.edgesuite.net/pub/communicator/extras/fonts/windows/Cyberbit.ZIP -> ${P}.zip"
LICENSE="BitstreamCyberbit"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
DEPEND="app-arch/unzip"
RDEPEND=""
RESTRICT="bindist mirror"
S="${WORKDIR}"
FONT_SUFFIX="ttf"
@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="2"
@@ -7,7 +7,7 @@ inherit font
DESCRIPTION="Cyberbit Unicode (including CJK) font"
HOMEPAGE="http://www.bitstream.com/"
SRC_URI="http://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP -> ${P}.zip"
SRC_URI="http://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP -> ${P}.zip ftp://ftp.netscape.com.edgesuite.net/pub/communicator/extras/fonts/windows/Cyberbit.ZIP -> ${P}.zip"
LICENSE="BitstreamCyberbit"
SLOT="0"