public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-devel/heirloom-devtools/
@ 2017-04-04 12:05 Pacho Ramos
  0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos @ 2017-04-04 12:05 UTC (permalink / raw
  To: gentoo-commits

commit:     6bdcdc31ed91e397ad8d8cca4ffac2b4b4619e3a
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  4 11:50:19 2017 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Tue Apr  4 12:05:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bdcdc31

sys-devel/heirloom-devtools: Fix gcc6 support, bug #594090 by Peter Levine, also adapt to eapi6 and not show elog messages always.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 ...1.ebuild => heirloom-devtools-070527-r2.ebuild} | 34 ++++++++++++----------
 .../heirloom-devtools-999999.ebuild                | 23 ++++++++-------
 2 files changed, 32 insertions(+), 25 deletions(-)

diff --git a/sys-devel/heirloom-devtools/heirloom-devtools-070527-r1.ebuild b/sys-devel/heirloom-devtools/heirloom-devtools-070527-r2.ebuild
similarity index 65%
rename from sys-devel/heirloom-devtools/heirloom-devtools-070527-r1.ebuild
rename to sys-devel/heirloom-devtools/heirloom-devtools-070527-r2.ebuild
index 6b417392c6b..53ff1997977 100644
--- a/sys-devel/heirloom-devtools/heirloom-devtools-070527-r1.ebuild
+++ b/sys-devel/heirloom-devtools/heirloom-devtools-070527-r2.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-
-inherit eutils flag-o-matic toolchain-funcs
+EAPI=6
+inherit flag-o-matic readme.gentoo-r1 toolchain-funcs
 
 DESCRIPTION="Original UNIX development tools"
 HOMEPAGE="http://heirloom.sourceforge.net/devtools.html"
@@ -17,8 +16,21 @@ IUSE=""
 DEPEND="app-shells/heirloom-sh"
 RDEPEND="${DEPEND}"
 
-src_prepare() {
+PATCHES=(
+	"${FILESDIR}/${P}-solaris.patch"
+	"${FILESDIR}/${P}-64-bit.patch"
+	"${FILESDIR}/${P}-gcc6.patch"
+)
 
+DOC_CONTENTS="
+	You may want to add /usr/5bin or /usr/ucb to \$PATH
+	to enable using the apps of heirloom toolchest by default.
+	Man pages are installed in /usr/share/man/5man/
+	You may need to set \$MANPATH to access them.
+"
+
+src_prepare() {
+	default
 	sed -i \
 		-e 's:^\(SHELL =\) \(.*\):\1 /bin/jsh:' \
 		-e 's:^\(POSIX_SHELL =\) \(.*\):\1 /bin/sh:' \
@@ -32,12 +44,6 @@ src_prepare() {
 		./mk.config
 
 	echo "CC=$(tc-getCC)" >> "./mk.config"
-
-	epatch "${FILESDIR}/${P}-solaris.patch"
-	epatch "${FILESDIR}/${P}-64-bit.patch"
-
-	epatch_user
-
 }
 
 src_compile() {
@@ -46,11 +52,9 @@ src_compile() {
 
 src_install() {
 	emake ROOT="${D}" install
+	readme.gentoo_create_doc
 }
 
 pkg_postinst() {
-	elog "You may want to add /usr/5bin or /usr/ucb to \$PATH"
-	elog "to enable using the apps of heirloom toolchest by default."
-	elog "Man pages are installed in /usr/share/man/5man/"
-	elog "You may need to set \$MANPATH to access them."
+	readme.gentoo_print_elog
 }

diff --git a/sys-devel/heirloom-devtools/heirloom-devtools-999999.ebuild b/sys-devel/heirloom-devtools/heirloom-devtools-999999.ebuild
index 1299aaabeff..1d97661d245 100644
--- a/sys-devel/heirloom-devtools/heirloom-devtools-999999.ebuild
+++ b/sys-devel/heirloom-devtools/heirloom-devtools-999999.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-
-inherit cvs flag-o-matic toolchain-funcs
+EAPI=6
+inherit cvs flag-o-matic readme.gentoo-r1 toolchain-funcs
 
 ECVS_AUTH="pserver"
 ECVS_USER="anonymous"
@@ -24,10 +23,17 @@ IUSE=""
 DEPEND="app-shells/heirloom-sh"
 RDEPEND="${DEPEND}"
 
+DOC_CONTENTS="
+	You may want to add /usr/5bin or /usr/ucb to \$PATH
+	to enable using the apps of heirloom toolchest by default.
+	Man pages are installed in /usr/share/man/5man/
+	You may need to set \$MANPATH to access them.
+"
+
 S="${WORKDIR}/${PN}"
 
 src_prepare() {
-
+	default
 	sed -i \
 		-e 's:^\(SHELL =\) \(.*\):\1 /bin/jsh:' \
 		-e 's:^\(POSIX_SHELL =\) \(.*\):\1 /bin/sh:' \
@@ -41,7 +47,6 @@ src_prepare() {
 		./mk.config
 
 	echo "CC=$(tc-getCC)" >> "./mk.config"
-
 }
 
 src_compile() {
@@ -50,11 +55,9 @@ src_compile() {
 
 src_install() {
 	emake ROOT="${D}" install
+	readme.gentoo_create_doc
 }
 
 pkg_postinst() {
-	elog "You may want to add /usr/5bin or /usr/ucb to \$PATH"
-	elog "to enable using the apps of heirloom toolchest by default."
-	elog "Man pages are installed in /usr/share/man/5man/"
-	elog "You may need to set \$MANPATH to access them."
+	readme.gentoo_print_elog
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sys-devel/heirloom-devtools/
@ 2018-03-17  9:24 Pacho Ramos
  0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos @ 2018-03-17  9:24 UTC (permalink / raw
  To: gentoo-commits

commit:     b5d5860024fef65085e2ec4df5f1c665200421f6
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 17 09:15:15 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Mar 17 09:21:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d58600

sys-devel/heirloom-devtools: Drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-devel/heirloom-devtools/metadata.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sys-devel/heirloom-devtools/metadata.xml b/sys-devel/heirloom-devtools/metadata.xml
index 22ffeee07c2..9c91dcca68e 100644
--- a/sys-devel/heirloom-devtools/metadata.xml
+++ b/sys-devel/heirloom-devtools/metadata.xml
@@ -1,10 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>ryao@gentoo.org</email>
-		<name>Richard Yao</name>
-	</maintainer>
 	<upstream>
 		<remote-id type="sourceforge">heirloom</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-17  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-17  9:24 [gentoo-commits] repo/gentoo:master commit in: sys-devel/heirloom-devtools/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2017-04-04 12:05 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox