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