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 0AFFE13835A for ; Sat, 2 Jan 2021 06:47:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5121E0825; Sat, 2 Jan 2021 06:47:12 +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 73D19E07B3 for ; Sat, 2 Jan 2021 06:47:12 +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 4D57D340F16 for ; Sat, 2 Jan 2021 06:47:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ADEE746B for ; Sat, 2 Jan 2021 06:47:09 +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: <1609569861.9fac09e4bd372a2682be828060c5d7752e631f03.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.0.ebuild X-VCS-Directories: sys-apps/miller/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9fac09e4bd372a2682be828060c5d7752e631f03 X-VCS-Branch: master Date: Sat, 2 Jan 2021 06:47:09 +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: b91b7649-e61e-451d-9d7f-718af915a7da X-Archives-Hash: 8925124e9ecfce9de827369ac5100cf5 commit: 9fac09e4bd372a2682be828060c5d7752e631f03 Author: Sam James gentoo org> AuthorDate: Sat Jan 2 06:44:21 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jan 2 06:44:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fac09e4 sys-apps/miller: bump to 5.10.0 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> sys-apps/miller/Manifest | 1 + sys-apps/miller/miller-5.10.0.ebuild | 48 ++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/sys-apps/miller/Manifest b/sys-apps/miller/Manifest index 25409959940..5967ca148fc 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.3.0.tar.gz 4940072 BLAKE2B 2e34ae010d409877040a60b08dd615f32e6945ca3bf97c078c89b9d2811067fa4bca2403f8ad239f8245e050acb10305d351b1db4177541a4fa9ed9a4bc1396c SHA512 4c557d97eb1cda2e52093fa097677602491895dea3093776a03af56114022b8c0917df9fbf26071d4d1a3c1360f520c82e33b32635c7b4207fa62869ab564712 diff --git a/sys-apps/miller/miller-5.10.0.ebuild b/sys-apps/miller/miller-5.10.0.ebuild new file mode 100644 index 00000000000..e0e1b73a7b1 --- /dev/null +++ b/sys-apps/miller/miller-5.10.0.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' +}