diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-07-05 23:35:42 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-07-05 23:35:42 +0000 |
commit | a156c83fcfa8a16c27c8ea3da35c1ea339cece1d (patch) | |
tree | 1a84f89d4d32354803f5a1f8eb72e6bf4704c61d /dev-ruby/jeweler/jeweler-1.8.4.ebuild | |
parent | Version bump, removes the 'tags' item from the context menu first level (it's... (diff) | |
download | historical-a156c83fcfa8a16c27c8ea3da35c1ea339cece1d.tar.gz historical-a156c83fcfa8a16c27c8ea3da35c1ea339cece1d.tar.bz2 historical-a156c83fcfa8a16c27c8ea3da35c1ea339cece1d.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/jeweler/jeweler-1.8.4.ebuild')
-rw-r--r-- | dev-ruby/jeweler/jeweler-1.8.4.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/jeweler/jeweler-1.8.4.ebuild b/dev-ruby/jeweler/jeweler-1.8.4.ebuild new file mode 100644 index 000000000000..949f8783e70e --- /dev/null +++ b/dev-ruby/jeweler/jeweler-1.8.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jeweler/jeweler-1.8.4.ebuild,v 1.1 2012/07/05 23:35:42 flameeyes Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_TASK_DOC="yard" +RUBY_FAKEGEM_DOCDIR="doc" + +# Tests and features also need the same set of dependencies present. +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.markdown README.markdown" + +RUBY_FAKEGEM_GEMSPEC="jeweler.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Rake tasks for managing gems and versioning and a generator for creating a new project" +HOMEPAGE="http://wiki.github.com/technicalpickles/jeweler" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +ruby_add_rdepend "dev-ruby/bundler" + +# We do not depend on all runtime dependencies since the usage of jeweler in +# Rakefile's does not require this. However, the generator does, but it +# depends on gems that are obsolete and not supported in Gentoo. + +all_ruby_prepare() { + # Remove bundler support. + rm Gemfile Gemfile.lock || die + sed -i -e '/bundler/d' -e '/Bundler.setup/d' Rakefile test/test_helper.rb features/support/env.rb || die + + # Remove (currently) unused targets from the Rakefile that require + # additional dependencies. + sed -i -e '/rcov/,$d' Rakefile || die + + # Remove a runtime dependency that we can't satisfy. + sed -i -e '/<git>/d' jeweler.gemspec || die +} |