summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>2010-10-22 16:03:15 +0000
committerNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>2010-10-22 16:03:15 +0000
commit6d8ddf542d95bf59146ff6125628940867c561c9 (patch)
tree580f162f04e2bf6af4009f2f3e2cef3654c32b24
parentdev-util/snaked: New Ebuild for bug 342187 (diff)
downloadsunrise-6d8ddf542d95bf59146ff6125628940867c561c9.tar.gz
sunrise-6d8ddf542d95bf59146ff6125628940867c561c9.tar.bz2
sunrise-6d8ddf542d95bf59146ff6125628940867c561c9.zip
dev-ruby/ruby-gd2: Don't install the COPYING (COPYING.html) file with rdoc (by using a Gentoo-specific patch).
(Portage version: 2.2_rc96-r1/svn/Linux x86_64) svn path=/sunrise/; revision=11454
-rw-r--r--dev-ruby/ruby-gd2/ChangeLog5
-rw-r--r--dev-ruby/ruby-gd2/files/ruby-gd2-1.1.1-raketasks-gentoo.patch15
-rw-r--r--dev-ruby/ruby-gd2/ruby-gd2-1.1.1-r1.ebuild2
3 files changed, 21 insertions, 1 deletions
diff --git a/dev-ruby/ruby-gd2/ChangeLog b/dev-ruby/ruby-gd2/ChangeLog
index 62e0abc26..fb1c77973 100644
--- a/dev-ruby/ruby-gd2/ChangeLog
+++ b/dev-ruby/ruby-gd2/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 Oct 2010; Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>
+ ruby-gd2-1.1.1-r1.ebuild, +files/ruby-gd2-1.1.1-raketasks-gentoo.patch:
+ Don't install the COPYING (COPYING.html) file with rdoc (by using a
+ Gentoo-specific patch).
+
14 Oct 2010; Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>
ruby-gd2-1.1.1-r1.ebuild:
Use RUBY_PATCHES instead of all_ruby_prepare().
diff --git a/dev-ruby/ruby-gd2/files/ruby-gd2-1.1.1-raketasks-gentoo.patch b/dev-ruby/ruby-gd2/files/ruby-gd2-1.1.1-raketasks-gentoo.patch
new file mode 100644
index 000000000..30700f8ef
--- /dev/null
+++ b/dev-ruby/ruby-gd2/files/ruby-gd2-1.1.1-raketasks-gentoo.patch
@@ -0,0 +1,15 @@
+Author: Nathan Phillip Brink <ohnobinki@ohnopublishing.net>
+Date: 2010/10/22
+Purpose: Don't install COPYING.html because that duplicates information already available on a Gentoo system.
+
+diff -r b44a10b352b2 -r 381747a63004 Rakefile
+--- a/Rakefile Fri Oct 22 11:59:07 2010 -0400
++++ b/Rakefile Fri Oct 22 11:59:25 2010 -0400
+@@ -35,7 +35,7 @@
+
+ Rake::RDocTask.new do |rd|
+ rd.main = 'README'
+- rd.rdoc_files.include('README', 'COPYING', 'lib/**/*.rb')
++ rd.rdoc_files.include('README', 'lib/**/*.rb')
+ rd.options << '--all'
+ end
diff --git a/dev-ruby/ruby-gd2/ruby-gd2-1.1.1-r1.ebuild b/dev-ruby/ruby-gd2/ruby-gd2-1.1.1-r1.ebuild
index 02af0c591..7891414d9 100644
--- a/dev-ruby/ruby-gd2/ruby-gd2-1.1.1-r1.ebuild
+++ b/dev-ruby/ruby-gd2/ruby-gd2-1.1.1-r1.ebuild
@@ -23,4 +23,4 @@ RDEPEND="media-libs/gd[truetype]"
ruby_add_bdepend "doc? ( virtual/ruby-rdoc )"
-RUBY_PATCHES=( ${P}-raketasks.patch )
+RUBY_PATCHES=( ${P}-raketasks.patch ${P}-raketasks-gentoo.patch )