/[gentoo-x86]/dev-ruby/coderay/coderay-1.1.0-r2.ebuild
Gentoo

Contents of /dev-ruby/coderay/coderay-1.1.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Aug 13 18:39:15 2014 UTC (3 months, 1 week ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Add ~sparc wrt #468536

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF6AD3240)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/coderay/coderay-1.1.0-r2.ebuild,v 1.3 2014/08/05 16:00:34 mrueg Exp $
4
5 EAPI=5
6
7 USE_RUBY="ruby19 ruby20 ruby21 jruby"
8
9 # The test target also contains test:exe but that requires
10 # shoulda-context which we do not have packaged yet.
11 RUBY_FAKEGEM_TASK_TEST="test:functional test:units"
12
13 RUBY_FAKEGEM_TASK_DOC="doc"
14 RUBY_FAKEGEM_DOCDIR="doc"
15
16 RUBY_FAKEGEM_EXTRADOC="Changes-pre-1.0.textile Changes.textile FOLDERS README_INDEX.rdoc README.markdown"
17
18 inherit ruby-fakegem
19
20 DESCRIPTION="A Ruby library for syntax highlighting"
21 HOMEPAGE="http://coderay.rubychan.de/"
22 SRC_URI="https://github.com/rubychan/coderay/archive/v${PV}.tar.gz -> ${P}.tar.gz"
23
24 LICENSE="MIT"
25 SLOT="0"
26 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
27 IUSE=""
28
29 # Redcloth is optional but automagically tested, so we add this
30 # dependency to ensure that we get at least a version that works: bug
31 # 330621. We use this convoluted way because redcloth isn't available
32 # yet for jruby.
33 USE_RUBY="${USE_RUBY/jruby/}" ruby_add_bdepend "test? ( >=dev-ruby/redcloth-4.2.2 )"
34
35 all_ruby_prepare() {
36 sed -i -e "/[Bb]undler/d" Rakefile || die
37 sed -i -e '/git ls-files/ s:^:#:' coderay.gemspec || die
38 }

  ViewVC Help
Powered by ViewVC 1.1.20