public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/compsize/
Date: Mon,  1 Feb 2021 13:22:57 +0000 (UTC)	[thread overview]
Message-ID: <1612185767.94a3608a53bc75ea0671f22f5ef9ee8e353b6b08.juippis@gentoo> (raw)

commit:     94a3608a53bc75ea0671f22f5ef9ee8e353b6b08
Author:     Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Wed Jan 20 10:57:41 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Feb  1 13:22:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94a3608a

sys-fs/compsize: bump to 1.4

ebuild changes:
 - use einstalldocs instead of dodoc
 - update PREFIX instead of sedding "/usr" to Makefile
 - remove append-cflags -std=gnu90
 - add -Wall to debug flags

Closes: https://bugs.gentoo.org/716200
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 sys-fs/compsize/Manifest                                     |  1 +
 .../compsize/{compsize-9999.ebuild => compsize-1.4.ebuild}   | 12 ++++--------
 sys-fs/compsize/compsize-9999.ebuild                         | 12 ++++--------
 3 files changed, 9 insertions(+), 16 deletions(-)

diff --git a/sys-fs/compsize/Manifest b/sys-fs/compsize/Manifest
index 79e2201e8b0..ddbbc7d51ef 100644
--- a/sys-fs/compsize/Manifest
+++ b/sys-fs/compsize/Manifest
@@ -1 +1,2 @@
 DIST compsize-1.3.tar.gz 14782 BLAKE2B 738ff0e2b936f5974064759914284e495c895d22d95b705e1b8fac4b3189891771b0e5be7e0eeac0883dd92f9cef276400bb7ee79840fd7db14a5269e7f78f11 SHA512 411b92651fdc3d03deccbf38f72936fee95cf80c67d6368efbc0dafacfe9793815a23ef0d02f7feadf31391e415df3d90cd19fb3acc8cce94f37cb3e4eed623d
+DIST compsize-1.4.tar.gz 15001 BLAKE2B 7e4d4a1f3ea59b23fec891c084f68ddb74838320a817767e48eb857de9678a1915d304d25b454afafec867ea6a028d99d9182087d3229ddae55d8305fe6b174c SHA512 c07081721f87d8a59e724a62a0a6d6724434292e6bb3ffb71acd7c47e21727db8f02f4df296cb6094c0e80d3cd555018e492616747ce69055d21302a6617ca54

diff --git a/sys-fs/compsize/compsize-9999.ebuild b/sys-fs/compsize/compsize-1.4.ebuild
similarity index 68%
copy from sys-fs/compsize/compsize-9999.ebuild
copy to sys-fs/compsize/compsize-1.4.ebuild
index 3144e142c1e..41911740180 100644
--- a/sys-fs/compsize/compsize-9999.ebuild
+++ b/sys-fs/compsize/compsize-1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,18 +26,14 @@ src_prepare() {
 	default
 	# Don't try to install a gzipped manfile during emake install
 	sed -i -e $'s/\.gz//' -e $'s/gzip.*/install \-Dm755 \$\< \$\@/' Makefile || die
-	# sys-fs/compsize > 1.3 removes '/usr' from install paths in Makefile
-	sed -i $'s/(PREFIX)/(PREFIX)\/usr/' Makefile || die
 }
 
 src_configure() {
-	# Used in upstream Makefile, but clobbered by portage's CFLAGS
-	append-cflags -Wall -std=gnu90
-	use debug && append-cflags -DDEBUG -g
+	use debug && append-cflags -Wall -DDEBUG -g
 	default
 }
 
 src_install() {
-	emake PREFIX="${D}" install
-	dodoc "README.md"
+	emake PREFIX="${ED}/usr" install
+	einstalldocs
 }

diff --git a/sys-fs/compsize/compsize-9999.ebuild b/sys-fs/compsize/compsize-9999.ebuild
index 3144e142c1e..41911740180 100644
--- a/sys-fs/compsize/compsize-9999.ebuild
+++ b/sys-fs/compsize/compsize-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -26,18 +26,14 @@ src_prepare() {
 	default
 	# Don't try to install a gzipped manfile during emake install
 	sed -i -e $'s/\.gz//' -e $'s/gzip.*/install \-Dm755 \$\< \$\@/' Makefile || die
-	# sys-fs/compsize > 1.3 removes '/usr' from install paths in Makefile
-	sed -i $'s/(PREFIX)/(PREFIX)\/usr/' Makefile || die
 }
 
 src_configure() {
-	# Used in upstream Makefile, but clobbered by portage's CFLAGS
-	append-cflags -Wall -std=gnu90
-	use debug && append-cflags -DDEBUG -g
+	use debug && append-cflags -Wall -DDEBUG -g
 	default
 }
 
 src_install() {
-	emake PREFIX="${D}" install
-	dodoc "README.md"
+	emake PREFIX="${ED}/usr" install
+	einstalldocs
 }


             reply	other threads:[~2021-02-01 13:23 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01 13:22 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-23  9:52 [gentoo-commits] repo/gentoo:master commit in: sys-fs/compsize/ Sam James
2024-09-18 17:38 Petr Vaněk
2024-09-18 17:38 Petr Vaněk
2024-01-28 22:53 Jonas Stein
2022-01-25 22:15 Georgy Yakovlev
2022-01-25 22:15 Georgy Yakovlev
2021-06-02 16:44 Sam James
2021-06-02 12:50 Sam James
2021-04-25  6:19 Sam James
2021-04-25  5:19 Sam James
2021-03-15  6:38 Sam James
2021-02-16 18:39 Sam James
2021-02-16 18:39 Sam James
2021-02-01 13:22 Joonas Niilola
2020-11-04  0:52 Sam James
2020-10-31 15:58 Joonas Niilola
2020-10-28 14:33 Thomas Deutschmann
2020-09-06  5:55 Joonas Niilola
2020-09-06  5:55 Joonas Niilola
2020-09-06  5:55 Joonas Niilola
2020-05-16  7:09 Joonas Niilola
2018-03-30 21:53 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1612185767.94a3608a53bc75ea0671f22f5ef9ee8e353b6b08.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox