1 |
commit: e0f6366dbc3eb87dfb7cb918ec863634452db44b |
2 |
Author: Tiziano Müller <tm <AT> dev-zero <DOT> ch> |
3 |
AuthorDate: Tue Jul 2 13:55:18 2013 +0000 |
4 |
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 2 13:55:18 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=e0f6366d |
7 |
|
8 |
Yet another dep for gitlab (the last non-gitlab-original one!) |
9 |
|
10 |
--- |
11 |
dev-ruby/github-linguist/Manifest | 2 ++ |
12 |
.../github-linguist/github-linguist-2.7.0.ebuild | 35 ++++++++++++++++++++++ |
13 |
2 files changed, 37 insertions(+) |
14 |
|
15 |
diff --git a/dev-ruby/github-linguist/Manifest b/dev-ruby/github-linguist/Manifest |
16 |
new file mode 100644 |
17 |
index 0000000..5d18e5b |
18 |
--- /dev/null |
19 |
+++ b/dev-ruby/github-linguist/Manifest |
20 |
@@ -0,0 +1,2 @@ |
21 |
+DIST github-linguist-2.7.0.tar.gz 2672943 SHA256 1b25b40109b5c0b05297856e5ca83fdace6e22910b849f2195bbd3585f1275cf SHA512 fdb08fd49279bd575552ab2756b755e8c60911bc02cd5815165936d52ee71a439cd6e1fa667535b0cffb01e42eaa9d91e1669e7f1f468eedf7fe9ebfe75c08e7 WHIRLPOOL c8dcda8a945c410485c5520de4de4c784445b6c2359a21103a86cac592bcdd93325cac318660a8db7ff3ef064200863942d4808e6770eb4cba21fd50497088b7 |
22 |
+EBUILD github-linguist-2.7.0.ebuild 932 SHA256 0138b609672283c205991926c38c9a27bc1a3b8df41764804003cee780ddd454 SHA512 2a2d4140a4a164a3a64e6b5a8ee0701036f15a1a5edf90bc42c208591ce1358e4ae0189ed3b98307142d5923db4c00b466fa65bb3f87f9b2077fbe65c21020ab WHIRLPOOL a7e1c88b6350e772567ffdb3afb6fae252981371f6cfff381d9f49d4da52dd65b0f81e6f79a4614fc3aa674b9381d83acaed67d54432f16dd100ba296b1a4910 |
23 |
|
24 |
diff --git a/dev-ruby/github-linguist/github-linguist-2.7.0.ebuild b/dev-ruby/github-linguist/github-linguist-2.7.0.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..9c3eac1 |
27 |
--- /dev/null |
28 |
+++ b/dev-ruby/github-linguist/github-linguist-2.7.0.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 1999-2013 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Header: $ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+USE_RUBY="ruby19" |
36 |
+ |
37 |
+RUBY_FAKEGEM_RECIPE_TEST="rake" |
38 |
+RUBY_FAKEGEM_RECIPE_DOC="none" |
39 |
+RUBY_FAKEGEM_EXTRADOC="README.md" |
40 |
+# TODO: examples |
41 |
+ |
42 |
+inherit ruby-fakegem |
43 |
+ |
44 |
+DESCRIPTION="Used at GitHub to detect blob languages, highlight code, ignore binary files, etc." |
45 |
+HOMEPAGE="https://github.com/github/linguist" |
46 |
+SRC_URI="https://github.com/github/linguist/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64" |
51 |
+IUSE="" |
52 |
+ |
53 |
+ruby_add_rdepend ">=dev-ruby/charlock_holmes-0.6.6 |
54 |
+ >=dev-ruby/escape_utils-0.3.1 |
55 |
+ >=dev-ruby/mime-types-1.19 |
56 |
+ >=dev-ruby/pygments_rb-0.4.2" |
57 |
+ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/json dev-ruby/yajl-ruby )" |
58 |
+ |
59 |
+RUBY_S="linguist-${PV}" |
60 |
+ |
61 |
+all_ruby_prepare() { |
62 |
+ # rename to avoid collision with qt's linguist |
63 |
+ mv bin/{,gh-}linguist || die "renaming linguist failed" |
64 |
+} |