public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/tcsh/
Date: Thu, 20 Aug 2015 12:23:02 +0000 (UTC)	[thread overview]
Message-ID: <1440073378.cfba147f6b983843477064d34c334b968c576469.jlec@gentoo> (raw)

commit:     cfba147f6b983843477064d34c334b968c576469
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 20 11:51:56 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Aug 20 12:22:58 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfba147f

app-shells/tcsh: Bump to EAPI=5 and use subslot deps for ncurses

* drop die from econf

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 app-shells/tcsh/tcsh-6.17-r1.ebuild                |  3 +-
 app-shells/tcsh/tcsh-6.17.06.ebuild                |  3 +-
 app-shells/tcsh/tcsh-6.18.01-r2.ebuild             |  3 +-
 app-shells/tcsh/tcsh-6.18.01-r3.ebuild             |  3 +-
 ...sh-6.18.01-r3.ebuild => tcsh-6.18.01-r4.ebuild} | 38 +++++++++++++---------
 app-shells/tcsh/tcsh-6.18.01.ebuild                |  3 +-
 6 files changed, 27 insertions(+), 26 deletions(-)

diff --git a/app-shells/tcsh/tcsh-6.17-r1.ebuild b/app-shells/tcsh/tcsh-6.17-r1.ebuild
index cb515e8..64ec5fe 100644
--- a/app-shells/tcsh/tcsh-6.17-r1.ebuild
+++ b/app-shells/tcsh/tcsh-6.17-r1.ebuild
@@ -70,8 +70,7 @@ src_configure() {
 
 	econf \
 		--prefix="${EPREFIX:-/}" \
-		--datarootdir='${prefix}/usr/share' \
-		|| die
+		--datarootdir='${prefix}/usr/share'
 }
 
 src_install() {

diff --git a/app-shells/tcsh/tcsh-6.17.06.ebuild b/app-shells/tcsh/tcsh-6.17.06.ebuild
index f0378a8..34886ee 100644
--- a/app-shells/tcsh/tcsh-6.17.06.ebuild
+++ b/app-shells/tcsh/tcsh-6.17.06.ebuild
@@ -66,8 +66,7 @@ src_configure() {
 	econf \
 		--prefix="${EPREFIX:-/}" \
 		--datarootdir='${prefix}/usr/share' \
-		$(use_enable nls) \
-		|| die
+		$(use_enable nls)
 }
 
 src_install() {

diff --git a/app-shells/tcsh/tcsh-6.18.01-r2.ebuild b/app-shells/tcsh/tcsh-6.18.01-r2.ebuild
index 3dc6ead..8fc7f32 100644
--- a/app-shells/tcsh/tcsh-6.18.01-r2.ebuild
+++ b/app-shells/tcsh/tcsh-6.18.01-r2.ebuild
@@ -76,8 +76,7 @@ src_configure() {
 	econf \
 		--prefix="${EPREFIX:-/}" \
 		--datarootdir='${prefix}/usr/share' \
-		$(use_enable nls) \
-		|| die
+		$(use_enable nls)
 }
 
 src_install() {

diff --git a/app-shells/tcsh/tcsh-6.18.01-r3.ebuild b/app-shells/tcsh/tcsh-6.18.01-r3.ebuild
index 31db287..791d7c1 100644
--- a/app-shells/tcsh/tcsh-6.18.01-r3.ebuild
+++ b/app-shells/tcsh/tcsh-6.18.01-r3.ebuild
@@ -77,8 +77,7 @@ src_configure() {
 	econf \
 		--prefix="${EPREFIX:-/}" \
 		--datarootdir='${prefix}/usr/share' \
-		$(use_enable nls) \
-		|| die
+		$(use_enable nls)
 }
 
 src_install() {

diff --git a/app-shells/tcsh/tcsh-6.18.01-r3.ebuild b/app-shells/tcsh/tcsh-6.18.01-r4.ebuild
similarity index 77%
copy from app-shells/tcsh/tcsh-6.18.01-r3.ebuild
copy to app-shells/tcsh/tcsh-6.18.01-r4.ebuild
index 31db287..42d2ba1 100644
--- a/app-shells/tcsh/tcsh-6.18.01-r3.ebuild
+++ b/app-shells/tcsh/tcsh-6.18.01-r4.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="3"
+EAPI=5
 
 inherit eutils flag-o-matic autotools prefix
 
@@ -10,7 +10,8 @@ CONFVER="1.9"
 
 DESCRIPTION="Enhanced version of the Berkeley C shell (csh)"
 HOMEPAGE="http://www.tcsh.org/"
-SRC_URI="ftp://ftp.astron.com/pub/tcsh/${P}.tar.gz
+SRC_URI="
+	ftp://ftp.astron.com/pub/tcsh/${P}.tar.gz
 	http://www.gentoo.org/~grobian/distfiles/tcsh-gentoo-patches-r${CONFVER}.tar.bz2"
 
 LICENSE="BSD"
@@ -20,7 +21,8 @@ IUSE="nls doc"
 RESTRICT="test"
 
 # we need gettext because we run autoconf (AM_ICONV)
-RDEPEND=">=sys-libs/ncurses-5.1
+RDEPEND="
+	>=sys-libs/ncurses-5.1:5=
 	virtual/libiconv"
 DEPEND="${RDEPEND}
 	sys-devel/gettext
@@ -28,12 +30,16 @@ DEPEND="${RDEPEND}
 
 CONFDIR=${WORKDIR}/tcsh-gentoo-patches-r${CONFVER}
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-6.14.00-debian-dircolors.patch # bug #120792
+	"${FILESDIR}"/${PN}-6.14-makefile.patch # bug #151951
+	"${FILESDIR}"/${PN}-6.14-use-ncurses.patch
+	"${FILESDIR}"/${PN}-6.18.01-aix.patch
+	"${FILESDIR}"/${PN}-6.18.01-gcc5.patch
+)
+
 src_prepare() {
-	epatch "${FILESDIR}"/${PN}-6.14.00-debian-dircolors.patch # bug #120792
-	epatch "${FILESDIR}"/${PN}-6.14-makefile.patch # bug #151951
-	epatch "${FILESDIR}"/${PN}-6.14-use-ncurses.patch
-	epatch "${FILESDIR}"/${PN}-6.18.01-aix.patch
-	epatch "${FILESDIR}"/${PN}-6.18.01-gcc5.patch
+	epatch "${PATCHES[@]}"
 
 	# fix dependency on ncurses[tinfo], #459484
 	sed \
@@ -43,8 +49,9 @@ src_prepare() {
 	eautoreconf
 
 	# fix gencat usage
-	sed -i -e 's/cat \$\^ \$> | \$(GENCAT) \$@/rm -f $@; $(GENCAT) $@ $> $^/' \
-		nls/Makefile.in || die
+	sed \
+		-e 's/cat \$\^ \$> | \$(GENCAT) \$@/rm -f $@; $(GENCAT) $@ $> $^/' \
+		-i nls/Makefile.in || die
 
 	# use sysmalloc (for larger alloc sets) on Darwin also
 	sed -i -e 's/__MACHTEN__/__MACH__/' config_f.h || die
@@ -77,25 +84,24 @@ src_configure() {
 	econf \
 		--prefix="${EPREFIX:-/}" \
 		--datarootdir='${prefix}/usr/share' \
-		$(use_enable nls) \
-		|| die
+		$(use_enable nls)
 }
 
 src_install() {
-	emake DESTDIR="${D}" install install.man || die
+	emake DESTDIR="${D}" install install.man
 
+	DOCS=( FAQ Fixes NewThings Ported README WishList Y2K )
 	if use doc ; then
 		perl tcsh.man2html tcsh.man || die
-		dohtml tcsh.html/*.html
+		HTML_DOCS=( tcsh.html/*.html )
 	fi
+	einstalldocs
 
 	insinto /etc
 	doins \
 		"${CONFDIR}"/csh.cshrc \
 		"${CONFDIR}"/csh.login
 
-	dodoc FAQ Fixes NewThings Ported README WishList Y2K
-
 	# bug #119703: add csh -> tcsh symlink
 	dosym /bin/tcsh /bin/csh
 }

diff --git a/app-shells/tcsh/tcsh-6.18.01.ebuild b/app-shells/tcsh/tcsh-6.18.01.ebuild
index 8e010a4..f08276c 100644
--- a/app-shells/tcsh/tcsh-6.18.01.ebuild
+++ b/app-shells/tcsh/tcsh-6.18.01.ebuild
@@ -66,8 +66,7 @@ src_configure() {
 	econf \
 		--prefix="${EPREFIX:-/}" \
 		--datarootdir='${prefix}/usr/share' \
-		$(use_enable nls) \
-		|| die
+		$(use_enable nls)
 }
 
 src_install() {


             reply	other threads:[~2015-08-20 12:23 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20 12:23 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-12-20 13:27 [gentoo-commits] repo/gentoo:master commit in: app-shells/tcsh/ Fabian Groffen
2017-01-16 15:49 Agostino Sarubbo
2017-01-23 18:58 Tobias Klausmann
2017-02-02  6:40 Jeroen Roovers
2017-02-18 19:03 Markus Meier
2017-06-17 11:11 Alexis Ballier
2017-07-24 13:11 Fabian Groffen
2017-08-24 15:53 Michał Górny
2017-11-25 19:55 David Seifert
2018-03-01 22:41 Michał Górny
2019-04-02  9:44 Mikle Kolyada
2019-04-02  9:44 Mikle Kolyada
2019-04-02  9:44 Mikle Kolyada
2019-07-05 21:16 Andreas K. Hüttel
2019-07-14 16:36 Fabian Groffen
2019-07-14 18:59 Fabian Groffen
2020-10-23  7:39 Fabian Groffen
2020-11-24  1:24 Sam James
2020-11-24  1:24 Sam James
2020-11-24  7:20 Agostino Sarubbo
2020-11-24  7:41 Agostino Sarubbo
2020-11-24  7:42 Agostino Sarubbo
2020-11-24  7:43 Agostino Sarubbo
2020-11-24  7:44 Agostino Sarubbo
2020-11-24  7:45 Agostino Sarubbo
2020-11-26 22:59 Sergei Trofimovich
2020-12-27 14:01 Fabian Groffen
2021-01-02 15:45 Andreas K. Hüttel
2021-01-06 13:26 Fabian Groffen
2021-05-23  9:45 Fabian Groffen
2021-06-22 22:38 Sam James
2022-02-09  8:15 Fabian Groffen
2022-05-01  1:52 WANG Xuerui
2022-07-07 10:43 Fabian Groffen
2022-07-08  7:40 Arthur Zamarin
2022-07-08 13:44 Arthur Zamarin
2022-07-08 21:29 Sam James
2022-07-08 21:29 Sam James
2022-07-09 10:43 Arthur Zamarin
2022-07-09 11:28 Arthur Zamarin
2022-07-09 12:15 Agostino Sarubbo
2022-07-09 12:16 Agostino Sarubbo
2022-10-02 17:11 Fabian Groffen
2022-11-03 17:24 Arthur Zamarin
2022-11-03 17:24 Arthur Zamarin
2022-11-03 17:24 Arthur Zamarin
2022-11-03 17:24 Arthur Zamarin
2022-11-03 17:24 Arthur Zamarin
2022-11-03 19:41 Arthur Zamarin
2022-11-03 19:57 Sam James
2022-11-04  8:16 Agostino Sarubbo
2023-05-30 11:43 Fabian Groffen
2024-02-01 13:14 Fabian Groffen
2024-02-02  8:23 Fabian Groffen
2024-05-12  9:10 Fabian Groffen
2024-05-12 19:11 Fabian Groffen
2024-10-17 19:21 Fabian Groffen
2025-01-26 14:24 Fabian Groffen
2025-01-26 14:50 Fabian Groffen

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=1440073378.cfba147f6b983843477064d34c334b968c576469.jlec@gentoo \
    --to=jlec@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