From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC3451382C5 for ; Mon, 22 Mar 2021 03:30:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83E74E089C; Mon, 22 Mar 2021 03:30:13 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3A59EE089A for ; Mon, 22 Mar 2021 03:30:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 206F433DDA5 for ; Mon, 22 Mar 2021 03:30:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 624235D2 for ; Mon, 22 Mar 2021 03:30:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1616383795.8a683b69050b5455a5ecb412ccece854cbced257.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/miller/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/miller/Manifest sys-apps/miller/miller-5.10.1.ebuild X-VCS-Directories: sys-apps/miller/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8a683b69050b5455a5ecb412ccece854cbced257 X-VCS-Branch: master Date: Mon, 22 Mar 2021 03:30:10 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 76ac50cc-02a7-4bb6-a428-65d44d497b75 X-Archives-Hash: 1f633f06f300f792d66d3503c4ec5821 commit: 8a683b69050b5455a5ecb412ccece854cbced257 Author: Sam James gentoo org> AuthorDate: Mon Mar 22 03:26:45 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 22 03:29:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a683b69 sys-apps/miller: add 5.10.1 Signed-off-by: Sam James gentoo.org> sys-apps/miller/Manifest | 1 + sys-apps/miller/miller-5.10.1.ebuild | 48 ++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/sys-apps/miller/Manifest b/sys-apps/miller/Manifest index a91a7d449c5..59a024e51dc 100644 --- a/sys-apps/miller/Manifest +++ b/sys-apps/miller/Manifest @@ -1 +1,2 @@ DIST miller-5.10.0.tar.gz 6793426 BLAKE2B 25ec96e29ee8d913feffd6e9a54cd2d494c9050e180556ed462a6d94a6adaaea88dbdbc09b4753f8888673bdc33a1f0aa43f9dac37bdc3c25191b2a565fe8847 SHA512 a7cbaee9ad4075d27e74ab3a60297164c535ea2bc1e38128174f4f226ad061850d37108e7d7547821b7e6667cb9a024639795d7678b1897fedf6ee15d6064538 +DIST miller-5.10.1.tar.gz 6158587 BLAKE2B f22db3ccd29e0ff99e3f287e7e4382d679bba2c4d8e0fef3f3c086fa11ffbb287c22fc69c23f3baf647c2e5ac020d73f55ee613b0bb71273d7f94a5fe9561ea5 SHA512 32ec8216ea9c73c20b5c22fa047535c37f52a0d3c3c1100b090c57011cd555cae57a56425dfb0eaf0d09d41d82dbea3ad78a182ec8b538e194599b754f562961 diff --git a/sys-apps/miller/miller-5.10.1.ebuild b/sys-apps/miller/miller-5.10.1.ebuild new file mode 100644 index 00000000000..4f24e895c45 --- /dev/null +++ b/sys-apps/miller/miller-5.10.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="A tool like sed, awk, cut, join, and sort for name-indexed data (CSV, JSON, ..)" +HOMEPAGE="https://johnkerl.org/miller/doc/index.html" +SRC_URI="https://github.com/johnkerl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +DEPEND="sys-devel/flex" + +src_prepare() { + default + + # Respect flags + find -type f -name "Makefile.am" -exec sed -i -r -e '/.*FLAGS[^=]*=/ s:(-g|-pg|-O[0-9]) ::g' -- {} \; || die + + # Disable docs rebuilding as they're shipped prebuilt + sed -e '/SUBDIRS[^=]*=/ s:doc::g' -i -- Makefile.am || die + + # Disable building tests automagically + if ! use test; then + sed -e '/SUBDIRS[^=]*=/ s:[^ ]*_test::g' -i -- c/Makefile.am || die + fi + + eautoreconf +} + +src_test() { + emake -C c/reg_test + emake -C c/unit_test +} + +src_install() { + local HTML_DOCS=( $(usev doc) ) + + default + + doman docs/mlr.1 +}