Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/man-pages-de/
Date: Sun, 29 Mar 2020 20:05:24
Message-Id: 1585512312.a93d8bdb0730f2b55f9acec7ec6aa1749d850e28.ulm@gentoo
1 commit: a93d8bdb0730f2b55f9acec7ec6aa1749d850e28
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 29 20:04:49 2020 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 29 20:05:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a93d8bdb
7
8 app-i18n/man-pages-de: Version 2.12-r1 stable on all arches.
9
10 Remove old.
11
12 Package-Manager: Portage-2.3.96, Repoman-2.3.22
13 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
14
15 app-i18n/man-pages-de/man-pages-de-2.12-r1.ebuild | 2 +-
16 app-i18n/man-pages-de/man-pages-de-2.12.ebuild | 80 -----------------------
17 2 files changed, 1 insertion(+), 81 deletions(-)
18
19 diff --git a/app-i18n/man-pages-de/man-pages-de-2.12-r1.ebuild b/app-i18n/man-pages-de/man-pages-de-2.12-r1.ebuild
20 index 3588685c686..50be75b168b 100644
21 --- a/app-i18n/man-pages-de/man-pages-de-2.12-r1.ebuild
22 +++ b/app-i18n/man-pages-de/man-pages-de-2.12-r1.ebuild
23 @@ -13,7 +13,7 @@ SRC_URI="https://salsa.debian.org/manpages-de-team/manpages-de/-/archive/v${PV}/
24
25 LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
26 SLOT="0"
27 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
28 +KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
29 IUSE=""
30
31 RDEPEND="virtual/man"
32
33 diff --git a/app-i18n/man-pages-de/man-pages-de-2.12.ebuild b/app-i18n/man-pages-de/man-pages-de-2.12.ebuild
34 deleted file mode 100644
35 index 2cdb3cbc7fe..00000000000
36 --- a/app-i18n/man-pages-de/man-pages-de-2.12.ebuild
37 +++ /dev/null
38 @@ -1,80 +0,0 @@
39 -# Copyright 1999-2020 Gentoo Authors
40 -# Distributed under the terms of the GNU General Public License v2
41 -
42 -EAPI=7
43 -
44 -inherit autotools
45 -
46 -MY_P="${PN/-/}-v${PV}"
47 -
48 -DESCRIPTION="A somewhat comprehensive collection of Linux german man page translations"
49 -HOMEPAGE="https://salsa.debian.org/manpages-de-team/manpages-de"
50 -SRC_URI="https://salsa.debian.org/manpages-de-team/manpages-de/-/archive/v${PV}/${MY_P}.tar.bz2"
51 -
52 -LICENSE="GPL-3+ man-pages GPL-2+ GPL-2 BSD"
53 -SLOT="0"
54 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
55 -IUSE=""
56 -
57 -RDEPEND="virtual/man"
58 -BDEPEND="app-text/po4a"
59 -
60 -S="${WORKDIR}/${MY_P}"
61 -
62 -src_prepare() {
63 - default
64 -
65 - sed '/gzip --best/d' -i po/Makefile.am || die
66 -
67 - # sys-apps/shadow has it's own translated man-page for this
68 - local manpage
69 - local noinst_manpages=(
70 - upstream/debian-unstable/man1/groups.1
71 - po/man1/groups.1.po
72 - po/man1/su.1.po
73 - )
74 - for manpage in ${noinst_manpages[@]} ; do
75 - rm "${manpage}" || die
76 - done
77 -
78 - # Use the same compression as every other manpage
79 - local PORTAGE_COMPRESS_LOCAL=${PORTAGE_COMPRESS-bzip2}
80 - local PORTAGE_COMPRESS_FLAGS_LOCAL=${PORTAGE_COMPRESS_FLAGS}
81 - if [[ ${PORTAGE_COMPRESS_FLAGS+set} != "set" ]] ; then
82 - case ${PORTAGE_COMPRESS_LOCAL} in
83 - bzip2|gzip)
84 - PORTAGE_COMPRESS_FLAGS_LOCAL="-9"
85 - ;;
86 - esac
87 - fi
88 -
89 - # Fix source files for symlinks
90 - local LINKSOURCE
91 - case ${PORTAGE_COMPRESS_LOCAL} in
92 - bzip2)
93 - for LINKSOURCE in upstream/*/links.txt ; do
94 - sed -i -e 's/\.gz/\.bz2/g' "${LINKSOURCE}" || die
95 - done
96 - ;;
97 - gzip)
98 - # pass
99 - ;;
100 - xz)
101 - for LINKSOURCE in upstream/*/links.txt ; do
102 - sed -i -e 's/\.gz/\.xz/g' "${LINKSOURCE}" || die
103 - done
104 - ;;
105 - *)
106 - ewarn "Unexpected compression command ${PORTAGE_COMPRESS} found, symlinks will not work."
107 - ;;
108 - esac
109 -
110 - eautoreconf
111 -}
112 -
113 -src_compile() { :; }
114 -
115 -src_install() {
116 - emake mandir="${ED}"/usr/share/man install
117 - dodoc CHANGES.md README.md
118 -}