1 |
commit: 9fac09e4bd372a2682be828060c5d7752e631f03 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 06:44:21 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 06:44:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fac09e4 |
7 |
|
8 |
sys-apps/miller: bump to 5.10.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sys-apps/miller/Manifest | 1 + |
14 |
sys-apps/miller/miller-5.10.0.ebuild | 48 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 49 insertions(+) |
16 |
|
17 |
diff --git a/sys-apps/miller/Manifest b/sys-apps/miller/Manifest |
18 |
index 25409959940..5967ca148fc 100644 |
19 |
--- a/sys-apps/miller/Manifest |
20 |
+++ b/sys-apps/miller/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST miller-5.10.0.tar.gz 6793426 BLAKE2B 25ec96e29ee8d913feffd6e9a54cd2d494c9050e180556ed462a6d94a6adaaea88dbdbc09b4753f8888673bdc33a1f0aa43f9dac37bdc3c25191b2a565fe8847 SHA512 a7cbaee9ad4075d27e74ab3a60297164c535ea2bc1e38128174f4f226ad061850d37108e7d7547821b7e6667cb9a024639795d7678b1897fedf6ee15d6064538 |
23 |
DIST miller-5.3.0.tar.gz 4940072 BLAKE2B 2e34ae010d409877040a60b08dd615f32e6945ca3bf97c078c89b9d2811067fa4bca2403f8ad239f8245e050acb10305d351b1db4177541a4fa9ed9a4bc1396c SHA512 4c557d97eb1cda2e52093fa097677602491895dea3093776a03af56114022b8c0917df9fbf26071d4d1a3c1360f520c82e33b32635c7b4207fa62869ab564712 |
24 |
|
25 |
diff --git a/sys-apps/miller/miller-5.10.0.ebuild b/sys-apps/miller/miller-5.10.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..e0e1b73a7b1 |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/miller/miller-5.10.0.ebuild |
30 |
@@ -0,0 +1,48 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools |
37 |
+ |
38 |
+DESCRIPTION="A tool like sed, awk, cut, join, and sort for name-indexed data (CSV, JSON, ..)" |
39 |
+HOMEPAGE="https://johnkerl.org/miller/doc/index.html" |
40 |
+SRC_URI="https://github.com/johnkerl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~x86" |
45 |
+IUSE="doc test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+DEPEND="sys-devel/flex" |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ default |
52 |
+ |
53 |
+ # respect flags |
54 |
+ find -type f -name "Makefile.am" -exec sed -i -r -e '/.*FLAGS[^=]*=/ s:(-g|-pg|-O[0-9]) ::g' -- {} \; || die |
55 |
+ |
56 |
+ # disable docs rebuilding as they're shipped prebuilt |
57 |
+ sed -e '/SUBDIRS[^=]*=/ s:doc::g' -i -- Makefile.am || die |
58 |
+ |
59 |
+ # disable building tests automagically |
60 |
+ if ! use test; then |
61 |
+ sed -e '/SUBDIRS[^=]*=/ s:[^ ]*_test::g' -i -- c/Makefile.am || die |
62 |
+ fi |
63 |
+ |
64 |
+ eautoreconf |
65 |
+} |
66 |
+ |
67 |
+src_test() { |
68 |
+ emake -C c/reg_test |
69 |
+ emake -C c/unit_test |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ local HTML_DOCS=( $(usev doc) ) |
74 |
+ |
75 |
+ default |
76 |
+ |
77 |
+ doman 'docs/mlr.1' |
78 |
+} |