Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/best_in_place: best_in_place-2.1.0.ebuild ChangeLog
Date: Sun, 24 Feb 2013 12:53:41
Message-Id: 20130224125337.B70ED2171D@flycatcher.gentoo.org
1 flameeyes 13/02/24 12:53:37
2
3 Modified: ChangeLog
4 Added: best_in_place-2.1.0.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
9
10 Revision Changes Path
11 1.12 dev-ruby/best_in_place/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/best_in_place/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/best_in_place/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/best_in_place/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 23 Feb 2013 11:03:58 -0000 1.11
24 +++ ChangeLog 24 Feb 2013 12:53:37 -0000 1.12
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-ruby/best_in_place
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/ChangeLog,v 1.11 2013/02/23 11:03:58 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/ChangeLog,v 1.12 2013/02/24 12:53:37 flameeyes Exp $
30 +
31 +*best_in_place-2.1.0 (24 Feb 2013)
32 +
33 + 24 Feb 2013; Diego E. Pettenò <flameeyes@g.o>
34 + +best_in_place-2.1.0.ebuild:
35 + Version bump.
36
37 23 Feb 2013; Hans de Graaff <graaff@g.o> -best_in_place-1.1.2.ebuild:
38 Cleanup.
39
40
41
42 1.1 dev-ruby/best_in_place/best_in_place-2.1.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/best_in_place/best_in_place-2.1.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/best_in_place/best_in_place-2.1.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: best_in_place-2.1.0.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/best_in_place/best_in_place-2.1.0.ebuild,v 1.1 2013/02/24 12:53:37 flameeyes Exp $
52
53 EAPI=4
54 USE_RUBY="ruby18 ruby19"
55
56 RUBY_FAKEGEM_TASK_DOC=""
57 RUBY_FAKEGEM_EXTRADOC="README.md"
58
59 RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
60
61 # if ever needed
62 #GITHUB_USER="bernat"
63 #GITHUB_PROJECT="${PN}"
64 #RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
65
66 inherit virtualx ruby-fakegem
67
68 DESCRIPTION="In-place editor helper for Rails 3"
69 HOMEPAGE="http://github.com/bernat/best_in_place"
70
71 LICENSE="MIT"
72 SLOT="3"
73 KEYWORDS="~amd64"
74 IUSE=""
75
76 ruby_add_rdepend ">=dev-ruby/rails-3.1
77 dev-ruby/jquery-rails"
78
79 ruby_add_bdepend "
80 test? (
81 dev-ruby/rspec-rails
82 >=dev-ruby/nokogiri-1.5.0
83 >=dev-ruby/capybara-1.1.2
84 >=dev-ruby/rails-3.2
85 >=dev-ruby/sqlite3-1.3.4-r1
86 dev-ruby/kramdown
87 )"
88
89 DEPEND+=" test? ( www-client/firefox dev-ruby/bundler )"
90
91 all_ruby_prepare() {
92 epatch "${FILESDIR}"/${PN}-1.1.0-kramdown.patch
93
94 sed -i \
95 -e '/git ls-files/d' \
96 -e '/rspec-rails/s:,.*::' \
97 ${RUBY_FAKEGEM_GEMSPEC} || die
98
99 sed -i \
100 -e '/gem .rails/s:3.2: ~> 3.2:' \
101 -e '/group :assets/,/^end/ d' \
102 test_app/Gemfile || die
103 }
104
105 each_ruby_test() {
106 RAILS_ENV=test ${RUBY} -C test_app -S rake db:migrate || die "test_app migration failed"
107 VIRTUALX_COMMAND="${RUBY}" virtualmake -S bundle exec rspec spec || die "Specs failed"
108 }