/[gentoo-x86]/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.5.3-r2.ebuild
Gentoo

Contents of /dev-ruby/archive-tar-minitar/archive-tar-minitar-0.5.3-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jun 26 18:16:59 2012 UTC (2 years, 2 months ago) by graaff
Branch: MAIN
Changes since 1.1: +11 -2 lines
Remove non-existing all_fakegem_prepare. Document some unexpected things. Add test scenario and link to upstream bug about current failures.

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/archive-tar-minitar/archive-tar-minitar-0.5.3-r2.ebuild,v 1.1 2012/06/15 14:22:57 flameeyes Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ree18 ruby19 jruby"
7
8 RUBY_FAKEGEM_TASK_TEST=""
9 RUBY_FAKEGEM_TASK_DOC=""
10
11 RUBY_FAKEGEM_EXTRADOC="README ChangeLog"
12
13 # We don't use RUBY_FAKEGEM_NAME here since for now we want to keep the
14 # same gem name.
15
16 inherit ruby-fakegem
17
18 DESCRIPTION="Provides POSIX tarchive management from Ruby programs."
19 HOMEPAGE="http://rubyforge.org/projects/ruwiki/"
20 SRC_URI="mirror://rubygems/minitar-${PV}.gem"
21
22 LICENSE="|| ( GPL-2 Ruby )"
23 SLOT="0"
24 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
25 IUSE=""
26
27 # Tests are broken but this was already the case with 0.5.2 and it seems
28 # that only the test case is broken:
29 # https://github.com/halostatue/minitar/issues/9
30 RESTRICT="test"
31
32 RUBY_PATCHES=(
33 ${PN}-0.5.2-gentoo.patch
34 ${P}-pipes.patch
35 )
36
37 all_ruby_prepare() {
38 # ignore faulty metadata
39 rm ../metadata
40 }
41
42 each_ruby_test() {
43 ${RUBY} -Itests -Ctests testall.rb || die
44 }

  ViewVC Help
Powered by ViewVC 1.1.20