app-i18n/unicode-emoji: update to EAPI 8

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
This commit is contained in:
Akinori Hattori
2021-11-20 22:23:27 +09:00
parent 2b45302a34
commit aff7637ee6
4 changed files with 17 additions and 26 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>cjk@gentoo.org</email>
<name>Cjk</name>
</maintainer>
<maintainer type="project">
<email>cjk@gentoo.org</email>
<name>Cjk</name>
</maintainer>
</pkgmetadata>
@@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
EAPI="8"
DESCRIPTION="UTS #51 Unicode Emoji"
HOMEPAGE="https://unicode.org/emoji/"
@@ -17,9 +17,7 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86"
IUSE=""
DEPEND=""
RDEPEND=""
S="${WORKDIR}"
src_unpack() {
@@ -27,11 +25,9 @@ src_unpack() {
}
src_install() {
insinto /usr/share/unicode/emoji
local source_file target_file
for source_file in ${A}; do
target_file="${source_file#${PN%-*}-}"
target_file="${target_file%-${PV}.txt}.txt"
newins "${DISTDIR}/${source_file}" "${target_file}"
local a
insinto /usr/share/${PN/-//}
for a in ${A}; do
newins "${DISTDIR}"/${a} $(echo ${a} | sed "s/${PN%-*}-\(.*\)-${PV}/\1/")
done
}
@@ -1,7 +1,7 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI="8"
DESCRIPTION="UTS #51 Unicode Emoji"
HOMEPAGE="https://unicode.org/emoji/"
@@ -17,9 +17,7 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
S="${WORKDIR}"
src_unpack() {
@@ -27,11 +25,9 @@ src_unpack() {
}
src_install() {
insinto /usr/share/unicode/emoji
local source_file target_file
for source_file in ${A}; do
target_file="${source_file#${PN%-*}-}"
target_file="${target_file%-${PV}.txt}.txt"
newins "${DISTDIR}/${source_file}" "${target_file}"
local a
insinto /usr/share/${PN/-//}
for a in ${A}; do
newins "${DISTDIR}"/${a} $(echo ${a} | sed "s/${PN%-*}-\(.*\)-${PV}/\1/")
done
}
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI="8"
DESCRIPTION="UTS #51 Unicode Emoji"
HOMEPAGE="https://unicode.org/emoji/techindex.html"
@@ -18,7 +18,6 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
S="${WORKDIR}"