[cairo-commit] rcairo ChangeLog,1.124,1.125 Rakefile,1.1,1.2

Kouhei Sutou commit at pdx.freedesktop.org
Fri Apr 13 06:15:48 PDT 2007


Committed by: kou

Update of /cvs/cairo/rcairo
In directory kemper:/tmp/cvs-serv5512

Modified Files:
	ChangeLog Rakefile 
Log Message:
* Rakefile: supported 'rake release'.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/rcairo/ChangeLog,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- ChangeLog	13 Apr 2007 12:35:13 -0000	1.124
+++ ChangeLog	13 Apr 2007 13:15:39 -0000	1.125
@@ -1,5 +1,7 @@
 2007-04-13  Kouhei Sutou  <kou at cozmixng.org>
 
+	* Rakefile: supported 'rake release'.
+
 	* extconf.rb, Rakefile: supported RubyGems.
 
 2007-04-08  Kouhei Sutou  <kou at cozmixng.org>

Index: Rakefile
===================================================================
RCS file: /cvs/cairo/rcairo/Rakefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Rakefile	12 Apr 2007 12:45:11 -0000	1.1
+++ Rakefile	13 Apr 2007 13:15:39 -0000	1.2
@@ -21,7 +21,7 @@
 base_dir_included_components = %w(AUTHORS COPYING ChangeLog GPL
                                   NEWS README Rakefile
                                   extconf.rb pkg-config.rb)
-excluded_components = %w(.cvsignore .gdb_history CVS depend Makefile)
+excluded_components = %w(.cvsignore .gdb_history CVS depend Makefile pkg)
 excluded_suffixes = %w(.png .ps .pdf .o .so .txt)
 Find.find(base_dir) do |target|
   target = truncate_base_dir[target]
@@ -41,7 +41,8 @@
   FileUtils.rm_f(manifest)
 end
 
-project = Hoe.new('cairo', Cairo.bindings_version) do |project|
+ENV["VERSION"] ||= Cairo.bindings_version
+project = Hoe.new('cairo', ENV["VERSION"]) do |project|
   project.rubyforge_name = 'cairo'
   authors = File.join(base_dir, "AUTHORS")
   project.author = File.readlines(authors).collect do |line|
@@ -63,6 +64,7 @@
   news = File.join(base_dir, "NEWS")
   project.changes = project.paragraphs_of(news, 0..1).join("\n\n")
   project.description = "Ruby bindings for cairo"
+  project.need_tar = false
 end
 
 project.spec.dependencies.delete_if {|dependency| dependency.name == "hoe"}



More information about the cairo-commit mailing list