1 |
mrueg 14/06/28 23:14:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pygments_rb-0.6.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key ) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 dev-ruby/pygments_rb/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pygments_rb/ChangeLog?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pygments_rb/ChangeLog?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pygments_rb/ChangeLog?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/pygments_rb/ChangeLog,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- ChangeLog 7 Apr 2014 13:10:26 -0000 1.1 |
24 |
+++ ChangeLog 28 Jun 2014 23:14:15 -0000 1.2 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ruby/pygments_rb |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pygments_rb/ChangeLog,v 1.1 2014/04/07 13:10:26 mrueg Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pygments_rb/ChangeLog,v 1.2 2014/06/28 23:14:15 mrueg Exp $ |
30 |
+ |
31 |
+*pygments_rb-0.6.0 (28 Jun 2014) |
32 |
+ |
33 |
+ 28 Jun 2014; Manuel RĂ¼ger <mrueg@g.o> +pygments_rb-0.6.0.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*pygments_rb-0.5.4 (07 Apr 2014) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/pygments_rb/pygments_rb-0.6.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pygments_rb/pygments_rb-0.6.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/pygments_rb/pygments_rb-0.6.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pygments_rb-0.6.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pygments_rb/pygments_rb-0.6.0.ebuild,v 1.1 2014/06/28 23:14:15 mrueg Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
USE_RUBY="ruby19" |
55 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
56 |
|
57 |
RUBY_FAKEGEM_NAME="pygments.rb" |
58 |
MY_P="${RUBY_FAKEGEM_NAME}-${PV}" |
59 |
|
60 |
RUBY_FAKEGEM_RECIPE_TEST="rake" |
61 |
RUBY_FAKEGEM_RECIPE_DOC="none" |
62 |
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
63 |
|
64 |
inherit ruby-fakegem python-single-r1 |
65 |
|
66 |
DESCRIPTION="pygments syntax highlighting in ruby" |
67 |
HOMEPAGE="https://github.com/tmm1/pygments.rb" |
68 |
|
69 |
LICENSE="MIT" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64" |
72 |
IUSE="" |
73 |
REQUIRED_USE+=" ${PYTHON_REQUIRED_USE}" |
74 |
|
75 |
RUBY_S="${MY_P}" |
76 |
|
77 |
RDEPEND+=" dev-python/pygments[${PYTHON_USEDEP}] |
78 |
dev-python/simplejson[${PYTHON_USEDEP}]" |
79 |
DEPEND+=" test? ( ${RDEPEND} )" |
80 |
|
81 |
ruby_add_rdepend ">=dev-ruby/yajl-ruby-1.1 |
82 |
dev-ruby/posix-spawn" |
83 |
ruby_add_bdepend "dev-ruby/rake-compiler" |
84 |
|
85 |
pkg_setup() { |
86 |
ruby-ng_pkg_setup |
87 |
python-single-r1_pkg_setup |
88 |
} |
89 |
|
90 |
all_ruby_prepare() { |
91 |
sed -i -e '/[Bb]undler/d' Rakefile || die "sed failed" |
92 |
python_fix_shebang lib/pygments/mentos.py |
93 |
# we are loosing a "custom github lexer here", no idea what it is, |
94 |
# but if we need it, it should go into dev-python/pygments |
95 |
rm -r vendor lexers || die "removing bundled libs failed" |
96 |
} |
97 |
|
98 |
each_ruby_compile() { |
99 |
# regenerate the lexer cache, based on the system pygments pkg |
100 |
${RUBY} cache-lexers.rb || die "regenerating lexer cache failed" |
101 |
} |
102 |
|
103 |
each_ruby_install() { |
104 |
each_fakegem_install |
105 |
ruby_fakegem_doins lexers |
106 |
} |