From 4ba6cd85f365e0c85cdadafaa0d6885618f6d21b Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Mon, 14 Feb 2022 14:55:57 +0100 Subject: app-i18n/man-pages-l10n: Fix file collision with sys-apps/shadow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/833312 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Ulrich Müller --- .../man-pages-l10n/man-pages-l10n-4.12.1-r1.ebuild | 73 ++++++++++++++++++++++ .../man-pages-l10n/man-pages-l10n-4.12.1.ebuild | 73 ---------------------- 2 files changed, 73 insertions(+), 73 deletions(-) create mode 100644 app-i18n/man-pages-l10n/man-pages-l10n-4.12.1-r1.ebuild delete mode 100644 app-i18n/man-pages-l10n/man-pages-l10n-4.12.1.ebuild (limited to 'app-i18n/man-pages-l10n') diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.12.1-r1.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.12.1-r1.ebuild new file mode 100644 index 000000000000..59c89b8140be --- /dev/null +++ b/app-i18n/man-pages-l10n/man-pages-l10n-4.12.1-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="${PN/-}-v${PV}" +DESCRIPTION="A somewhat comprehensive collection of man page translations" +HOMEPAGE="https://manpages-l10n-team.pages.debian.net/manpages-l10n/" +SRC_URI="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/v${PV}/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +MY_L10N=(cs da de el es fi fr hu id it mk nb nl pl pt-BR ro sr sv) +IUSE="${MY_L10N[@]/#/l10n_}" +REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )" + +RDEPEND="virtual/man + l10n_de? ( !app-i18n/man-pages-de ) + l10n_fr? ( !app-i18n/man-pages-fr ) + l10n_it? ( !app-i18n/man-pages-it ) + l10n_nl? ( !app-i18n/man-pages-nl ) + l10n_pl? ( !app-i18n/man-pages-pl )" + +BDEPEND="app-text/po4a + dev-lang/perl" + +DOCS=(AUTHORS.md CHANGES.md CONTRIBUTING.md README.md) + +src_prepare() { + default + sed -i -e "/^SUBDIRS/s/=.*/= ${L10N//-/_}/" po/Makefile.{am,in} || die + + # some packages have their own translations + local noinst_manpages=( + # app-arch/xz-utils + de/xz.1 + de/xzdec.1 + de/xzdiff.1 + de/xzgrep.1 + de/xzless.1 + de/xzmore.1 + # sys-apps/shadow + {cs,de,es,hu,nl,pl}/groups.1 + de/su.1 + # sys-process/procps + {de,fr,pl}/free.1 + {de,fr}/pgrep.1 + {de,fr}/pmap.1 + {de,fr,pl}/ps.1 + {de,fr}/pwdx.1 + {de,fr}/tload.1 + {de,fr,pl}/uptime.1 + {de,fr}/sysctl.conf.5 + {de,fr}/sysctl.8 + {de,fr}/vmstat.8 + # sys-process/psmisc + {de,nl,pl}/fuser.1 + {de,pl}/killall.1 + de/peekfd.1 + de/prtstat.1 + de/pslog.1 + {de,pl}/pstree.1 + ) + printf '%s\n' "${noinst_manpages[@]}" \ + | sed 's%^\(.*\)/\(.*\)\.\(.*\)$%po/\1/man\3/\2.\3.po%' | xargs rm + assert +} + +src_configure() { + econf --enable-compression=none +} diff --git a/app-i18n/man-pages-l10n/man-pages-l10n-4.12.1.ebuild b/app-i18n/man-pages-l10n/man-pages-l10n-4.12.1.ebuild deleted file mode 100644 index a5d769b97b9b..000000000000 --- a/app-i18n/man-pages-l10n/man-pages-l10n-4.12.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="${PN/-}-v${PV}" -DESCRIPTION="A somewhat comprehensive collection of man page translations" -HOMEPAGE="https://manpages-l10n-team.pages.debian.net/manpages-l10n/" -SRC_URI="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/v${PV}/${MY_P}.tar.bz2" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" -MY_L10N=(cs da de el es fi fr hu id it mk nb nl pl pt-BR ro sr sv) -IUSE="${MY_L10N[@]/#/l10n_}" -REQUIRED_USE="|| ( ${MY_L10N[@]/#/l10n_} )" - -RDEPEND="virtual/man - l10n_de? ( !app-i18n/man-pages-de ) - l10n_fr? ( !app-i18n/man-pages-fr ) - l10n_it? ( !app-i18n/man-pages-it ) - l10n_nl? ( !app-i18n/man-pages-nl ) - l10n_pl? ( !app-i18n/man-pages-pl )" - -BDEPEND="app-text/po4a - dev-lang/perl" - -DOCS=(AUTHORS.md CHANGES.md CONTRIBUTING.md README.md) - -src_prepare() { - default - sed -i -e "/^SUBDIRS/s/=.*/= ${L10N//-/_}/" po/Makefile.{am,in} || die - - # some packages have their own translations - local noinst_manpages=( - # app-arch/xz-utils - de/xz.1 - de/xzdec.1 - de/xzdiff.1 - de/xzgrep.1 - de/xzless.1 - de/xzmore.1 - # sys-apps/shadow - {de,es,nl,pl}/groups.1 - de/su.1 - # sys-process/procps - {de,fr,pl}/free.1 - {de,fr}/pgrep.1 - {de,fr}/pmap.1 - {de,fr,pl}/ps.1 - {de,fr}/pwdx.1 - {de,fr}/tload.1 - {de,fr,pl}/uptime.1 - {de,fr}/sysctl.conf.5 - {de,fr}/sysctl.8 - {de,fr}/vmstat.8 - # sys-process/psmisc - {de,nl,pl}/fuser.1 - {de,pl}/killall.1 - de/peekfd.1 - de/prtstat.1 - de/pslog.1 - {de,pl}/pstree.1 - ) - printf '%s\n' "${noinst_manpages[@]}" \ - | sed 's%^\(.*\)/\(.*\)\.\(.*\)$%po/\1/man\3/\2.\3.po%' | xargs rm - assert -} - -src_configure() { - econf --enable-compression=none -} -- cgit v1.2.3-65-gdbad