media-fonts/bitstream-cyberbit: fix QA issues
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Fri, 11 May 2018 21:33:56 +0000 (23:33 +0200)
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Fri, 11 May 2018 21:33:56 +0000 (23:33 +0200)
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

media-fonts/bitstream-cyberbit/bitstream-cyberbit-2.0-r1.ebuild [new file with mode: 0644]
media-fonts/bitstream-cyberbit/bitstream-cyberbit-2.0.ebuild

diff --git a/media-fonts/bitstream-cyberbit/bitstream-cyberbit-2.0-r1.ebuild b/media-fonts/bitstream-cyberbit/bitstream-cyberbit-2.0-r1.ebuild
new file mode 100644 (file)
index 0000000..434abf6
--- /dev/null
@@ -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"
index b128f8fd056d3c5fc00158e601590627a70f9a15..d8ca96854d61723031f5c292b524f43c77fc0720 100644 (file)
@@ -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"