public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pretrace/
Date: Thu, 22 Mar 2018 21:38:24 +0000 (UTC)	[thread overview]
Message-ID: <1521754558.cbf08c1b429afd482285ca9227fb5fbb8739083a.pacho@gentoo> (raw)

commit:     cbf08c1b429afd482285ca9227fb5fbb8739083a
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 21:33:24 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 21:35:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbf08c1b

dev-util/pretrace: Stop using prepalldocs (#587268), neither einstall, bump EAPI and don't show elog messages everytime

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-util/pretrace/pretrace-0.4-r1.ebuild | 33 ++++++++++++++++++++++++++++++++
 dev-util/pretrace/pretrace-0.4.ebuild    | 32 -------------------------------
 2 files changed, 33 insertions(+), 32 deletions(-)

diff --git a/dev-util/pretrace/pretrace-0.4-r1.ebuild b/dev-util/pretrace/pretrace-0.4-r1.ebuild
new file mode 100644
index 00000000000..998da63f105
--- /dev/null
+++ b/dev-util/pretrace/pretrace-0.4-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit readme.gentoo-r1
+
+DESCRIPTION="start dynamically linked applications under debugging environment"
+HOMEPAGE="http://dev.inversepath.com/trac/pretrace"
+SRC_URI="http://dev.inversepath.com/pretrace/libpretrace-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+S="${WORKDIR}/lib${P}"
+
+DOC_CONTENTS="Remember to execute ptgenmap after modifying pretrace.conf"
+
+PATCHES=(
+	"${FILESDIR}"/${P}--as-needed.diff
+	"${FILESDIR}"/${P}-build.patch #227923
+)
+
+src_install() {
+	dodir /usr/bin /usr/share/man/man3 /usr/share/man/man8
+	emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" install
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	readme.gentoo_print_elog
+}

diff --git a/dev-util/pretrace/pretrace-0.4.ebuild b/dev-util/pretrace/pretrace-0.4.ebuild
deleted file mode 100644
index 00fe92568f8..00000000000
--- a/dev-util/pretrace/pretrace-0.4.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit eutils multilib
-
-DESCRIPTION="start dynamically linked applications under debugging environment"
-HOMEPAGE="http://dev.inversepath.com/trac/pretrace"
-SRC_URI="http://dev.inversepath.com/pretrace/libpretrace-${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-S="${WORKDIR}/lib${P}"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-	epatch "${FILESDIR}"/${P}--as-needed.diff
-	epatch "${FILESDIR}"/${P}-build.patch #227923
-}
-
-src_install() {
-	dodir /usr/bin /usr/share/man/man{3,8}
-	einstall LIBDIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" || die
-	prepalldocs
-}
-
-pkg_postinst() {
-	elog "remember to execute ptgenmap after modifying pretrace.conf"
-}


             reply	other threads:[~2018-03-22 21:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-22 21:38 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-14 17:11 [gentoo-commits] repo/gentoo:master commit in: dev-util/pretrace/ Andrew Savchenko
2016-07-04 20:03 Andrew Savchenko

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=1521754558.cbf08c1b429afd482285ca9227fb5fbb8739083a.pacho@gentoo \
    --to=pacho@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