]> Pileus Git - ~andy/sunrise/commitdiff
dev-ruby/ruby-gd2: Don't install the COPYING (COPYING.html) file with rdoc (by using...
authorNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>
Fri, 22 Oct 2010 16:03:15 +0000 (16:03 +0000)
committerNathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net>
Fri, 22 Oct 2010 16:03:15 +0000 (16:03 +0000)
(Portage version: 2.2_rc96-r1/svn/Linux x86_64)

svn path=/sunrise/; revision=11454

dev-ruby/ruby-gd2/ChangeLog
dev-ruby/ruby-gd2/files/ruby-gd2-1.1.1-raketasks-gentoo.patch [new file with mode: 0644]
dev-ruby/ruby-gd2/ruby-gd2-1.1.1-r1.ebuild

index 62e0abc268582e5b4dcaad0d270f446d30905181..fb1c779736abff1782711d3a97ae6a5c5e59f7d3 100644 (file)
@@ -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 (file)
index 0000000..30700f8
--- /dev/null
@@ -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
index 02af0c59130b65dc277789eac80810070864dfdd..7891414d9374e26676a94f27d6c150719599b730 100644 (file)
@@ -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 )