From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 28BC359CA3 for ; Sat, 12 Mar 2016 07:16:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02E46E07D5; Sat, 12 Mar 2016 07:16:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8CF2EE07D5 for ; Sat, 12 Mar 2016 07:16:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 86CE7340B63 for ; Sat, 12 Mar 2016 07:16:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0384716C5 for ; Sat, 12 Mar 2016 07:16:18 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1457766805.5f1d9bab6ef8065a42f37f512803b63eae49ebac.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/moreutils/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/moreutils/Manifest sys-apps/moreutils/moreutils-0.58.ebuild X-VCS-Directories: sys-apps/moreutils/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: 5f1d9bab6ef8065a42f37f512803b63eae49ebac X-VCS-Branch: master Date: Sat, 12 Mar 2016 07:16:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0b978359-19b4-4c4b-814e-71791a4110ac X-Archives-Hash: 6e23166677309874c32cf6a91d490362 commit: 5f1d9bab6ef8065a42f37f512803b63eae49ebac Author: Tim Harder gentoo org> AuthorDate: Sat Mar 12 07:13:25 2016 +0000 Commit: Tim Harder gentoo org> CommitDate: Sat Mar 12 07:13:25 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f1d9bab sys-apps/moreutils: version bump to 0.58 sys-apps/moreutils/Manifest | 1 + sys-apps/moreutils/moreutils-0.58.ebuild | 56 ++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/sys-apps/moreutils/Manifest b/sys-apps/moreutils/Manifest index ec77e61..43e2219 100644 --- a/sys-apps/moreutils/Manifest +++ b/sys-apps/moreutils/Manifest @@ -6,3 +6,4 @@ DIST moreutils_0.54.orig.tar.gz 45575 SHA256 50281c4d6bbbc8ab08f881c44a01c367049 DIST moreutils_0.55.orig.tar.gz 46500 SHA256 da9d5cd145ceea967a65dd50031d168d66199c3eb41b9390b57f35d4a5808ab5 SHA512 9a64057015cb9d1f957c438a35efc57c09438a033d0e58aed5e7fc0cd3c125df91b075a2f14b78d75c7e89b3b41fdba573b4cf41aba08bef7230f5a8794ee1a3 WHIRLPOOL 595692ac0d3ef5eee5323d682bd2a9e722fae2f33ef63199539d5612cc9b9a6c9a8eb96561149e13f03a6df4587532a231f7b00ff45694e2752b0753bd17efee DIST moreutils_0.56.orig.tar.gz 46704 SHA256 ec4b7a1e1d1e1d6ec606d2877301ec06c6cf4091776687d9b76f4d019705e77f SHA512 1793619f791fa2da9d233e0ee90ba4d843ced638f059406bec84f476a1300df33288fc34452a2912de7006e1ba2a75492785024148fad6c8372987147fb8616f WHIRLPOOL 21eecda882856d0c4ee2fa744a9a10a8ac71333f64d592277fcb93cd6ed14bf59003dd16a2a8985f27556344e884d60e2c28556fd024638e3ce30f7397aa5bd1 DIST moreutils_0.57.orig.tar.gz 46749 SHA256 3a7d54b0634e5eda8c3c43490d47cea189156700892dea6d876867cef9bc0d1d SHA512 2451ed5218841866b117349e451460fce1e7b84485588b48c1f4bfaa18c311a12c9cc6700aff16911aba2d06467e539ea15a705ea3cf0d397b296c4c5f7047c1 WHIRLPOOL dbaf2f043f20f662a4e9df6183bf836c5fdfda419432295c80b14cb8db319d8e2b9a547071408f6fce1d1e34f9e6142b15e80efdc20c341abbe8e6108e583acd +DIST moreutils_0.58.orig.tar.gz 46828 SHA256 9c4bba745518f1cc4d5594b1276793bd4f737fedb2e5b14beeab4b73f106c00a SHA512 4bbb250d34b33a295e35cb4c282843ecf608ce61b428f8aa145a39dd6433a7b5b22619fe078df48be8d7f54f11aabcbf3094dc0e1c7fcd80c136e4be63282c64 WHIRLPOOL 88f81314e9f872c1b9965f0844dff46ea16809b161ca24818c2f73abd2db38669736ec38f678080137b9ec09512cb819077db80a95e9048a0c905e963c51c672 diff --git a/sys-apps/moreutils/moreutils-0.58.ebuild b/sys-apps/moreutils/moreutils-0.58.ebuild new file mode 100644 index 0000000..01f0b4a --- /dev/null +++ b/sys-apps/moreutils/moreutils-0.58.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="a growing collection of the unix tools that nobody thought to write thirty years ago" +HOMEPAGE="http://joeyh.name/code/moreutils/" +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-linux" +IUSE="+doc +perl" + +RDEPEND=" + perl? ( + dev-lang/perl + dev-perl/IPC-Run + dev-perl/Time-Duration + dev-perl/TimeDate + )" +DEPEND=" + doc? ( + dev-lang/perl + >=app-text/docbook2X-0.8.8-r2 + app-text/docbook-xml-dtd:4.4 + )" + +src_prepare() { + # don't build manpages + if ! use doc ; then + sed -i -e '/^all:/s/$(MANS)//' -e '/man1/d' Makefile || die + fi + + # don't install perl scripts + if ! use perl ; then + sed -i -e '/PERLSCRIPTS/d' Makefile || die + fi +} + +src_compile() { + tc-export CC + emake CFLAGS="${CFLAGS}" DOCBOOK2XMAN=docbook2man.pl PREFIX="${EPREFIX}/usr" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" INSTALL_BIN=install install + + # sys-process is more advanced than parallel from moreutils, rename it + if use doc; then + mv "${ED}"usr/share/man/man1/{,${PN}_}parallel.1 || die + fi + mv "${ED}"usr/bin/{,${PN}_}parallel || die +}