commit:     64aac8557e46fd17fd9918fa260f742f30f54a5e
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 25 12:13:36 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Sep 25 12:14:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64aac855

sys-apps/fakeroot: Bump to version 1.25.1. Removed 1.24.1

Fixed installation of translated man pages

Closes: https://bugs.gentoo.org/744604
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-apps/fakeroot/Manifest                                     |  2 +-
 .../{fakeroot-1.24.1.ebuild => fakeroot-1.25.1.ebuild}         | 10 ++++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/sys-apps/fakeroot/Manifest b/sys-apps/fakeroot/Manifest
index d43dd1302c9..34752493587 100644
--- a/sys-apps/fakeroot/Manifest
+++ b/sys-apps/fakeroot/Manifest
@@ -1,4 +1,4 @@
 DIST fakeroot_1.22.orig.tar.bz2 338238 BLAKE2B 
b6cee7483ea7ec17747e638cbfefa565f26b3b00517f3ec90280f8ce556ce8efa3833accc07885365e20f80967a67291fadc27cd80766548cc86e2aa70c74c33
 SHA512 
193478d9ff88ca2ae69fe47b73b6c61aeb2ba3f2a9e7ed5d455022705857c6f34cdcbe2d3f614c4c4c9509368dc78b9a7b7aa56fb3b50bb3309448140abd796a
 DIST fakeroot_1.23.orig.tar.xz 298080 BLAKE2B 
eac3da8486d57266f0f6af0479f0fcec5aaf82f4707ad8f810f954373a31cf5f390ef57dcc71ba630a1d4a578df95ac9beda9c93b3c75adffcbc89860f442b69
 SHA512 
0984679207e6e340abf715d4b26a213f85420cd8c58f21e65eb069337a3bd67436c6f80168412c10b28701689ec63290f122a5ff5d44a57b2b166aa72799d036
-DIST fakeroot_1.24.1.orig.tar.gz 111873 BLAKE2B 
64c4661082a2b0183dfe5eacde8f97c8134a39d3b82f731ef13ecd3139595491e3560c47fee74fe2351f674a2e265a04bdb3eda475ca59ee42406088623b8b39
 SHA512 
f85f616c3018b6da09cb60693eb42e2b63b749edf5f7f947e9b98b51938733be02bc43af3210338973a02bcab9815657a77c0f5abe29721c275e3da658a8d7c3
 DIST fakeroot_1.24.orig.tar.gz 522497 BLAKE2B 
fb08ed6512a3e26538662ceb28a197b85fd4a05c37b543529df6880e01c64bd774037bed1230bf7d7fe0bde798364c2fd0fcfab257fff4d3e6ae9800c076a5b0
 SHA512 
b15db7bbfb03264f294fb3b42813e17758b43ef7f121e55a24af9ec30ff3f4ec8eb0392db88133e56f9728b3828f6c1432d1e5d2e881a69d083ad444b9177487
+DIST fakeroot_1.25.1.orig.tar.gz 126880 BLAKE2B 
ea92815d005422ade80a91d1351c500614f7628b2173caf23bab2192f9395440ba4429ac773723c79a0f0205b7c750db9c1cecbefe7e9e2c442c8a92938df0cf
 SHA512 
0e340aacfb49558ee6719aa11aa297ccda2afe2f66209da8fa10e45ec7954d5db689717db38f30cdfb9d89b75ca63ec6aed42e2cc314fd25c60262aa735eab0d

diff --git a/sys-apps/fakeroot/fakeroot-1.24.1.ebuild 
b/sys-apps/fakeroot/fakeroot-1.25.1.ebuild
similarity index 82%
rename from sys-apps/fakeroot/fakeroot-1.24.1.ebuild
rename to sys-apps/fakeroot/fakeroot-1.25.1.ebuild
index f0bf2f4c22f..eac32e7e954 100644
--- a/sys-apps/fakeroot/fakeroot-1.24.1.ebuild
+++ b/sys-apps/fakeroot/fakeroot-1.25.1.ebuild
@@ -19,6 +19,7 @@ DEPEND="
        sys-libs/libcap
        acl? ( sys-apps/acl )
        test? ( app-arch/sharutils )"
+BDEPEND="app-text/po4a"
 
 DOCS="AUTHORS BUGS DEBUG README doc/README.saving"
 
@@ -27,6 +28,15 @@ src_prepare() {
        eautoreconf
 }
 
+src_compile() {
+       # Create tranlated man pages
+       pushd doc &>/dev/null || die
+       po4a -v -k 0 --variable "srcdir=${S}/doc/" po4a/po4a.cfg || die
+       popd &>/dev/null || die
+
+       default
+}
+
 src_configure() {
        export ac_cv_header_sys_acl_h=$(usex acl)
 

Reply via email to