summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-04-25 08:40:59 +0000
committerHans de Graaff <graaff@gentoo.org>2011-04-25 08:40:59 +0000
commit7a095e89c911459049d7a2c14453f44c222225fc (patch)
tree266a27ed04b500e94fcf9f3fca1018aee0eb8499 /dev-ruby/jeweler
parentHandle case where RUBY_S is not provided. (diff)
downloadgentoo-2-7a095e89c911459049d7a2c14453f44c222225fc.tar.gz
gentoo-2-7a095e89c911459049d7a2c14453f44c222225fc.tar.bz2
gentoo-2-7a095e89c911459049d7a2c14453f44c222225fc.zip
Remove git from gemspec since we don't provide this and it breaks loading of jeweler when referenced in the gemspec.
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/jeweler')
-rw-r--r--dev-ruby/jeweler/ChangeLog8
-rw-r--r--dev-ruby/jeweler/jeweler-1.5.2-r1.ebuild45
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-ruby/jeweler/ChangeLog b/dev-ruby/jeweler/ChangeLog
index 5b811f21dd30..ee10cf2bdbbd 100644
--- a/dev-ruby/jeweler/ChangeLog
+++ b/dev-ruby/jeweler/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/jeweler
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jeweler/ChangeLog,v 1.6 2011/04/11 18:26:50 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jeweler/ChangeLog,v 1.7 2011/04/25 08:40:59 graaff Exp $
+
+*jeweler-1.5.2-r1 (25 Apr 2011)
+
+ 25 Apr 2011; Hans de Graaff <graaff@gentoo.org> +jeweler-1.5.2-r1.ebuild:
+ Remove git from gemspec since we don't provide this and it breaks loading
+ of jeweler when referenced in the gemspec.
11 Apr 2011; Hans de Graaff <graaff@gentoo.org> jeweler-1.5.2.ebuild:
Remove unused targets from Rakefile that require additional dependencies.
diff --git a/dev-ruby/jeweler/jeweler-1.5.2-r1.ebuild b/dev-ruby/jeweler/jeweler-1.5.2-r1.ebuild
new file mode 100644
index 000000000000..af23489a70e9
--- /dev/null
+++ b/dev-ruby/jeweler/jeweler-1.5.2-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jeweler/jeweler-1.5.2-r1.ebuild,v 1.1 2011/04/25 08:40:59 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 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 )"
+
+# We do not depend on 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
+}