1 |
commit: 10faf5a212b982f4565a54b7c65a8fa137feb29f |
2 |
Author: Tiziano Müller <tm <AT> dev-zero <DOT> ch> |
3 |
AuthorDate: Tue Jul 2 12:54:15 2013 +0000 |
4 |
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 2 12:54:15 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=10faf5a2 |
7 |
|
8 |
Add deps for github-linguists. |
9 |
|
10 |
--- |
11 |
dev-ruby/escape_utils/Manifest | 2 + |
12 |
dev-ruby/escape_utils/escape_utils-0.3.2.ebuild | 30 ++++++++++++ |
13 |
dev-ruby/pygments_rb/Manifest | 2 + |
14 |
dev-ruby/pygments_rb/pygments_rb-0.5.1.ebuild | 61 +++++++++++++++++++++++++ |
15 |
4 files changed, 95 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/escape_utils/Manifest b/dev-ruby/escape_utils/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..f74e99e |
20 |
--- /dev/null |
21 |
+++ b/dev-ruby/escape_utils/Manifest |
22 |
@@ -0,0 +1,2 @@ |
23 |
+DIST escape_utils-0.3.2.tar.gz 23037 SHA256 a978f94386a43f28edad0c42b00669946f48a26a626e3429e9767611a2a664a2 SHA512 569997ac635b0a9eaf289426204f0bfe0e8d9a900c2f6e3425d3bfedb184eeb57b058ebf760dcb89e9d00e995bcd1b6d034c5b9ba9ebd300d258bd6816fdd2ee WHIRLPOOL d04a891550d871880411106ef37c2e9f7d1e8a0b306cd30a139af6e3e3b44dd51277f6f1a6045e402b28fcd803915ce9b8a5a8b2de048cef4b90fe07f00fe464 |
24 |
+EBUILD escape_utils-0.3.2.ebuild 780 SHA256 416363bdf5b31afa16886f3d12130f580831227c8584c7cff84ece94d7c0ce50 SHA512 5877e1de411eca1477f77ffc7e30089047fcfe7be6a30b5b505afde3a3b33a5890f35850d3780530a8d8a4f43aa2141cb06ec71c754cb00c508f67ec0948384a WHIRLPOOL 9b0286379bc1cf97d6f6f68e8b1c569a04c306ce610e0c78dc17388ca174e6a236d48001f37123ea7cfc5e74bf21b5de3d6ddeaac94950baac44eee6fc2246e2 |
25 |
|
26 |
diff --git a/dev-ruby/escape_utils/escape_utils-0.3.2.ebuild b/dev-ruby/escape_utils/escape_utils-0.3.2.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..a3e6d59 |
29 |
--- /dev/null |
30 |
+++ b/dev-ruby/escape_utils/escape_utils-0.3.2.ebuild |
31 |
@@ -0,0 +1,30 @@ |
32 |
+# Copyright 1999-2013 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Header: $ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+USE_RUBY="ruby19" |
38 |
+ |
39 |
+RUBY_FAKEGEM_RECIPE_TEST="rake" |
40 |
+RUBY_FAKEGEM_RECIPE_DOC="none" |
41 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
42 |
+ |
43 |
+inherit ruby-fakegem |
44 |
+ |
45 |
+DESCRIPTION="Faster string escaping routines for your web apps" |
46 |
+HOMEPAGE="https://github.com/brianmario/escape_utils" |
47 |
+SRC_URI="https://github.com/brianmario/escape_utils/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64" |
52 |
+IUSE="" |
53 |
+ |
54 |
+ruby_add_bdepend ">=dev-ruby/rake-compiler-0.7.5 test? ( dev-ruby/minitest )" |
55 |
+ |
56 |
+each_ruby_compile() { |
57 |
+ ${RUBY} -S rake compile || die "rake compile failed" |
58 |
+} |
59 |
+all_ruby_prepare() { |
60 |
+ sed -i -e '/[Bb]undler/d' test/helper.rb || die "sed failed" |
61 |
+} |
62 |
|
63 |
diff --git a/dev-ruby/pygments_rb/Manifest b/dev-ruby/pygments_rb/Manifest |
64 |
new file mode 100644 |
65 |
index 0000000..631616b |
66 |
--- /dev/null |
67 |
+++ b/dev-ruby/pygments_rb/Manifest |
68 |
@@ -0,0 +1,2 @@ |
69 |
+DIST pygments.rb-0.5.1.gem 1490432 SHA256 3e748c4abd5f862f23e523b0d1c4f3e10fe115331f43a17ba4b425fe0320932c SHA512 cde638f2987339f71f55f74b117d0c1d6966bec20b137a6665fed9793fa56fa7c1637bb5b6fdd92e3c006626d7cba0789019e2d1a018b07a11bb55b3f890f00e WHIRLPOOL bc83a94acf86f0a7876b0345b023ea51b52821a41184261eefc49d8a9db22f9f4657dd607f19d671f745411e8255b9117a34615b0e40fea3579857604b7c6775 |
70 |
+EBUILD pygments_rb-0.5.1.ebuild 1546 SHA256 5712adfda73f71ec1e2df57e58f543f2143dc1fe70e2ae34d7f611588eac7523 SHA512 975772095cc4ca314e2d303645a20b86a9c79550baaf58a6f2c56c58167c7176d00af481abab254c2e2a33b2e92e745cd08e50ea3f18f77f012e1f2bc0fb28a6 WHIRLPOOL 099ee1c4c5f50cdf78c076bc44fbeeedace0ab4f93d6caa56a46f9a6bcd7e97b67d4cdfb6fc99d76b76e0a9a9edd359a6cbb459544f1d76cae177407ec305f76 |
71 |
|
72 |
diff --git a/dev-ruby/pygments_rb/pygments_rb-0.5.1.ebuild b/dev-ruby/pygments_rb/pygments_rb-0.5.1.ebuild |
73 |
new file mode 100644 |
74 |
index 0000000..d62d584 |
75 |
--- /dev/null |
76 |
+++ b/dev-ruby/pygments_rb/pygments_rb-0.5.1.ebuild |
77 |
@@ -0,0 +1,61 @@ |
78 |
+# Copyright 1999-2013 Gentoo Foundation |
79 |
+# Distributed under the terms of the GNU General Public License v2 |
80 |
+# $Header: $ |
81 |
+ |
82 |
+EAPI=5 |
83 |
+ |
84 |
+USE_RUBY="ruby19" |
85 |
+PYTHON_COMPAT=( python{2_5,2_6,2_7} ) |
86 |
+ |
87 |
+RUBY_FAKEGEM_NAME="pygments.rb" |
88 |
+MY_P="${RUBY_FAKEGEM_NAME}-${PV}" |
89 |
+ |
90 |
+RUBY_FAKEGEM_RECIPE_TEST="rake" |
91 |
+RUBY_FAKEGEM_RECIPE_DOC="none" |
92 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
93 |
+ |
94 |
+inherit ruby-fakegem python-single-r1 |
95 |
+ |
96 |
+DESCRIPTION="pygments syntax highlighting in ruby" |
97 |
+HOMEPAGE="https://github.com/tmm1/pygments.rb" |
98 |
+#SRC_URI="https://github.com/tmm1/pygments.rb/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
99 |
+# tag outdated |
100 |
+ |
101 |
+LICENSE="MIT" |
102 |
+SLOT="0" |
103 |
+KEYWORDS="~amd64" |
104 |
+IUSE="" |
105 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
106 |
+ |
107 |
+RUBY_S="${MY_P}" |
108 |
+ |
109 |
+RDEPEND="dev-python/pygments[${PYTHON_USEDEP}] |
110 |
+ dev-python/simplejson[${PYTHON_USEDEP}]" |
111 |
+DEPEND="test? ( ${RDEPEND} )" |
112 |
+ |
113 |
+ruby_add_rdepend ">=dev-ruby/yajl-ruby-1.1 >=dev-ruby/posix-spawn-0.3.6" |
114 |
+ruby_add_bdepend "dev-ruby/rake-compiler" |
115 |
+ |
116 |
+pkg_setup() { |
117 |
+ ruby-ng_pkg_setup |
118 |
+ python-single-r1_pkg_setup |
119 |
+} |
120 |
+ |
121 |
+all_ruby_prepare() { |
122 |
+ sed -i -e '/[Bb]undler/d' Rakefile || die "sed failed" |
123 |
+ python_fix_shebang lib/pygments/mentos.py |
124 |
+ |
125 |
+ # we are loosing a "custom github lexer here", no idea what it is, |
126 |
+ # but if we need it, it should go into dev-python/pygments |
127 |
+ rm -r vendor lexers || die "removing bundled libs failed" |
128 |
+} |
129 |
+ |
130 |
+each_ruby_compile() { |
131 |
+ # regenerate the lexer cache, based on the system pygments pkg |
132 |
+ ${RUBY} cache-lexers.rb || die "regenerating lexer cache failed" |
133 |
+} |
134 |
+ |
135 |
+each_ruby_install() { |
136 |
+ each_fakegem_install |
137 |
+ ruby_fakegem_doins lexers |
138 |
+} |