diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-04-01 19:28:38 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-04-01 19:28:38 +0000 |
commit | ad279e939d714aaf22a447e33344885d3df976fc (patch) | |
tree | 37248ef607a94fa22dee462eb755fc1e7862a250 /dev-ruby/bluecloth | |
parent | Fix for BFQ patchset PATCH_DEPTH (diff) | |
download | gentoo-2-ad279e939d714aaf22a447e33344885d3df976fc.tar.gz gentoo-2-ad279e939d714aaf22a447e33344885d3df976fc.tar.bz2 gentoo-2-ad279e939d714aaf22a447e33344885d3df976fc.zip |
Add ruby21. Drop alpha, sparc keywords: bug 465948.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/bluecloth')
-rw-r--r-- | dev-ruby/bluecloth/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild | 52 |
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-ruby/bluecloth/ChangeLog b/dev-ruby/bluecloth/ChangeLog index 908baccf7b43..7baacac88373 100644 --- a/dev-ruby/bluecloth/ChangeLog +++ b/dev-ruby/bluecloth/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/bluecloth # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bluecloth/ChangeLog,v 1.74 2014/01/02 07:45:09 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bluecloth/ChangeLog,v 1.75 2014/04/01 19:28:38 graaff Exp $ + +*bluecloth-2.2.0-r2 (01 Apr 2014) + + 01 Apr 2014; Hans de Graaff <graaff@gentoo.org> +bluecloth-2.2.0-r2.ebuild: + Add ruby21. Drop alpha, sparc keywords: bug 465948. 02 Jan 2014; Hans de Graaff <graaff@gentoo.org> bluecloth-2.2.0.ebuild, bluecloth-2.2.0-r1.ebuild: diff --git a/dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild b/dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild new file mode 100644 index 000000000000..1061dcd640e6 --- /dev/null +++ b/dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bluecloth/bluecloth-2.2.0-r2.ebuild,v 1.1 2014/04/01 19:28:38 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby18 ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" + +RUBY_FAKEGEM_TASK_TEST="spec" + +inherit ruby-fakegem eutils + +DESCRIPTION="A Ruby implementation of Markdown" +HOMEPAGE="http://www.deveiate.org/projects/BlueCloth" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +DEPEND+=" doc? ( dev-lang/perl )" + +ruby_add_bdepend " + dev-ruby/rake-compiler + test? ( + dev-ruby/hoe + dev-ruby/diff-lcs + dev-ruby/tidy-ext + )" + +all_ruby_prepare() { + # for Ruby 1.9.2 compatibility + sed -i -e '1i $: << "."' Rakefile || die +} + +all_ruby_compile() { + rake man/man1/bluecloth.1 || die + + all_fakegem_compile +} + +each_ruby_compile() { + ${RUBY} -S rake compile || die "extension build failed" +} + +all_ruby_install() { + doman man/man1/bluecloth.1 + + all_fakegem_install +} |