Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/compsize/
Date: Mon, 01 Feb 2021 13:23:01
Message-Id: 1612185767.94a3608a53bc75ea0671f22f5ef9ee8e353b6b08.juippis@gentoo
1 commit: 94a3608a53bc75ea0671f22f5ef9ee8e353b6b08
2 Author: Theo Anderson <telans <AT> posteo <DOT> de>
3 AuthorDate: Wed Jan 20 10:57:41 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 1 13:22:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94a3608a
7
8 sys-fs/compsize: bump to 1.4
9
10 ebuild changes:
11 - use einstalldocs instead of dodoc
12 - update PREFIX instead of sedding "/usr" to Makefile
13 - remove append-cflags -std=gnu90
14 - add -Wall to debug flags
15
16 Closes: https://bugs.gentoo.org/716200
17 Package-Manager: Portage-3.0.14, Repoman-3.0.2
18 Signed-off-by: Theo Anderson <telans <AT> posteo.de>
19 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
20
21 sys-fs/compsize/Manifest | 1 +
22 .../compsize/{compsize-9999.ebuild => compsize-1.4.ebuild} | 12 ++++--------
23 sys-fs/compsize/compsize-9999.ebuild | 12 ++++--------
24 3 files changed, 9 insertions(+), 16 deletions(-)
25
26 diff --git a/sys-fs/compsize/Manifest b/sys-fs/compsize/Manifest
27 index 79e2201e8b0..ddbbc7d51ef 100644
28 --- a/sys-fs/compsize/Manifest
29 +++ b/sys-fs/compsize/Manifest
30 @@ -1 +1,2 @@
31 DIST compsize-1.3.tar.gz 14782 BLAKE2B 738ff0e2b936f5974064759914284e495c895d22d95b705e1b8fac4b3189891771b0e5be7e0eeac0883dd92f9cef276400bb7ee79840fd7db14a5269e7f78f11 SHA512 411b92651fdc3d03deccbf38f72936fee95cf80c67d6368efbc0dafacfe9793815a23ef0d02f7feadf31391e415df3d90cd19fb3acc8cce94f37cb3e4eed623d
32 +DIST compsize-1.4.tar.gz 15001 BLAKE2B 7e4d4a1f3ea59b23fec891c084f68ddb74838320a817767e48eb857de9678a1915d304d25b454afafec867ea6a028d99d9182087d3229ddae55d8305fe6b174c SHA512 c07081721f87d8a59e724a62a0a6d6724434292e6bb3ffb71acd7c47e21727db8f02f4df296cb6094c0e80d3cd555018e492616747ce69055d21302a6617ca54
33
34 diff --git a/sys-fs/compsize/compsize-9999.ebuild b/sys-fs/compsize/compsize-1.4.ebuild
35 similarity index 68%
36 copy from sys-fs/compsize/compsize-9999.ebuild
37 copy to sys-fs/compsize/compsize-1.4.ebuild
38 index 3144e142c1e..41911740180 100644
39 --- a/sys-fs/compsize/compsize-9999.ebuild
40 +++ b/sys-fs/compsize/compsize-1.4.ebuild
41 @@ -1,4 +1,4 @@
42 -# Copyright 1999-2020 Gentoo Authors
43 +# Copyright 1999-2021 Gentoo Authors
44 # Distributed under the terms of the GNU General Public License v2
45
46 EAPI=7
47 @@ -26,18 +26,14 @@ src_prepare() {
48 default
49 # Don't try to install a gzipped manfile during emake install
50 sed -i -e $'s/\.gz//' -e $'s/gzip.*/install \-Dm755 \$\< \$\@/' Makefile || die
51 - # sys-fs/compsize > 1.3 removes '/usr' from install paths in Makefile
52 - sed -i $'s/(PREFIX)/(PREFIX)\/usr/' Makefile || die
53 }
54
55 src_configure() {
56 - # Used in upstream Makefile, but clobbered by portage's CFLAGS
57 - append-cflags -Wall -std=gnu90
58 - use debug && append-cflags -DDEBUG -g
59 + use debug && append-cflags -Wall -DDEBUG -g
60 default
61 }
62
63 src_install() {
64 - emake PREFIX="${D}" install
65 - dodoc "README.md"
66 + emake PREFIX="${ED}/usr" install
67 + einstalldocs
68 }
69
70 diff --git a/sys-fs/compsize/compsize-9999.ebuild b/sys-fs/compsize/compsize-9999.ebuild
71 index 3144e142c1e..41911740180 100644
72 --- a/sys-fs/compsize/compsize-9999.ebuild
73 +++ b/sys-fs/compsize/compsize-9999.ebuild
74 @@ -1,4 +1,4 @@
75 -# Copyright 1999-2020 Gentoo Authors
76 +# Copyright 1999-2021 Gentoo Authors
77 # Distributed under the terms of the GNU General Public License v2
78
79 EAPI=7
80 @@ -26,18 +26,14 @@ src_prepare() {
81 default
82 # Don't try to install a gzipped manfile during emake install
83 sed -i -e $'s/\.gz//' -e $'s/gzip.*/install \-Dm755 \$\< \$\@/' Makefile || die
84 - # sys-fs/compsize > 1.3 removes '/usr' from install paths in Makefile
85 - sed -i $'s/(PREFIX)/(PREFIX)\/usr/' Makefile || die
86 }
87
88 src_configure() {
89 - # Used in upstream Makefile, but clobbered by portage's CFLAGS
90 - append-cflags -Wall -std=gnu90
91 - use debug && append-cflags -DDEBUG -g
92 + use debug && append-cflags -Wall -DDEBUG -g
93 default
94 }
95
96 src_install() {
97 - emake PREFIX="${D}" install
98 - dodoc "README.md"
99 + emake PREFIX="${ED}/usr" install
100 + einstalldocs
101 }