Gentoo Archives: gentoo-commits

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