commit: 9d59407e7da0727b41412049d281f7f16d367a34
parent: ddae0cf6a11da9d0d29257169b5e99497ea9af6b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 1 Apr 2019 01:50:26 +0200
app-i18n/unicode-data: Bump to 12.0.0
Diffstat:
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/app-i18n/unicode-data/Manifest b/app-i18n/unicode-data/Manifest
@@ -1,2 +1,4 @@
DIST unicode-data-11.0.0-UCD.zip 5751718 BLAKE2B e9ad8eb47b5b5753e345836b19b72b5bf34d51b45369e79330992e1426a971e75715675ec24bbc4200a969516811b1a80b81503b52fae7f6abc5f6dab8a573ea SHA512 954a499ff072727c8778e711fb1753834adf09277c9e9a2592c02b59971860f9a407c7e9985ed1e6bdda7a3cf3b1cd6316599c4bffe8b0625413f874486830c1
DIST unicode-data-11.0.0-Unihan.zip 6747669 BLAKE2B 522291be19f68978f6701c0e624d6d0589b94798d0c1099f8c554c778497383c04422b0ff3613c59af9ea496243f4aa4354ea5b85e66f601a24435da96a3ec00 SHA512 a045e79545f1ec3529a8556d41c73b20809979e002f98314068c6f91daa79abb2ab3ab383090651b55fb55e343d8fcf67bea822d93d6e3221a206d58ef9e3a7b
+DIST unicode-data-12.0.0-UCD.zip 8410561 BLAKE2B 10d34faaad501ddaba6de73a126b8dc5acc2941f81050ec4ff432f9a6aeabe1e13004e0ee190d37751517e3c2ea07c879d3bf2e39b8430d473f93f7fe05b08a8 SHA512 f9d845170df7e4952f90c6c75b256c2d330e174b95534fd6e8076bc6ad827a007b5e2b49562d29a4f7e6a529a41bb59330fb2acf94993f983049114d7b294a33
+DIST unicode-data-12.0.0-Unihan.zip 6749737 BLAKE2B a6caeb86f5c9dc13bc265c81acaa8ae791fdc8dbf728d3fba7a7004edcfbfa655424371cd4c9e667e1f1d6a5623b0ac1d320f0709c232b58b02494a728c7d2dd SHA512 7fdefad078284c14a9105655d1cb4d2b0dc1c89c56effe92ffcbd5a30b325559a56d97574b6077144d7a4ed02df6e6a402a2a5360e4abc0c84bae5c589044375
diff --git a/app-i18n/unicode-data/unicode-data-12.0.0.ebuild b/app-i18n/unicode-data/unicode-data-12.0.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Unicode data from unicode.org"
+HOMEPAGE="https://www.unicode.org/ucd/"
+SRC_URI="https://www.unicode.org/Public/zipped/${PV}/UCD.zip -> ${P}-UCD.zip
+ https://www.unicode.org/Public/zipped/${PV}/Unihan.zip -> ${P}-Unihan.zip"
+
+LICENSE="unicode"
+SLOT="0"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+RESTRICT="mirror"
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+S="${WORKDIR}"
+
+src_unpack() {
+ # Unihan.zip needs to be installed as a zip for reverse deps
+ # https://bugzilla.gnome.org/show_bug.cgi?id=768210
+ unpack ${P}-UCD.zip
+}
+
+src_install() {
+ insinto /usr/share/${PN}
+ doins -r "${S}"/*
+ newins "${DISTDIR}"/${P}-Unihan.zip Unihan.zip
+}