From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/minitest: minitest-4.3.2.ebuild ChangeLog |
Date: | Sat, 01 Dec 2012 07:23:08 |
Message-Id: | 20121201072253.9083121655@flycatcher.gentoo.org |
1 | graaff 12/12/01 07:22:53 |
2 | |
3 | Modified: ChangeLog |
4 | Added: minitest-4.3.2.ebuild |
5 | Log: |
6 | Version bump. Run tests directly to avoid dependencies on hoe and rdoc. |
7 | |
8 | (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
9 | |
10 | Revision Changes Path |
11 | 1.85 dev-ruby/minitest/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/ChangeLog?rev=1.85&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/ChangeLog?rev=1.85&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/ChangeLog?r1=1.84&r2=1.85 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v |
20 | retrieving revision 1.84 |
21 | retrieving revision 1.85 |
22 | diff -u -r1.84 -r1.85 |
23 | --- ChangeLog 6 Nov 2012 16:52:41 -0000 1.84 |
24 | +++ ChangeLog 1 Dec 2012 07:22:53 -0000 1.85 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-ruby/minitest |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v 1.84 2012/11/06 16:52:41 jer Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v 1.85 2012/12/01 07:22:53 graaff Exp $ |
30 | + |
31 | +*minitest-4.3.2 (01 Dec 2012) |
32 | + |
33 | + 01 Dec 2012; Hans de Graaff <graaff@g.o> +minitest-4.3.2.ebuild: |
34 | + Version bump. Run tests directly to avoid dependencies on hoe and rdoc. |
35 | |
36 | 06 Nov 2012; Jeroen Roovers <jer@g.o> minitest-2.12.1.ebuild: |
37 | Stable for HPPA (bug #411507). |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/minitest/minitest-4.3.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/minitest-4.3.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/minitest-4.3.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: minitest-4.3.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/minitest-4.3.2.ebuild,v 1.1 2012/12/01 07:22:53 graaff Exp $ |
51 | |
52 | EAPI=4 |
53 | # jruby → tests fail, reported upstream |
54 | # http://rubyforge.org/tracker/index.php?func=detail&aid=27657&group_id=1040&atid=4097 |
55 | USE_RUBY="ruby18 ruby19 ree18 jruby" |
56 | |
57 | RUBY_FAKEGEM_TASK_DOC="docs" |
58 | |
59 | RUBY_FAKEGEM_DOCDIR="doc" |
60 | RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt" |
61 | |
62 | inherit ruby-fakegem |
63 | |
64 | DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit." |
65 | HOMEPAGE="https://github.com/seattlerb/minitest" |
66 | |
67 | LICENSE="MIT" |
68 | SLOT="0" |
69 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
70 | IUSE="doc test" |
71 | |
72 | ruby_add_bdepend " |
73 | doc? ( dev-ruby/hoe dev-ruby/rdoc )" |
74 | |
75 | each_ruby_prepare() { |
76 | case ${RUBY} in |
77 | *jruby) |
78 | # Remove failing tests. Upstream claims that these are all |
79 | # bugs in jruby. By removing the failing tests we can at |
80 | # least run the remainder. See bug 321055 for details. |
81 | rm -f test/minitest/test_minitest_unit.rb || die |
82 | # Also add minitest_mock since there are jruby-specific failures. |
83 | rm -f test/minitest/test_minitest_mock.rb || die |
84 | |
85 | # Our jruby throws a slightly different error |
86 | sed -i -e 's/not :xxx/not \\"xxx\\"/' test/minitest/test_minitest_spec.rb || die |
87 | ;; |
88 | *) |
89 | ;; |
90 | esac |
91 | } |
92 | |
93 | each_ruby_test() { |
94 | case ${RUBY} in |
95 | *jruby) |
96 | # JRuby 1.6.x has threading bugs that are triggered by |
97 | # minitests 4's new parallel test support. Should be fixed |
98 | # in JRuby 1.7. |
99 | N=1 ${RUBY} -Ilib:bin:test:. -S testrb test || die |
100 | ;; |
101 | *) |
102 | ${RUBY} -Ilib:bin:test:. -S testrb test || die |
103 | ;; |
104 | esac |
105 | } |