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: app-doc/cppman/
Date: Sun,  5 Apr 2020 07:18:26 +0000 (UTC)	[thread overview]
Message-ID: <1586071074.f27f51ec43d91aa1bb0733f0b9bd44d735da89d4.juippis@gentoo> (raw)

commit:     f27f51ec43d91aa1bb0733f0b9bd44d735da89d4
Author:     neeshy <neeshy <AT> tfwno <DOT> gf>
AuthorDate: Thu Apr  2 22:12:31 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Apr  5 07:17:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f27f51ec

app-doc/cppman: simplify ebuilds

Signed-off-by: Nima Sadeghi <neeshy <AT> tfwno.gf>
Closes: https://github.com/gentoo/gentoo/pull/15074
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-doc/cppman/cppman-0.4.8-r2.ebuild | 10 +++-------
 app-doc/cppman/cppman-0.4.9.ebuild    | 10 +++-------
 2 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/app-doc/cppman/cppman-0.4.8-r2.ebuild b/app-doc/cppman/cppman-0.4.8-r2.ebuild
index 47193572aa4..6e35a51f7a2 100644
--- a/app-doc/cppman/cppman-0.4.8-r2.ebuild
+++ b/app-doc/cppman/cppman-0.4.8-r2.ebuild
@@ -18,7 +18,6 @@ SRC_URI="https://github.com/aitjcize/cppman/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
-IUSE="bash-completion zsh-completion"
 
 RDEPEND="
 	sys-apps/groff
@@ -28,12 +27,9 @@ RDEPEND="
 	')
 "
 
-DOCS=( README.rst AUTHORS COPYING ChangeLog )
-
 src_prepare() {
-	sed -i '\:share/doc/cppman:d' setup.py
-	use bash-completion || sed -i '\:share/bash-completion/completions:d' setup.py
-	use zsh-completion || sed -i '\:share/zsh-completion/completions:d' setup.py
-
 	default
+
+	# Don't allow setup.py to install documentation directly
+	sed -i '\:share/doc/cppman:d' setup.py || die "sed failed"
 }

diff --git a/app-doc/cppman/cppman-0.4.9.ebuild b/app-doc/cppman/cppman-0.4.9.ebuild
index 47193572aa4..6e35a51f7a2 100644
--- a/app-doc/cppman/cppman-0.4.9.ebuild
+++ b/app-doc/cppman/cppman-0.4.9.ebuild
@@ -18,7 +18,6 @@ SRC_URI="https://github.com/aitjcize/cppman/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
-IUSE="bash-completion zsh-completion"
 
 RDEPEND="
 	sys-apps/groff
@@ -28,12 +27,9 @@ RDEPEND="
 	')
 "
 
-DOCS=( README.rst AUTHORS COPYING ChangeLog )
-
 src_prepare() {
-	sed -i '\:share/doc/cppman:d' setup.py
-	use bash-completion || sed -i '\:share/bash-completion/completions:d' setup.py
-	use zsh-completion || sed -i '\:share/zsh-completion/completions:d' setup.py
-
 	default
+
+	# Don't allow setup.py to install documentation directly
+	sed -i '\:share/doc/cppman:d' setup.py || die "sed failed"
 }


             reply	other threads:[~2020-04-05  7:18 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-05  7:18 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-03 11:34 [gentoo-commits] repo/gentoo:master commit in: app-doc/cppman/ Sam James
2024-06-03 11:34 Sam James
2023-12-14  8:32 Sam James
2023-04-25 21:30 Sam James
2023-04-25 20:57 Sam James
2023-04-25 13:46 Arthur Zamarin
2023-04-25 13:42 Arthur Zamarin
2022-12-28  9:39 Florian Schmaus
2022-12-28  9:39 Florian Schmaus
2022-12-28  9:39 Florian Schmaus
2022-12-15 16:10 Florian Schmaus
2021-12-02  0:46 Sam James
2021-12-02  0:46 Sam James
2020-12-04 14:35 Sam James
2020-12-04 14:35 Sam James
2020-04-05  7:18 Joonas Niilola
2020-04-05  7:18 Joonas Niilola
2017-04-21 17:36 Pacho Ramos
2017-04-21 17:36 Pacho Ramos
2016-07-07 19:48 Austin English
2016-05-29 15:30 Kristian Fiskerstrand
2016-04-26  7:15 Patrice Clement
2016-04-16 17:05 Ian Delaney
2016-04-16 17:05 Ian Delaney
2016-04-15 19:10 Patrice Clement

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=1586071074.f27f51ec43d91aa1bb0733f0b9bd44d735da89d4.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