[137363] trunk/dports/ruby

kimuraw at macports.org kimuraw at macports.org
Wed Jun 10 07:39:12 PDT 2015


Revision: 137363
          https://trac.macports.org/changeset/137363
Author:   kimuraw at macports.org
Date:     2015-06-10 07:39:12 -0700 (Wed, 10 Jun 2015)
Log Message:
-----------
ruby/: use rubygems and download rubygems.org not rubyforge (#47984)

Modified Paths:
--------------
    trunk/dports/ruby/rb-fcgi/Portfile
    trunk/dports/ruby/rb-getopt-declare/Portfile
    trunk/dports/ruby/rb-jabber4r/Portfile
    trunk/dports/ruby/rb-lafcadio/Portfile
    trunk/dports/ruby/rb-lazylist/Portfile
    trunk/dports/ruby/rb-mocha/Portfile
    trunk/dports/ruby/rb-redcloth/Portfile
    trunk/dports/ruby/rb-rgl/Portfile
    trunk/dports/ruby/rb-sqlite/Portfile
    trunk/dports/ruby/rb-stream/Portfile
    trunk/dports/ruby/rb-text-format/Portfile

Modified: trunk/dports/ruby/rb-fcgi/Portfile
===================================================================
--- trunk/dports/ruby/rb-fcgi/Portfile	2015-06-10 13:58:14 UTC (rev 137362)
+++ trunk/dports/ruby/rb-fcgi/Portfile	2015-06-10 14:39:12 UTC (rev 137363)
@@ -4,19 +4,19 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		{fcgi ruby-fcgi} 0.8.7 install.rb {README} rubyforge:11368
+ruby.setup		fcgi 0.8.7 gem {} rubygems
+revision        1
 maintainers		icongarden.com:jstetser
 description		The Ruby interface to FastCGI
 long_description	FastCGI is a language independent, scalable, open \
 					extension  to CGI that provides high performance \
 					without the limitations of server specific APIs. \
 					This is the Ruby interface.
+homepage            http://github.com/alphallc/ruby-fcgi-ng
 categories-append	www
-checksums           md5     fe4d4a019785e8108668a3e81a5df5e1 \
-                    sha1    724d01553d35738268b13a93df1b5bb01f2d2b81 \
-                    rmd160  c52e55fa75b8ee3371d6bc92130eb056173205ed
+checksums           md5     a93eee7bb92ea535d0f304b1099545f7 \
+                    sha1    16ef71a7639c06ebf56af1990ea2e0beda63316b \
+                    rmd160  25707cceb2795be9740add51b6a9ca4463166eee
 platforms		darwin
 
 depends_lib-append	lib:libfcgi.2:fcgi
-
-destroot.args	--prefix=${destroot}

Modified: trunk/dports/ruby/rb-getopt-declare/Portfile
===================================================================
--- trunk/dports/ruby/rb-getopt-declare/Portfile	2015-06-10 13:58:14 UTC (rev 137362)
+++ trunk/dports/ruby/rb-getopt-declare/Portfile	2015-06-10 14:39:12 UTC (rev 137363)
@@ -3,10 +3,8 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		getopt-declare 1.09.7 basic_install.rb \
-				{Declare.rdoc doc samples} \
-				rubyforge:311:getoptdeclare
-revision		1
+ruby.setup		getopt-declare 1.09.7 gem {} rubygems
+revision		2
 license			Artistic-1 Permissive
 maintainers		nomaintainer
 description		Declaratively Expressed Command-Line Arguments via RegExp
@@ -15,9 +13,5 @@
 					powerful but exceptionally easy to use. It supports \
 					many options not supported by optparser or \
 					getoptlong as well as it has a simpler syntax.
-distname		getoptdeclare_v${version}
-use_zip			yes
-checksums		md5 b1ad91235915295c877a69a1d38a9815
+checksums		md5 ae54a2a6a228e23d247c45ff35b2dd4f
 platforms		darwin
-
-worksrcdir		Getopt

Modified: trunk/dports/ruby/rb-jabber4r/Portfile
===================================================================
--- trunk/dports/ruby/rb-jabber4r/Portfile	2015-06-10 13:58:14 UTC (rev 137362)
+++ trunk/dports/ruby/rb-jabber4r/Portfile	2015-06-10 14:39:12 UTC (rev 137363)
@@ -3,8 +3,7 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		jabber4r 0.6.0 basic_install.rb {README examples} rubyforge:376
-revision		2
+ruby.setup		jabber4r 0.8.0 gem {} rubygems
 license			BSD
 maintainers		nomaintainer
 description		Library allowing Ruby apps to talk to a Jabber IM system.
@@ -28,14 +27,5 @@
 					control, etc. You could use this as a communications \
 					channel backbone for a Ruby application (which is my \
 					intent).
-checksums		md5 e5e0bc060bd01389714c3598cf379e4d
+checksums		md5 6670fd5692748ade2dae5540f60825dc
 platforms		darwin
-
-worksrcdir		${ruby.module}
-
-depends_lib-append		port:rb-xmlparser
-
-configure {
-	reinplace "s|\\(USE_PARSER.*=\\).*\\(#.*\\)$|\\1 :xmlparser \\2|" \
-		${worksrcpath}/lib/jabber4r/protocol.rb
-}

Modified: trunk/dports/ruby/rb-lafcadio/Portfile
===================================================================
--- trunk/dports/ruby/rb-lafcadio/Portfile	2015-06-10 13:58:14 UTC (rev 137362)
+++ trunk/dports/ruby/rb-lafcadio/Portfile	2015-06-10 14:39:12 UTC (rev 137363)
@@ -2,7 +2,7 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		lafcadio 0.5.2 basic_install.rb {README test docs} rubyforge:2063
+ruby.setup		lafcadio 0.9.5 gem {} rubygems
 maintainers		nomaintainer
 description		    Lafcadio is an object-relational mapping layer for Ruby and MySQL. 
 long_description	Lafcadio is an object-relational mapping layer for Ruby and \
@@ -11,6 +11,5 @@
                     thinking about MySQL vagaries so you can spend more time \
                     thinking about your program's logic.
 categories-append   databases
-checksums		    md5 e621997de6eb63d4995dc93ba38db90f
-homepage            http://lafcadio.rubyforge.org/
-platforms		    darwin 
+checksums		    md5 86167cf2f12ce0409ac6922d3fc87ec0
+platforms		    darwin

Modified: trunk/dports/ruby/rb-lazylist/Portfile
===================================================================
--- trunk/dports/ruby/rb-lazylist/Portfile	2015-06-10 13:58:14 UTC (rev 137362)
+++ trunk/dports/ruby/rb-lazylist/Portfile	2015-06-10 14:39:12 UTC (rev 137363)
@@ -3,7 +3,7 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		lazylist 0.1.2 basic_install.rb {README.en examples tests} rubyforge:1599
+ruby.setup		lazylist 0.2.1 gem {} rubygems
 license			GPL-2
 maintainers		nomaintainer
 description		        Implementation of lazy lists for ruby
@@ -14,7 +14,5 @@
                         calculated on the fly and saved into the list. A value which is \
                         used for a second time is computed only once and just read out \
                         of memory for the second usage.
-checksums		        md5 90f7b26e497814ac555253435e06b8ba
-homepage                http://www.ping.de/~flori/flott/exe/session/view/ruby
+checksums		        md5 121b48bde4db3492475e17d19ade02c2
 platforms		        darwin
-extract.suffix          .tgz

Modified: trunk/dports/ruby/rb-mocha/Portfile
===================================================================
--- trunk/dports/ruby/rb-mocha/Portfile	2015-06-10 13:58:14 UTC (rev 137362)
+++ trunk/dports/ruby/rb-mocha/Portfile	2015-06-10 14:39:12 UTC (rev 137363)
@@ -3,32 +3,18 @@
 PortSystem			1.0
 PortGroup			ruby 1.0
 
-name				rb-mocha
-version				0.5.6
+ruby.setup          mocha 0.9.12 gem {} rubygems
 
-homepage			http://mocha.rubyforge.org/
-master_sites		http://rubyforge.org/frs/download.php/29657/
+homepage			http://gofreerange.com/mocha/docs
 
-distname			mocha-${version}
-extract.suffix		.tgz
-
-depends_lib			port:ruby
 maintainers			internode.on.net:arsptr
 platforms			darwin
-categories			ruby devel
+categories-append	devel
 
 description			Mocha is a library for mocking and stubbing using a syntax like that of JMock, and SchMock.
 long_description	Mocha is a library for mocking and stubbing using a syntax like that of JMock, and SchMock. \
 					One of its main advantages is that it allows you to mock and stub methods on real (non-mock) \
 					classes and instances.
-checksums			md5 ae76bad63f7c3290a5c9e0035402ab77 \
-					sha1 a01a1accc577e290550dfe0b85eb446e97ba87c1 \
-					rmd160 9d85a2788ba685b05327510898039d4a4792881b
-
-
-use_configure       no
-build {}
-destroot {
-	file mkdir "${destroot}/${ruby.lib}"
-	system "rsync -a ${worksrcpath}/lib/ ${destroot}/${ruby.lib}"
-}
+checksums			md5 1df8cca1dfc3b15a44ec3c84497cac85 \
+					sha1 9608f143af20514be95ac4385f693f9fe865acb6 \
+					rmd160 e15617c7074d1e7fea24f5344341a805bbbbc3df

Modified: trunk/dports/ruby/rb-redcloth/Portfile
===================================================================
--- trunk/dports/ruby/rb-redcloth/Portfile	2015-06-10 13:58:14 UTC (rev 137362)
+++ trunk/dports/ruby/rb-redcloth/Portfile	2015-06-10 14:39:12 UTC (rev 137363)
@@ -3,8 +3,7 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		RedCloth 3.0.4 setup.rb {doc} rubyforge:6064
-revision		1
+ruby.setup		RedCloth 4.1.9 gem {} rubygems
 maintainers		nomaintainer
 description		Textile for Ruby
 long_description	RedCloth is a module for using Textile in Ruby. \
@@ -13,15 +12,6 @@
 					converted to HTML.
 categories-append	textproc
 license			BSD
-checksums		md5 6f076b94e783149adf96102c574a233c
+checksums		md5 9d93ac98348c6dc6d743bdc61085ef0c
 platforms		darwin
 supported_archs	noarch
-
-post-patch {
-    reinplace "s|/usr/bin/ruby18|${prefix}/bin/ruby|" ${worksrcpath}/bin/redcloth
-    reinplace "s|/usr/bin/env ruby|${prefix}/bin/ruby|" ${worksrcpath}/run-tests.rb
-}
-
-test.run		yes
-test.cmd		${ruby.bin} -I./lib
-test.target		run-tests.rb

Modified: trunk/dports/ruby/rb-rgl/Portfile
===================================================================
--- trunk/dports/ruby/rb-rgl/Portfile	2015-06-10 13:58:14 UTC (rev 137362)
+++ trunk/dports/ruby/rb-rgl/Portfile	2015-06-10 14:39:12 UTC (rev 137363)
@@ -3,13 +3,12 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		    rgl 0.2.2 basic_install.rb {README examples tests} rubyforge:2175
+ruby.setup		    rgl 0.4.0 gem {} rubygems
 license		        {Ruby GPL-2}
 maintainers		    nomaintainer
 description		    RGL Ruby Graph Library
 long_description	A framework for graph data structures and algorithms
-checksums		    md5 3c87968d1c02fd18af5bdcfa00685f66
-homepage            http://rgl.rubyforge.org/rgl
+checksums		    md5 a3711ebdab146e16f42136a39062c16e
+homepage            https://github.com/monora/rgl
 platforms		    darwin
 depends_lib-append  port:rb-stream
-extract.suffix      .tgz

Modified: trunk/dports/ruby/rb-sqlite/Portfile
===================================================================
--- trunk/dports/ruby/rb-sqlite/Portfile	2015-06-10 13:58:14 UTC (rev 137362)
+++ trunk/dports/ruby/rb-sqlite/Portfile	2015-06-10 14:39:12 UTC (rev 137363)
@@ -3,9 +3,7 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		{sqlite sqlite-ruby} 2.2.2 basic_install.rb \
-				{TODO ChangeLog api doc} \
-				rubyforge:1901
+ruby.setup		{sqlite sqlite-ruby} 2.2.3 gem {} rubygems
 maintainers		nomaintainer
 description		Interface to the SQLite DB engine from Ruby
 long_description	Provides an interface for the SQLite DB engine. This \
@@ -19,22 +17,7 @@
 					Note that this module is NOT compatible with SQLite3.
 categories-append	databases
 license			BSD
-use_bzip2		yes
-checksums		md5 274e30cab90f4941984ea5b3273ef058
+checksums		md5 ec4cdd775419f81b3314c0a7300f6d36
 platforms		darwin
 
 depends_lib-append		port:sqlite2
-
-post-patch {
-	reinplace "s|ruby extconf.rb|${ruby.bin} -rvendor-specific extconf.rb|" \
-		${worksrcpath}/install.rb
-	reinplace "s|make install|& DESTDIR=${destroot}|" \
-		${worksrcpath}/install.rb
-	reinplace "s|make|& RUBY=${ruby.bin}|" \
-		${worksrcpath}/install.rb
-}
-
-test.run		yes
-test.dir		${worksrcpath}/test
-test.cmd		${ruby.bin}
-test.target		tests.rb

Modified: trunk/dports/ruby/rb-stream/Portfile
===================================================================
--- trunk/dports/ruby/rb-stream/Portfile	2015-06-10 13:58:14 UTC (rev 137362)
+++ trunk/dports/ruby/rb-stream/Portfile	2015-06-10 14:39:12 UTC (rev 137363)
@@ -3,14 +3,13 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		stream 0.5 basic_install.rb {README test examples} rubyforge:639
+ruby.setup		stream 0.5 gem {} rubygems
+revision        1
 maintainers		nomaintainer
 license			{Ruby GPL-2}
 description		Extended External Iterators
 long_description	Extended External Iterators (forward and backward). \
                     Borrowed from Smalltalk stream concept where the name of \
                     the module comes from.
-checksums		md5 4be191f64efe17edc83e441beec51221
-homepage        http://rgl.rubyforge.org/stream
+checksums		md5 3e9dca987b799b1db4bd59dc713df8e9
 platforms		darwin
-extract.suffix  .tgz

Modified: trunk/dports/ruby/rb-text-format/Portfile
===================================================================
--- trunk/dports/ruby/rb-text-format/Portfile	2015-06-10 13:58:14 UTC (rev 137362)
+++ trunk/dports/ruby/rb-text-format/Portfile	2015-06-10 14:39:12 UTC (rev 137363)
@@ -3,8 +3,8 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		text-format 1.0.0 copy_install:lib {README} rubyforge:5006
-revision		0
+ruby.setup		text-format 1.0.0 gem {} rubygems
+revision		1
 maintainers		nomaintainer
 description		Text::Format for Ruby
 long_description	Text::Format provides strong text formatting \
@@ -14,8 +14,4 @@
 license			{Ruby Artistic-1 GPL-2+}
 categories-append	textproc
 platforms		darwin
-checksums		md5 c4403fe040aefd798ee3bd408be6db77
-
-test.run		yes
-test.dir		${worksrcpath}/tests
-test.cmd		${ruby.bin} testall.rb
+checksums		md5 7b08f134e605da252c23afedbb481beb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150610/9c8dfdd5/attachment.html>


More information about the macports-changes mailing list