* [gentoo-commits] repo/gentoo:master commit in: app-shells/shish/
@ 2021-04-21 19:55 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-04-21 19:55 UTC (permalink / raw
To: gentoo-commits
commit: d0e4b627f95a29ec0fb75aca074a82530aa572b2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 21 19:51:59 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Apr 21 19:55:30 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0e4b627
app-shells/shish: port to EAPI 7
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-shells/shish/shish-0.7_pre3-r1.ebuild | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/app-shells/shish/shish-0.7_pre3-r1.ebuild b/app-shells/shish/shish-0.7_pre3-r1.ebuild
index 11fee89ec6d..10c7d469d2d 100644
--- a/app-shells/shish/shish-0.7_pre3-r1.ebuild
+++ b/app-shells/shish/shish-0.7_pre3-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
inherit toolchain-funcs
@@ -11,6 +11,7 @@ MY_P="${PN}-${MY_PV}"
DESCRIPTION="The diet shell"
HOMEPAGE="http://www.blah.ch/shish/"
SRC_URI="http://www.blah.ch/${PN}/pkg/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
@@ -20,15 +21,11 @@ IUSE="debug diet"
DEPEND="diet? ( dev-libs/dietlibc )"
RDEPEND="${DEPEND}"
-S="${WORKDIR}/${MY_P}"
-
DOCS=( AUTHORS BUGS ChangeLog README TODO )
-pkg_setup() {
- use diet && export CC="diet $(tc-getCC) -nostdinc"
-}
-
src_prepare() {
+ default
+
# Respect CFLAGS, bug #439974
sed -i \
-e '/CFLAGS="$CFLAGS/d' \
@@ -37,6 +34,8 @@ src_prepare() {
}
src_configure() {
+ use diet && export CC="diet $(tc-getCC) -nostdinc"
+
econf \
$(use_enable debug) \
--disable-quiet # bug 439974
@@ -53,7 +52,7 @@ src_install() {
}
pkg_postinst() {
- einfo "Updating ${ROOT}etc/shells"
- ( grep -v "^/bin/shish$" "${ROOT}"etc/shells; echo "/bin/shish" ) > "${T}"/shells
- mv -f "${T}"/shells "${ROOT}"etc/shells
+ einfo "Updating ${EROOT}/etc/shells"
+ ( grep -v "^/bin/shish$" "${EROOT}"/etc/shells; echo "/bin/shish" ) > "${T}"/shells
+ mv -f "${T}"/shells "${EROOT}"/etc/shells
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-shells/shish/
@ 2023-02-08 17:13 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2023-02-08 17:13 UTC (permalink / raw
To: gentoo-commits
commit: 8c12564c464ea48a2cd906dddbf962016dfa90bf
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Mon Jan 30 12:23:32 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 8 17:11:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c12564c
app-shells/shish: use common metadata indentation
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-shells/shish/metadata.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/app-shells/shish/metadata.xml b/app-shells/shish/metadata.xml
index 57f8d9afcd11..f6b0a0b74fc2 100644
--- a/app-shells/shish/metadata.xml
+++ b/app-shells/shish/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
-<use>
- <flag name="diet">Use <pkg>dev-libs/dietlibc</pkg></flag>
-</use>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="diet">Use <pkg>dev-libs/dietlibc</pkg></flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-08 17:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-08 17:13 [gentoo-commits] repo/gentoo:master commit in: app-shells/shish/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2021-04-21 19:55 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox