From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/eclass-manpages/
Date: Mon, 25 Jul 2022 08:56:37 +0000 (UTC) [thread overview]
Message-ID: <1658739359.6b218a40fa9c6716e5d5d20de91b07fee20e5372.ulm@gentoo> (raw)
commit: 6b218a40fa9c6716e5d5d20de91b07fee20e5372
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 25 08:44:45 2022 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 08:55:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b218a40
app-doc/eclass-manpages: Drop conditionals for live ebuild
There is no code sharing between the functions in the non-live and
live ebuilds, and it isn't expected that this will change in future.
Therefore, the conditionals have little benefit but make the code
harder to read.
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
.../eclass-manpages-99999999.ebuild | 38 ++++++----------------
1 file changed, 10 insertions(+), 28 deletions(-)
diff --git a/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild b/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild
index 4bbfc72582a4..13ddd2dacb8a 100644
--- a/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild
+++ b/app-doc/eclass-manpages/eclass-manpages-99999999.ebuild
@@ -3,26 +3,12 @@
EAPI=8
-# Instructions to make a dist tarball:
-# git clone https://github.com/mgorny/eclass-to-manpage && cd eclass-to-manpage
-# make dist ECLASSDIR=~/g/eclass/
+inherit git-r3
DESCRIPTION="Collection of Gentoo eclass manpages"
HOMEPAGE="https://github.com/mgorny/eclass-to-manpage"
-if [[ ${PV} == *9999* ]] ; then
- EGIT_REPO_URI="https://anongit.gentoo.org/git/repo/gentoo.git
- https://github.com/gentoo/gentoo.git"
- inherit git-r3
-
- MY_ECLASSDIR="eclass"
-else
- SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
-
- # Keep the keywords stable. No need to change to ~arch.
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
-
- MY_ECLASSDIR="."
-fi
+EGIT_REPO_URI="https://anongit.gentoo.org/git/repo/gentoo.git
+ https://github.com/gentoo/gentoo.git"
LICENSE="GPL-2"
SLOT="0"
@@ -31,21 +17,17 @@ BDEPEND="sys-apps/gawk
sys-apps/groff"
src_unpack() {
- if [[ ${PV} == *9999* ]] ; then
- git-r3_fetch
- git-r3_fetch "https://github.com/mgorny/eclass-to-manpage"
-
- git-r3_checkout '' '' '' eclass
- git-r3_checkout "https://github.com/mgorny/eclass-to-manpage"
- else
- default
- fi
+ git-r3_fetch
+ git-r3_fetch "https://github.com/mgorny/eclass-to-manpage.git"
+
+ git-r3_checkout "" "" "" eclass
+ git-r3_checkout "https://github.com/mgorny/eclass-to-manpage.git"
}
src_compile() {
- emake ECLASSDIR=${MY_ECLASSDIR}
+ emake ECLASSDIR=eclass
}
src_install() {
- emake install ECLASSDIR=${MY_ECLASSDIR} DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
+ emake install ECLASSDIR=eclass DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
}
next reply other threads:[~2022-07-25 8:56 UTC|newest]
Thread overview: 77+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-25 8:56 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-05 1:05 [gentoo-commits] repo/gentoo:master commit in: app-doc/eclass-manpages/ Sam James
2024-12-10 4:55 Sam James
2024-11-17 5:30 Sam James
2024-11-17 5:30 Sam James
2024-11-15 21:31 Sam James
2024-11-11 13:08 Sam James
2024-11-09 7:11 Sam James
2024-11-01 1:10 Matt Turner
2024-10-15 1:37 Sam James
2024-09-01 11:05 Sam James
2024-08-11 23:07 Sam James
2024-06-14 10:52 Sam James
2024-06-14 10:52 Sam James
2024-05-12 23:26 Sam James
2024-04-23 21:43 Sam James
2024-04-23 21:10 Sam James
2024-02-29 7:52 Sam James
2024-02-29 7:52 Sam James
2024-02-07 0:51 Sam James
2023-09-19 19:50 Sam James
2023-06-24 5:02 Sam James
2023-06-24 5:02 Sam James
2023-06-01 1:37 Sam James
2023-06-01 1:37 Sam James
2023-05-30 3:44 Sam James
2023-05-12 23:31 Sam James
2023-04-17 21:19 Sam James
2023-04-17 21:19 Sam James
2023-03-29 11:38 Sam James
2023-03-29 2:05 Sam James
2023-03-29 2:05 Sam James
2023-03-09 7:38 Arthur Zamarin
2023-02-22 14:48 Sam James
2023-01-10 6:17 Sam James
2022-09-25 4:39 Sam James
2022-09-25 4:39 Sam James
2022-08-24 21:24 Sam James
2022-07-25 8:56 Ulrich Müller
2022-07-25 8:56 Ulrich Müller
2022-07-25 8:56 Ulrich Müller
2022-07-16 19:57 Sam James
2022-07-16 19:57 Sam James
2022-04-17 20:34 Ulrich Müller
2022-04-17 20:34 Ulrich Müller
2022-03-16 17:33 Sam James
2022-03-16 17:33 Sam James
2021-10-02 9:56 Ulrich Müller
2021-10-02 9:55 Ulrich Müller
2021-10-02 9:55 Ulrich Müller
2021-07-12 14:24 Ulrich Müller
2021-07-12 14:24 Ulrich Müller
2021-07-12 14:24 Ulrich Müller
2021-01-04 11:04 Ulrich Müller
2021-01-04 11:04 Ulrich Müller
2020-09-13 18:48 Ulrich Müller
2020-09-13 18:48 Ulrich Müller
2020-07-04 6:51 Michał Górny
2020-02-13 17:09 Ulrich Müller
2019-12-22 11:56 Ulrich Müller
2019-12-15 12:31 Ulrich Müller
2019-12-15 12:31 Ulrich Müller
2019-11-06 8:45 Michał Górny
2019-11-06 8:45 Michał Górny
2019-09-08 6:43 Michał Górny
2019-09-08 6:43 Michał Górny
2019-07-28 8:25 Michał Górny
2019-07-28 6:41 Michał Górny
2019-07-14 6:56 Michał Górny
2019-06-05 6:53 Michał Górny
2019-06-02 6:40 Michał Górny
2019-03-29 8:57 Mikle Kolyada
2019-03-29 8:49 Michał Górny
2019-03-29 8:16 Michał Górny
2019-03-19 6:08 Michał Górny
2019-03-14 12:47 Michał Górny
2019-03-14 12:39 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=1658739359.6b218a40fa9c6716e5d5d20de91b07fee20e5372.ulm@gentoo \
--to=ulm@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