[20741] trunk/dports/ruby

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 24 12:19:43 PST 2006


Revision: 20741
          http://trac.macosforge.org/projects/macports/changeset/20741
Author:   pguyot at kallisys.net
Date:     2006-11-24 12:19:42 -0800 (Fri, 24 Nov 2006)

Log Message:
-----------
New port: ruby/rb-technorati 0.1.0
With fix.

Added Paths:
-----------
    trunk/dports/ruby/rb-technorati/
    trunk/dports/ruby/rb-technorati/Portfile
    trunk/dports/ruby/rb-technorati/files/
    trunk/dports/ruby/rb-technorati/files/patch-technorati.rb

Added: trunk/dports/ruby/rb-technorati/Portfile
===================================================================
--- trunk/dports/ruby/rb-technorati/Portfile	                        (rev 0)
+++ trunk/dports/ruby/rb-technorati/Portfile	2006-11-24 20:19:42 UTC (rev 20741)
@@ -0,0 +1,18 @@
+# $Id$
+
+PortSystem			1.0
+PortGroup			ruby 1.0
+ruby.setup			Technorati-Ruby 0.1.0 gem {} rubyforge_gem
+maintainers			pguyot at kallisys.net
+description			Technorati(http://technorati.com/) bindings for Ruby.
+long_description	${description}
+checksums			md5 61469d73ade821ef239ba9ee43d2ec21 \
+					sha1 c2a8b21e758e5ddfd1b024dff3da44c9ccac3021 \
+					rmd160 8d64d0d9609b5727494ad705ac0b46dfa795fad6
+homepage			http://www.pablotron.org/software/technorati-ruby/
+
+# Fix a bug in the code.
+# Cf ${homepage}
+post-destroot {
+	system "cd ${workpath} && patch -p1 < ${portpath}/${filesdir}/patch-technorati.rb"
+}


Property changes on: trunk/dports/ruby/rb-technorati/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/ruby/rb-technorati/files/patch-technorati.rb
===================================================================
--- trunk/dports/ruby/rb-technorati/files/patch-technorati.rb	                        (rev 0)
+++ trunk/dports/ruby/rb-technorati/files/patch-technorati.rb	2006-11-24 20:19:42 UTC (rev 20741)
@@ -0,0 +1,10 @@
+--- work/destroot/opt/local/lib/ruby/gems/1.8/gems/Technorati-Ruby-0.1.0/technorati.rb	2006-11-25 05:18:37.000000000 +0900
++++ technorati.rb	2006-11-25 05:19:44.000000000 +0900
+@@ -481,6 +481,7 @@
+     args = ["key=#@key", "url=#{url.uri_escape}"]
+     ret = get('bloginfo', '/bloginfo?' << args.compact.join('&'))
+     ret.delete('items')
++    ret
+   end
+ 
+ end

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061124/7c36fa74/attachment.html


More information about the macports-changes mailing list