1 |
commit: a8ad7d82931934e4531d762b4f5e033065965f8e |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 4 17:16:59 2016 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 4 20:17:04 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8ad7d82 |
7 |
|
8 |
app-text/q-text-as-data: new package. |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
app-text/q-text-as-data/Manifest | 1 + |
13 |
app-text/q-text-as-data/metadata.xml | 7 ++++ |
14 |
.../q-text-as-data/q-text-as-data-1.5.0.ebuild | 40 ++++++++++++++++++++++ |
15 |
3 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/app-text/q-text-as-data/Manifest b/app-text/q-text-as-data/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..8f2b6c6 |
20 |
--- /dev/null |
21 |
+++ b/app-text/q-text-as-data/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST q-1.5.0.tar.gz 58746 SHA256 69bde3fb75aa1d42ba306576b135b8a72121a995e6d865cc8c18db289c602c4b SHA512 d21dd16a31629e36f0dee72ebc574283c7937821cb2da7ccaacb8484a35b53193dad05fe9857d1498434a0c1083514ea5b9e5d8a636bcd51d4c5924cb7bb1b55 WHIRLPOOL 264ecbd3a064ba37fc581fea1f9c7b3e6a7f8985c6dcc1c6856193036e202ba3483b90502640f042a25b418eaecc881bc3246855812ffbf55126789b6e79a44f |
24 |
|
25 |
diff --git a/app-text/q-text-as-data/metadata.xml b/app-text/q-text-as-data/metadata.xml |
26 |
new file mode 100644 |
27 |
index 0000000..79d462e |
28 |
--- /dev/null |
29 |
+++ b/app-text/q-text-as-data/metadata.xml |
30 |
@@ -0,0 +1,7 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+<maintainer type="person"> |
35 |
+ <email>robbat2@g.o</email> |
36 |
+</maintainer> |
37 |
+</pkgmetadata> |
38 |
|
39 |
diff --git a/app-text/q-text-as-data/q-text-as-data-1.5.0.ebuild b/app-text/q-text-as-data/q-text-as-data-1.5.0.ebuild |
40 |
new file mode 100644 |
41 |
index 0000000..aa6fcbb |
42 |
--- /dev/null |
43 |
+++ b/app-text/q-text-as-data/q-text-as-data-1.5.0.ebuild |
44 |
@@ -0,0 +1,40 @@ |
45 |
+# Copyright 1999-2016 Gentoo Foundation |
46 |
+# Distributed under the terms of the GNU General Public License v2 |
47 |
+# $Id$ |
48 |
+ |
49 |
+EAPI="5" |
50 |
+# Does not yet support py3 |
51 |
+PYTHON_COMPAT=( python2_7 ) |
52 |
+ |
53 |
+inherit python-r1 |
54 |
+ |
55 |
+DESCRIPTION="q: Text as Data is a CLI tool that allows direct execution of SQL-like queries on text" |
56 |
+HOMEPAGE="http://harelba.github.io/q/" |
57 |
+MY_P="q-${PV}" |
58 |
+SRC_URI="https://github.com/harelba/q/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" |
59 |
+ |
60 |
+LICENSE="GPL-3" |
61 |
+SLOT="0" |
62 |
+KEYWORDS="~amd64 ~x86" |
63 |
+ |
64 |
+# No dependencies other than python >= 2.5 |
65 |
+# http://harelba.github.io/q/requirements.html |
66 |
+RDEPEND="${PYTHON_DEPS}" |
67 |
+DEPEND="" |
68 |
+ |
69 |
+S="${WORKDIR}/${MY_P}" |
70 |
+ |
71 |
+q_install() { |
72 |
+ python_newexe bin/q q-text-as-data |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ python_foreach_impl q_install |
77 |
+ newdoc bin/.qrc dot-qrc |
78 |
+ dodoc doc/* |
79 |
+} |
80 |
+ |
81 |
+pkg_postinst() { |
82 |
+ einfo "On Gentoo, the 'q' binary is most often provided by app-portage/portage-utils;" |
83 |
+ einfo "Thus, this tool is install as 'q-text-as-data' rather than 'q'." |
84 |
+} |