diff options
author | Herb Miller Jr <herb@hlmjr.com> | 2017-08-16 12:40:47 -0400 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-01-06 09:56:32 +0100 |
commit | 8c402341cf47392ad8fc77d6e97f2780e1ce20ad (patch) | |
tree | c726905abe15f2e48c0367dcbdb94ebf2dbf4d04 /sys-apps | |
parent | sys-fs/xfsprogs: x86 stable (bug #643020) (diff) | |
download | gentoo-8c402341cf47392ad8fc77d6e97f2780e1ce20ad.tar.gz gentoo-8c402341cf47392ad8fc77d6e97f2780e1ce20ad.tar.bz2 gentoo-8c402341cf47392ad8fc77d6e97f2780e1ce20ad.zip |
sys-apps/miller: bump to version 5.2.2
Adding myself and proxy maintainer project as maintainers to signal
proxy maintainers project leads. Cleanup per guidance from mgorny.
Closes: https://github.com/gentoo/gentoo/pull/5446
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/miller/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/miller/metadata.xml | 9 | ||||
-rw-r--r-- | sys-apps/miller/miller-5.2.2.ebuild | 47 |
3 files changed, 56 insertions, 1 deletions
diff --git a/sys-apps/miller/Manifest b/sys-apps/miller/Manifest index 01ff07e893e7..9f489d900d01 100644 --- a/sys-apps/miller/Manifest +++ b/sys-apps/miller/Manifest @@ -1 +1,2 @@ DIST miller-4.2.0.tar.gz 3373505 BLAKE2B 5051f310a70ad151aa8fd80dd4b885e78561dfb1fd14fa3a49ffb9928ce55acb59220b2b122b798256a0d258fbe4216470cdf8aec37be2fd26ac5ecb1f80e982 SHA512 f176dc2ce4e733ac1e4e331f17554d4ed089344a5f571bcc9d4b3b227f6c950fa0355f1a5b934e4f9467d9a22448e2842c586a4e6c424a98ec89170cd70b1714 +DIST miller-5.2.2.tar.gz 5024653 BLAKE2B c13b6fb03404ae93f436997510aaaced2e11616b42fe132b9a267b1e71c2b7ada5bd310a20bd0bbd50ca6edaac915ebd68885ef4de1558aea63d9753b9f69125 SHA512 64ab35db6382cd9bf819249a57b88a142fccf7d6facdc6b9fdf3005b82bb2567f57b64d52a29b5f9d44c941974803339eb4a34c6648fdde2c82cc7c2f98e727c 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' +} |