summaryrefslogtreecommitdiff
path: root/sys-apps/miller
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
commita8b0d35ab742f31538d515dea39716e566d533c0 (patch)
tree40c6c87a13f0e5ef1111ed1bdd9191f3bd1c1e59 /sys-apps/miller
parent8fcdcec5fbdd0e3a77391e4f354218014f59f358 (diff)
gentoo resync : 06.01.2018
Diffstat (limited to 'sys-apps/miller')
-rw-r--r--sys-apps/miller/Manifest4
-rw-r--r--sys-apps/miller/metadata.xml9
-rw-r--r--sys-apps/miller/miller-5.2.2.ebuild47
3 files changed, 58 insertions, 2 deletions
diff --git a/sys-apps/miller/Manifest b/sys-apps/miller/Manifest
index d97de8ad2447..21474b74c1eb 100644
--- a/sys-apps/miller/Manifest
+++ b/sys-apps/miller/Manifest
@@ -1,3 +1,5 @@
DIST miller-4.2.0.tar.gz 3373505 BLAKE2B 5051f310a70ad151aa8fd80dd4b885e78561dfb1fd14fa3a49ffb9928ce55acb59220b2b122b798256a0d258fbe4216470cdf8aec37be2fd26ac5ecb1f80e982 SHA512 f176dc2ce4e733ac1e4e331f17554d4ed089344a5f571bcc9d4b3b227f6c950fa0355f1a5b934e4f9467d9a22448e2842c586a4e6c424a98ec89170cd70b1714
+DIST miller-5.2.2.tar.gz 5024653 BLAKE2B c13b6fb03404ae93f436997510aaaced2e11616b42fe132b9a267b1e71c2b7ada5bd310a20bd0bbd50ca6edaac915ebd68885ef4de1558aea63d9753b9f69125 SHA512 64ab35db6382cd9bf819249a57b88a142fccf7d6facdc6b9fdf3005b82bb2567f57b64d52a29b5f9d44c941974803339eb4a34c6648fdde2c82cc7c2f98e727c
EBUILD miller-4.2.0.ebuild 1228 BLAKE2B 86b062942f884c71ad5e3b0634bf3e5721d78aba4392547ac4a7394c51ca5d00766d9f3e6e61aaf730ae5861fabaa4c72fb1553eaee91f8a19840c5a4390abcb SHA512 0df8acbd893e5c67546b23a89b7b6f4ccb930d802e8648b636410d6ca71d5e8a9aaa2b4a452006efc54bcd9699ee32fb12310b0e7043d7f7151c24707c155b30
-MISC metadata.xml 247 BLAKE2B db1e11c869409f9a8784a1d6cb02fe7a7251e0324b348106635de4c78e48e6d61a707858fc7ff551e7d91483edb7e5be038954bbf1c3b6e5e13ec63cf67e845a SHA512 1d569a62d1a657cfa27749346c970866599d29264aac8a94fb7db0aefa141edb879a083b1500c804463a7ee0a2e489cdd478ece3d7f2a7fdcc9630f99baf25eb
+EBUILD miller-5.2.2.ebuild 1006 BLAKE2B 9aaf6def1265e67742abb5ddcf3a0672e87cdeca70dad9a73f3747c746eb495f2d806dee04a98991ad668494abfe827831edb951d2766daaa8f9534374777367 SHA512 0ec603a2203ac034f5546dfd90f46da42c19f0757b73131d1b6ba1d87c5f314a1cb0fcd5fd56e93619617aa9bbe79f148720cc1f9ab10b9aff0c9bda3cc39bf9
+MISC metadata.xml 457 BLAKE2B ca81aa24bf7634b723208b902df033b665fb97b195f002a2a8250c4e00db0b93da2be68af87b23cb7cc749b479735121d58b1cddae4a6a69cc67d7bf04860596 SHA512 1d55a1c34c8c1c1b69036028b9d2f65b8d36b1f102da9041d3e4469c821d0bba20c56d88eb7641ce9f3b8ab26e4ee756595028f9f77345b1fbf19c2aa09237b1
diff --git a/sys-apps/miller/metadata.xml b/sys-apps/miller/metadata.xml
index b514bd71d71f..bea67532f6a5 100644
--- a/sys-apps/miller/metadata.xml
+++ b/sys-apps/miller/metadata.xml
@@ -1,7 +1,14 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>herb@hlmjr.com</email>
+ <name>Herb Miller Jr. (herbmillerjr)</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<upstream>
<remote-id type="github">johnkerl/miller</remote-id>
</upstream>
diff --git a/sys-apps/miller/miller-5.2.2.ebuild b/sys-apps/miller/miller-5.2.2.ebuild
new file mode 100644
index 000000000000..7d27a1bf9b8d
--- /dev/null
+++ b/sys-apps/miller/miller-5.2.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A tool like sed, awk, cut, join, and sort for name-indexed data (CSV, JSON, ..)"
+HOMEPAGE="http://johnkerl.org/miller"
+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"
+
+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 'doc/mlr.1'
+}