Gentoo Archives: gentoo-commits

From: Vadim Misbakh-Soloviov <mva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/unicode-data/
Date: Sat, 25 Sep 2021 22:57:20
Message-Id: 1632610603.5512fe298f5d656fd8c14fe40d306af22fbdd8ae.mva@gentoo
1 commit: 5512fe298f5d656fd8c14fe40d306af22fbdd8ae
2 Author: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 25 22:13:01 2021 +0000
4 Commit: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 25 22:56:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5512fe29
7
8 app-i18n/unicode-data: move data to common path
9
10 Package-Manager: Portage-3.0.23, Repoman-3.0.1
11 Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org>
12
13 .../unicode-data/unicode-data-14.0.0-r1.ebuild | 30 ++++++++++++++++++++++
14 1 file changed, 30 insertions(+)
15
16 diff --git a/app-i18n/unicode-data/unicode-data-14.0.0-r1.ebuild b/app-i18n/unicode-data/unicode-data-14.0.0-r1.ebuild
17 new file mode 100644
18 index 00000000000..d31503087bd
19 --- /dev/null
20 +++ b/app-i18n/unicode-data/unicode-data-14.0.0-r1.ebuild
21 @@ -0,0 +1,30 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +
27 +DESCRIPTION="Unicode data from unicode.org"
28 +HOMEPAGE="https://unicode.org/ucd/"
29 +SRC_URI="https://unicode.org/Public/zipped/${PV}/UCD.zip -> ${P}-UCD.zip
30 + https://unicode.org/Public/zipped/${PV}/Unihan.zip -> ${P}-Unihan.zip"
31 +
32 +LICENSE="unicode"
33 +SLOT="0"
34 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
35 +
36 +DEPEND="app-arch/unzip"
37 +S="${WORKDIR}"
38 +
39 +src_prepare() {
40 + # we have separate ebuild for emoji. And it is even more complete that what installs here.
41 + rm -r emoji || die
42 + default
43 +}
44 +
45 +src_install() {
46 + insinto /usr/share/${PN%%-*}
47 + doins -r "${S}"/*
48 + # Unihan.zip needs to be installed as a zip for reverse deps
49 + # https://bugzilla.gnome.org/show_bug.cgi?id=768210
50 + newins "${DISTDIR}"/${P}-Unihan.zip Unihan.zip
51 +}