A lot of the Ruby ebuilds have this general SRC_URI: # The URL depends implicitly on the version, unfortunately. Even if you # change the filename on the end, it still downloads the same file. SRC_URI="http://rubyforge.org/frs/download.php/1033/${P}.tgz" The file it downloads depends on the number 1033 rather than the package name, which makes changing the ebuild version difficult. In fact I sent in a couple ebuilds like that myself. The following is better though: SRC_URI="http://gems.rubyforge.org/gems/${P}.gem" I tested it with a couple packages and it works. Reproducible: Always Steps to Reproduce:
Oops, bad example, the first one doesn't download a gem, but a tgz. This only applies to the gems.
Thanks, I didn't know this existed. I almost started a letter-writing campaign a few times to beg rubyforge to change their url scheme.
tigger^ pointed this out to me on IRC two days ago. I didn't know about this URL either, but it seems like a good way to finally have Ruby ebuild that one can version bump! :) Here's a list of ebuilds that currently fetch a gem from a version dependent SRC_URI: actionmailer/actionmailer-0.8.1.ebuild actionmailer/actionmailer-1.0.1.ebuild actionmailer/actionmailer-0.7.0.ebuild actionmailer/actionmailer-0.9.1.ebuild actionmailer/actionmailer-0.8.0.ebuild actionmailer/actionmailer-0.6.1.ebuild actionmailer/actionmailer-0.7.1.ebuild actionpack/actionpack-1.4.0.ebuild actionpack/actionpack-1.5.0.ebuild actionpack/actionpack-1.6.0.ebuild actionpack/actionpack-1.8.1.ebuild actionpack/actionpack-1.7.0.ebuild actionpack/actionpack-1.9.1.ebuild actionpack/actionpack-1.5.1.ebuild actionwebservice/actionwebservice-0.6.0.ebuild actionwebservice/actionwebservice-0.8.1.ebuild actionwebservice/actionwebservice-0.6.2.ebuild actionwebservice/actionwebservice-0.6.1.ebuild actionwebservice/actionwebservice-0.5.0.ebuild actionwebservice/actionwebservice-0.7.1.ebuild activerecord/activerecord-1.10.1.ebuild activerecord/activerecord-1.9.0.ebuild activerecord/activerecord-1.11.1.ebuild activerecord/activerecord-1.6.0.ebuild activerecord/activerecord-1.7.0.ebuild activerecord/activerecord-1.9.1.ebuild activerecord/activerecord-1.8.0.ebuild activesupport/activesupport-1.0.2.ebuild activesupport/activesupport-1.0.4.ebuild activesupport/activesupport-1.0.1.ebuild activesupport/activesupport-1.0.3.ebuild activesupport/activesupport-1.1.1.ebuild activesupport/activesupport-1.0.0.ebuild color-tools/color-tools-1.2.0.ebuild facets/facets-0.7.2.ebuild facets/facets-0.6.3.ebuild glue/glue-0.22.0.ebuild jabber4r/jabber4r-0.8.0.ebuild nitro/nitro-0.22.0.ebuild og/og-0.22.0.ebuild pdf-writer/pdf-writer-1.1.1.ebuild rails/rails-0.12.1.ebuild rails/rails-0.11.1-r1.ebuild rails/rails-0.10.0-r1.ebuild rails/rails-0.9.5.ebuild rails/rails-0.13.1.ebuild rails/rails-0.11.0-r1.ebuild rails/rails-0.10.1.ebuild rake/rake-0.4.15-r1.ebuild rake/rake-0.5.3.ebuild redcloth/redcloth-3.0.3.ebuild ruby-breakpoint/ruby-breakpoint-0.5.0.ebuild rubygems/rubygems-0.8.10.ebuild syntax/syntax-0.7.0.ebuild transaction-simple/transaction-simple-1.3.0.ebuild I think it would be best when switch to the new SRC_URIs while doing the next version bump and slowly cleaning out the older versions. There's no real need for revision bumps I'd say. Shall we close this bug with a resolution of "LATER" as this is an incremental process?
Status update. The following are those that need update jabber4r/jabber4r-0.8.0.ebuild redcloth/redcloth-3.0.3.ebuild ruby-breakpoint/ruby-breakpoint-0.5.0.ebuild transaction-simple/transaction-simple-1.3.0.ebuild These don't because there are newer versions with correct url already: facets/facets-0.6.3.ebuild syntax/syntax-0.7.0.ebuild
ruby-breakpoint-0.5.1 was released on June 6. A new ebuild, well version bump, incorporating this url change would be useful. It may be helpful to note using ruby-breakpoint with ruby-1.8.5_p2 requires a workaround from: http://rubyforge.org/tracker/index.php?func=detail&aid=4897&group_id=559&atid=2228
(In reply to comment #5) > ruby-breakpoint-0.5.1 was released on June 6. > > A new ebuild, well version bump, incorporating this url change would be useful. This place is not a good place to make a bump request because I will forget it soon. Please open a new bug (preferably with ebuild submission)
ruby-breakpoint has been converted to this new SRC_URI (and bumped).
I've bumped transaction-simple and redcloth, and updated the src_uri for jabber4r as it was the last package left.